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: 

SXPG_COMMAND_EXECUTE cmd COPY

Former Member
0 Kudos

Hi All!

In SM49 we defined 2 commands, one for moving (cmd /c MOVE) a file and the other one for copying (cmd /c COPY) one.

My user is allow to move files but not copying them into the same directory. Or at least looks like that.

In SM49 we defined

ZCOPY Windows NT Customer cmd /c COPY

ZMOVE Windows NT Customer cmd /c MOVE

The move command seems to be working fine but then I get a permission error for the move.

Any idea if it is rights or cause the file was used for moving just before the Copy?

Any idea?

Thanks.

1 REPLY 1

Former Member
0 Kudos

The problem was that in SM59 the user didn't have access to execute the command Copy even though it has authorization to the object.