Skip to Content

Outbound IDOC triggers script and race condition

Dec 23, 2016 at 08:37 AM


avatar image

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?

we21-config.png (50.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers