Skip to Content
Former Member
Oct 24, 2011 at 05:09 AM

Cannot run SM69 external commands from application server



We have an ABAP program that calls an external command defined in SM69.

When I am logged in the Central Instance, I can execute this program without any problems.

But when I am logged in the application server, the ABAP program fails in the part where the ABAP program calls the external command.

Strangely, when I execute manually (via SM69) the external command, it runs without any problems.

It's just that when it is being called via the ABAP program, the external command fails to be executed.

Here's the error message in SM21:

Error 503 when executing external command on (xpgid=0, convid= )

Here's the details in the trace file:

SXPG_COMMAND_CHECK: user XXX has no authority for command ZPROGRAM