on 12-18-2008 10:46 AM
Dear All,
I am trying to invoke a Batch file in the Receiver File Adapter after Message processing.
The Batch file is not at all getting invoked at all. i dunno whats the reason. Please help.
Below is the Format in which i gave the batch file:
F://Test//prakash//Endseperator.bat %F
then i tried:
F:\Test\prakash\Endseperator.bat %F
then i tried
F:
Test
prakash
Endseperator.bat %F each folder seperated by '
' whixh cannot be seen here.
below is the batch file content of Endseperator.bat :
F:
cd "Test\prakash"
java Endseperator "%F" "%F"
Its working perfect when i manual execute the batch file. But i am not able to invoke via Receiver file Adapter.
Please Advice.
Regards,
Senthilprakash.
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:47 AM
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:48 AM
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:49 AM
Hi Senthilprakash,
I guess you must know that the batch file must exist on the XI server, not on your local machine.
if yes, try with one / like:
F:/Test/prakash/Endseperator.bat %F
Make sure the user <sid>adm (in case of Unix) or SAPService<SID> (in case of windows) has the execution right of your program.
Jayson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil,
Since you are putting Run OS command after Message processing : it means the command will be invoked after the data is put in the receiver Server/Folder.
Hence the batch file must be placed in the receiver server or in the reciver folder(Pointing to the Target Location).
Thanks,
Goutham
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.