cancel
Showing results for 
Search instead for 
Did you mean: 

Run Operating System command before and after message processing

Former Member
0 Kudos

Hi Experts,

what is the functionality of Run Operating System command before and after message processing and if possible please give me an example...

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member183906
Active Contributor
0 Kudos

To give a simple example suppose you have have a requirement to execute a system / os level command before or after a file is processed for some further operation then wht will you do ? Solution is that you specify the command to be executed in COMMAND LINE parameter.

One of the best examples is demonstrated by Michall where you have to zip a target file but don't want to use payloadzip bean then you can use command at the system level which can do the job.

Have a look here under "Run Operating System Command Before/After Message Processing"

http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

former_member537867
Active Contributor
0 Kudos

Hi,

Run Operating System Command Before/After Message Processing:

Command Line

The operating system command specified here is executed before or after successful file processing. The default value is an empty character string (no command).

When the operating system command is called, the file name currently being processed can be specified with the following placeholders:

%f (file name)

%F (absolute file name including path)

Check these blogs you have examples for OS command:

Run Operating System Command Before/After Message Processing -

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Also to catch errors -

Regards,

Vinod.

Former Member
0 Kudos

Hi Mahakrishnan,

chk the below link it si very help

full'''http://help.sap.com/saphelp_nw04/helpdata/en/27/cbdf3b8dc95136e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a60af505211d189550000e829fbbd/frameset.htm

Regards

Sampath

Former Member
0 Kudos

Hi

Run Operating System command before and after message processing

check the below link .

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature

Regard's

Chetan Ahuja