on 08-12-2008 2:32 AM
Hi Gurus,
Im trying to execute a OS Command inside the file adapter.
Its a .exe file which I have written. The exe file will take in 2 parameters.
I entered this in the OS Command
F:\test\run.exe test.xml output.txt
However, it seems that the command is not be executed. Am I missing anything?
Thanks in advance.
HI,
Exe file will work put some time delay in function or check with basis people weather you have rights to execute exe file or not. If problem is same after above checks choose batch command .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer these blogs:
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Its is better you write the code in the batch file (.bat) and call the batch file at runtime rather than using .exe file
Regards,
Nithiyanandam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try the way what Swarup advised,
If you still have other requirements with Operating System command execution then plz go through the
SAP Note: 841704 OS Operating System Command.
Best Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Instead of writting this to execute the exe. file. You can write same code in one .bat file and just call that bat file from OS commad parameter. It will work.
Thanks
swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.