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

Call External command from sap

Former Member
0 Likes
416

Hi All,

I have a requirement. I need to run a exe file through sap (This exe file is a third party software - coreFTP) and need to pass the value like username,password,source file path and destination file path.

I have created a command in SM49.

How to do this?

pl. guide.

Regards,

Vidhya

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
389

Use FM SXPG_COMMAND_EXECUTE. Please also use search before posting.

Read only

gastn_jareo
Active Participant
0 Likes
389

If EXE is in the client use class CL_GUI_FRONTEND_SERVICES, method EXECUTE.

Regards!