Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WS_FILE_COPY issue.

Former Member
0 Kudos
287

Hi all:

I used the function WS_FILE_COPY to copy file from source file to destination.

It is a foreground job function excute by user`s ID ,

but some users don`t have the authority to write file to the destination folder , so the job fail.

Is it possible to get enough authority to write file by another account in abap for all user?

THX!

1 REPLY 1
Read only

Former Member
0 Kudos
186

Hi

You can check the authorization for the user who is running the job. You can take help of your basis team to get the authority object or if you know the authority object.

If the user is not having authorization, then display an error message and stop the execution.

[More info|http://help.sap.com/saphelp_nw04/helpdata/en/5f/ff2138faeb3807e10000009b38f889/content.htm]

[;

Shiva