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.
Showing results for 
Search instead for 
Did you mean: 

Use of the function u0093SXPG_COMMAND_EXECUTE"

0 Kudos

Hello Friends,

Can anybody explain me what is the use of the function “SXPG_COMMAND_EXECUTE" in the ABAP programs.

I know this is related to external commands.




Former Member
0 Kudos

One way that we use SXPG_COMMAND_EXECUTE is to call UNIX Scripts. Here is an example scenario.

We retrieve files from outside service providers. The files are normally encrypted. Our programs first call a UNIX FTP Script, and then call a second UNIX Decryption scrity.

To use SXPG_COMMAND_EXECUTE you first have to create a logical command in SM69. Here you create a command name and in our case we link it to a UNIX Script.

Then you use your logical command to call the function module.

Hope this information Helps.

Best Regards,

Chris H.

0 Kudos


Can anyone help me with any documentation to carry out this scenario.