Application Development 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: 

WS_FILE_COPY issue.

Former Member
0 Kudos
163

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

Former Member
0 Kudos
62

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