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

sxpg_command_execute exit code

Former Member
0 Likes
1,371

Hi,

I used function SXPG_COMMAND_EXECUTE in an abap program.

During runtime, the function is returning an exit code of 1, although sy-subrc = 0.

exec_protocol is showing the error "> Function: BtcXpgPanicCan't exec external program (No such file or directory) External program terminated with exit code 1".

There are no authorization errors.

I have authorization to execute the command in sm49 and sm69 and the command can be executed

successfully through these transactions.

Any reason why ?

Thanks. Will award points promptly.

2 REPLIES 2
Read only

Former Member
0 Likes
720

hi ,

goto the tcode st22 for the error analysis ...from there u may get some information for it...

regards,

venkat.

Read only

0 Likes
720

The program does not terminate or produce any errors. Therefore going to st22 is not useful.