Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Run Operating System Command Before Message Processing

Hello,

I have idoc to file scenario.The target file should have an header line. so then i have an exe for Run Operating System Command Before Processing in receive adapter. How can i call this exe in "Run Operating System Command Before Message Processing" and what is path format Run Operating System Command Before Message Processing?

Thanks in Advance,

Nurhan

Former Member
Former Member replied

You need to put the Script on a directory in your PI Server.

In "Run Operating System ...." field, you can call your Shell Or BatScript like follow:

UNIX

sh /directory_path/shell_script.sh

WINDOWS

cmd.exe c:/directory_path/bat_script.bat

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question