Skip to Content

Use of the function u0093SXPG_COMMAND_EXECUTE"

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.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 10:49 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.