Skip to Content
Apr 05, 2017 at 09:26 AM

External command to execute Batch file in Windows REMOTE desktop

2560 Views Last edit Apr 05, 2017 at 10:16 AM 3 rev

we have to execute a external command from SAP server to trigger a batch file placed in remote desktop.

Our basis consultant successfully created a RFC TCP\IP connection in SM59 by the standalone gateway in the remote desktop.


SAP server running in Linux OS

Batch file placed in Windows OS as a Remote Desktop.

Now the question is how to frame the external command in SM69 to trigger the batch file in the windows machine by using the RFC connection ?

As we tried external commands is runnnig at OS level accepting only Linux commands

if we give a directory path as the external command and executing using the RFC connection it is always failing ... do we need to enable anything or write windows compatible shell command . Please suggest if this is workable ..