07-03-2007 5:04 PM
Hi Friends,
Can we run a C program or any External program residing on different system from ABAP ?
Please let me know, its urgent.
Thanks,
Arshad
07-03-2007 5:15 PM
Hi
Yes, I think we can run it from ABAP, provided if both are connected with a proper Interface
Reward points for useful Answers
Regards
Anji
07-03-2007 5:15 PM
Hi
Yes, I think we can run it from ABAP, provided if both are connected with a proper Interface
Reward points for useful Answers
Regards
Anji
07-03-2007 5:28 PM
Try using the function module below:
call function 'RFC_REMOTE_PIPE' destination 'SERVER_EXEC'
exporting
command = w_command
read = 'X'
tables
pipedata = it_ret
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5
07-03-2007 5:28 PM
Yes it is possible,need to have RFC Connection
Check with below Links :
http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f039a4b9b11d189750000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f04624b9b11d189750000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f038d4b9b11d189750000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f047c4b9b11d189750000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f03c14b9b11d189750000e8322d00/frameset.htm
Thanks
Seshu
07-03-2007 6:23 PM
Hi,
You can use CL_GUI_FRONTEND_SERVICES->EXECUTE to start an external application from SAP.
Reward points if the answer is helpful.
Regards,
Mukul