开发者

How to set file owner to Logged in user?

开发者 https://www.devze.com 2022-12-08 01:23 出处:网络
When creating a file using OPEN DATASET, SAP creates the File with the owner as <sysID>adm. How t开发者_JAVA技巧o set this as the logged in user?I believe you would need to create an External OS

When creating a file using OPEN DATASET, SAP creates the File with the owner as <sysID>adm.

How t开发者_JAVA技巧o set this as the logged in user?


I believe you would need to create an External OS Command in SM69 for CHOWN (or similar) and then execute that (use FM SXPG_COMMAND_EXECUTE) after you've finished creating the dataset.


You can NOT set SAP user as owner of some file. SAP user is not a user in UNIX. More exact answer can be given if you would specify your requirements.

0

精彩评论

暂无评论...
验证码 换一张
取 消