Blogs

IDoc Package processing using sender IDoc adapter in PI EhP1
Pravesh Puria SAP Employee 
Business Card
Company: SAP
Posted on Nov. 18, 2009 11:35 PM in SAP Process Integration (PI)

Subscribe.Subscribe
Print. Print
Permalink Permalink
Share

     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 -

 

       image

 

   

 

   b) Necessary Configuration objects  in PI:

 

      i) A Sender channel of type IDoc needs to be configured -

 

         image

 

  

      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:

 

 

image

 

  

 

Package details as viewed in transaction code SXMB_MONI:

 

 

image

 

 

 

Message details as viewed in transaction code SXMB_MONI:

 

 

image

 

 

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.

 

Pravesh Puria   is a Business Objects Data Services / SAP PI / WebDynpro ABAP resource.


Comment on this article
Comment on this weblog
Showing messages 1 through 8 of 8.

Titles Only Main Topics Oldest First

  • How about Error Handling
    2009-11-26 07:41:33 Rajeshkumar pasupula 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 SAP Employee Business Card [Reply]

      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
    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,
    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


Showing messages 1 through 8 of 8.