‎2008 Aug 28 11:00 AM
Hi
i want to execute the ext command using RFC_REMOTE_EXEC .
i have used like below in WINDOWS XP:
data: v_cmnd(120) type C VALUE 'dir C:\SAP\rfcsdk\bin >RFEXEC -D ESM_R'.
call function 'RFC_REMOTE_EXEC' destination D_DESTI
exporting
command = v_cmnd
exceptions
system_failure = 1 message D_ERMSG
communication_failure = 2 message D_ERMSG.manually at command line the program getting registerd but
not throuergh RFC_REMOTE_EXEC
in v_cmnd what is the exact value we have to give
Regards
‎2008 Aug 28 11:05 AM
you create the command in SM69 with some name and Directly give the Same name when you are executing.
Check this Function also.
SXPG_COMMAND_EXECUTE