cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound IDOC triggers script and race condition

0 Kudos

I have configured an outbound IDoc to trigger a shell script on the application server which forwards the message to an external party (transaction WE21, tab outbound: Trigger). This works fine in normal situations but if two IDocs are created at nearly the same instant in time, two versions of the shell script run simultaneously which can cause a race condition.

Is there a way to configure the port to wait for the shell script (Command file) to terminate before processing the next IDoc? Alternately, is there a way to pass the IDoc number of calling process to the shell script?

Accepted Solutions (0)

Answers (0)