cancel
Showing results for 
Search instead for 
Did you mean: 

File Receiver Adapter Batch File Not Invoking:

Senthilprakash1
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)