ECC receives Inbound Idocs from XI to create or update Shipments. If shipment already exists then XI sends 3 different idocs: the first one to set shipment status to 0, the second to unassign deliveries from shipment, and the third with data for update.
All idocs are sent from XI sequentially. In Partner profile we use option 'trigger immediately'.
Usually Idocs are processed in the order as they were sent from XI. But sometimes the second idoc is processed first.
Could you please tell me what happens when Idocs came to ECC? Is every idoc being processed by separate program (is it RBDAPP01) in a separate process? and how can I make ECC to process idocs in the correct order?