SAP Tips – IDoc Commit and Packet Size

Program – RBDAPP01

Use - Inbound processing of IDocs

Tip - Packet Size – (Field- EDP13-PCKSIZ)

When using a number greater than 1 the commit only happens after ALL the IDocs in the packet have been processed.

So this means that if you have any logic which for example: uses an import transaction ID from memory, in any logic within the process, the system will not be able to determine the variable value to import from memory as the value will be constantly overwritten. Another possible (but I have not tested to prove) (If anyone has tested it please leave a comment) example is – in Orders Inbound processing – if more than 1 sales document refers to the same quantity contract and is in the same packet. Both sales documents can consume the entire quantity of the contract, as the reference is done in the transaction but the commit, which reduces the available quantity of the contract, only happens at the end of processing of the packet. To reduce the threat of these issues occurring simply use a packet size of 1.

2 Comments

  1. Sachin January 11, 2011 at 9:51 pm · Reply

    Awesome tip. Thanks. n

    • Glynn Williams January 30, 2011 at 6:08 pm · Reply

      Pleasure to help, thanks for the feedback.

Leave a Reply