cancel
Showing results for 
Search instead for 
Did you mean: 

Script not running from Receiver file adapter

Former Member
0 Kudos

Hi PI Gurus,

I have passed in command line - cmd.exe /C u201Cf:\usr\sap1\TBD_script\test.batu201D

but the script is not getting triggered. Am I missing anything? Pl guide me.

Thanks,

Krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

is PI running on Windows based server?

Former Member
0 Kudos

Hi All,

Thanks to all of you for your valuable inputs.

PI is running on windows.

Till yesterday I was not having access to the folders where the the batch file was placed on the server. after having access

& running the interface I could see the script triggered successfully.

How come the user is saying it is not triggiring? They run the script mannually.

Probably the script name is wrong in CC.

One more problem I see in RWB of PRD that this interface CC is in schedule state in message monitoring. Can anyone suggest

why only this CC is coming in schedule state.

Thanks,

Krishna

anupam_ghosh2
Active Contributor
0 Kudos

Hi Krishna Chauhan,

Could you please try again with this string u201Cf://usr//sap1//TBD_script//test.batu201D.

I think this should work.

Regards

Anupam

former_member181962
Active Contributor
0 Kudos

Hi Krishna,

Check if you can run this shell script directly on your target file system.

If you do not get any error, then you can try and do it from PI system:

Refer these blogs and see if it helps:

/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi

http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

Best Regards,

Ravi