You are on page 1of 5

SAP Network Blog: IDoc Package processing using sender IDoc adapter i...

http://weblogs.sdn.sap.com/pub/wlg/16741

Blogs

IDoc Package processing using sender IDoc adapter in PI EhP1


Pravesh Puria Business Card Company: SAP Posted on Nov. 18, 2009 11:35 PM in SAP Process Integration (PI)
In PI, IDoc packages received from SAP application system are split and each IDoc is processed separately. In order to regroup the IDocs or to avoid package splitting there can be different approaches.

Subscribe Print Permalink

From Enhancement Pack 1 onwards a new option to process IDoc packages in PI is available. On enabling this the IDoc packages received from the sender system are not split and are sent to the IE as a package for further processing. In order to use the same following configuration steps are needed. a) Necessary Configuration in SAP Application system: i) IDoc collection and Package size needs to be configured in the partner profile -

b) Necessary Configuration objects in PI: i) A Sender channel of type IDoc needs to be configured -

1 of 5

3/15/2010 7:03 PM

SAP Network Blog: IDoc Package processing using sender IDoc adapter i...

http://weblogs.sdn.sap.com/pub/wlg/16741

ii) Sender Agreement for the sender channel needs to be configured. Processing status of the IDoc package as viewed in IDoc adapter monitor - transaction code IDX5:

Package details as viewed in transaction code SXMB_MONI:

2 of 5

3/15/2010 7:03 PM

SAP Network Blog: IDoc Package processing using sender IDoc adapter i...

http://weblogs.sdn.sap.com/pub/wlg/16741

Message details as viewed in transaction code SXMB_MONI:

For mapping purpose the IDoc xsd needs to be modified to change the occurrence of the IDoc node. This feature is only applicable in cases wherein the IDocs have been sent in packages from the sender system. IDoc packages received from the sender system are not split into individual IDocs given that the package size in sender system partner profile and in sender IDoc channel are the same. If the package size in the sender system partner profile is greater than that specified in the sender IDoc adapter then the incoming package is split accordingly and the remaining IDocs are processed as part of another message in PI. If the package size in the sender system partner profile is less than that specified in the sender IDoc adapter then the incoming packages are processed individually and there is no clubbing of packages in PI.

3 of 5

3/15/2010 7:03 PM

SAP Network Blog: IDoc Package processing using sender IDoc adapter i...

http://weblogs.sdn.sap.com/pub/wlg/16741

This feature does not enable collection of IDocs, ie - IDocs received individually are processed separately.

Pravesh Puria is a SAP PI resource.


Add to: del.icio.us | Digg | Reddit

Comment on this weblog Showing messages 1 through 8 of 8. Titles Only How about Error Handling 2009-11-26 07:41:33 Rajesh Kumar Business Card [Reply] if one particular idoc fails at some step of processing like mapping step...how we need to handle the same...do we need to reprocess the entire package..or is there any other option for the same Thanks and Regards Rajesh How about Error Handling 2009-11-26 20:28:41 Pravesh Puria Business Card [Reply] Main Topics Oldest First

All IDocs in the package are part of one single PI message, rather than looking at it as separate IDoc in case of error it needs to be dealt with as is done for a PI message. Nice Blog Pravesh...!! 2009-11-24 09:22:32 Pushkar Anand Business Card [Reply] Its very helpful in improving the overall performance. Regards, Pushkar Good work 2009-11-19 21:43:18 Rao Mallikarjuna M Business Card [Reply] Thanks for sharing. Regards, Mallikaruna Rao M Nice Blog 2009-11-19 21:19:51 Jaganmohan Ponnusamy Business Card [Reply] Dear Pavesh, A very nice and interesting blog. Thanks.

Regards, Jagan. also in a book :) 2009-11-19 04:05:50 Michal Krawczyk Business Card [Reply] hi, this feature is also described in my book: "Mastering IDoc Business Scenarios with SAP NetWeaver PI" http://www.sap-press.com/product_basic.cfm?account=&product=H3059 if anyone would be interested

Regards,

4 of 5

3/15/2010 7:03 PM

SAP Network Blog: IDoc Package processing using sender IDoc adapter i...

http://weblogs.sdn.sap.com/pub/wlg/16741

Michal Krawczyk Sender Package Size 2009-11-19 02:23:09 Niki Scaglione Business Card [Reply]

Hello, Since on PI side the package is calculated again using Communication Channel parameter, it should be better to set higher value on partner profile (e.g. 500).

Do you agree?

Kind Regards, Niki Sender Package Size 2009-11-19 03:56:48 Pravesh Puria Hi, Yes one can set the package size in the partner profile to a higher count. Business Card [Reply]

Regards, Pravesh.

Showing messages 1 through 8 of 8.

5 of 5

3/15/2010 7:03 PM