2010 Sep 27 12:11 PM
Hello,
I'd like to execute a script on a remote Windows Server from a Sap Unix AS. Using the user adm on Unix and the rexec command, I can execute my script on the Windows server without problem. Access have been granted.
How can configure a Sm59 Rfc destination with an explicit host, Sapxpg,... in order to execute the same script via the transaction sm49.
Thank you in advance
Philippe Grégoire
Hello,
I'd like to execute a script on a remote Windows Server from a Sap Unix AS. Using the user adm on Unix and the rexec command, I can execute my script on the Windows server without problem. Access have been granted.
How can configure a Sm59 Rfc destination with an explicit host, Sapxpg,... in order to execute the same script via the transaction sm49.
Thank you in advance
Philippe Grégoire
2010 Sep 27 12:43 PM
Hi Philippe,
Why do you need a specific RFC destination if you call the command from the underlying OS?
Best regards,
Guillaume
2010 Sep 27 1:50 PM
Hi,
You can create OS command in SM49 and run the script from your Unix server and transfer the file through FTP server to windows server.
Another option is you can have RFCsdk folder and RFCEXEC.exc file at your windows server and through SM59 create an RFC with windows server by giving explicite host and ID.
call this RFC in the program using FM 'RFC_REMOTE_PIPE'.
If you could Elaborate your question then it will be easy for us to guide you.
2010 Sep 27 2:00 PM
Hi Guillaume,
Thank you for your fast answer. Using the os level command rexec was only to check the access. I have to introduce the password at each test.
Best regards
Philippe Grégoire
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |