The PowerCenter Integration Service sends IDoc messages to SAP as a packet. By default, SAP allows packets up to10 MB. The SAP administrator can change the packet size configuration. When you configure how the PowerCenter Integration Service sends IDocs, configure the packet size to be equal to or less than the packet size configured in SAP.
Select one of the following options for the Send IDocs Based On property in the session properties:
Packet Size.
The PowerCenter Integration Service sends IDoc messages based on the value in the Packet Size property.
Commit Call.
The PowerCenter Integration Service sends IDoc messages at every commit point.
When you send IDocs based on packet size, the PowerCenter Integration Service stores the IDoc messages in memory until the total count reaches the packet size. It then sends the messages as a packet to SAP. A larger packet size reduces the number of calls to SAP. However, if the session fails, the PowerCenter Integration Service must resend a larger amount of data in the next session.
Calculate the value for the Packet Size session property based on the packet size configuration in SAP and the maximum number of rows per IDoc message that you expect to send to SAP. For example, you configured SAP to handle a packet of 10 MB. One row in an IDoc message is equal to 1,000 bytes. You are sending IDoc messages that contain a maximum of 50 rows. Set the Packet Size property to 200.
When you send IDocs based on commit call, the PowerCenter Integration Service commits IDocs to SAP based on the commit properties of the session. To ensure that the commit occurs at the IDoc message boundary, use a user-defined commit. The PowerCenter Integration Service commits IDocs based on transactions you define in the mapping properties. If you use a source-based commit, the PowerCenter Integration Service may send partial IDocs to SAP.