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

Execute .cmd command file on application server

Former Member
0 Likes
914

Hi all,

I have written a dosprogram with .cmd trigger that i want to execute via an ABAP statement. Is there a function module that can execute this specific command file on the server?

If so, can someone send an example of such a coding?

Thanks in advance for your reply!

Best regards,

F. Geldof

Moderator message: FAQ, please search for available information before asking.

locked by: Thomas Zloch on Sep 14, 2010 11:46 AM

2 REPLIES 2
Read only

Former Member
0 Likes
674

Hi F. Geldof,

- Create a command in SM69

- Execute the command using the function module: SXPG_COMMAND_EXECUTE

[Refer to this program|http://saplab.blogspot.com/2007/10/sample-abap-program-to-execute-unix.html]

Thanks,

Duy

Read only

Former Member
0 Likes
674

by Function module GUI_RUN you can run any windows application or file.