IDoc Package processing using sender IDoc adapter in PI EhP1
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.
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 –
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:
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.
This feature does not enable collection of IDocs, ie – IDocs received individually are processed separately.
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
Yes one can set the package size in the partner profile to a higher count.
Regards,
Pravesh.
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,
Michal Krawczyk
A very nice and interesting blog. Thanks.
Regards,
Jagan.
Regards,
Mallikaruna Rao M
Regards,
Pushkar
Thanks and Regards
Rajesh