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

Running a shell script from ABAP

Former Member
0 Likes
2,879

Hi

My recuriement is to run a shell script from SAP.I used the 'CALL SYSTEM' command and its working perfectly while I am debugging. But the problem is while I am executing directly the report without debugging I am not able to get the result. The shell script is not fetching the desired output.

Regards

Step

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,403

Not sure if it's the same thing, but we've always used the FM SXPG_COMMAND_EXECUTE and the commands maintained in SM69 transaction to run any external scripts. It worked fine in the background or foreground.

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,404

Not sure if it's the same thing, but we've always used the FM SXPG_COMMAND_EXECUTE and the commands maintained in SM69 transaction to run any external scripts. It worked fine in the background or foreground.