Skip to Content

Outbound IDOC triggers script and race condition

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers