cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Packaging

Former Member
0 Kudos

Hi all,

We are facing an issue while implementing IDoc packaging in "SAP ECC -> PI 7.1 -> File" scneario. It's required that SAP ECC sends multiple IDocs in a single message i.e. SXMB_MONI in PI should show multiple "IDoc" elements within single parent element.

We have followed SAP Note 814393 (changing occurrence of "IDoc" node to "unbounded" in the standard IDoc schema) and also done the config in WE20 partner profile of SAP ECC system. However, the IDocs are still coming as separate messages. We have seen couple of blogs and SCN threads on this topic, but not able to get the exact info. Can someone clarify what other steps are required to enable IDoc packaging ?

Regards,

- Shankar

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

You dont need to change anything like IDoc occurance when you are dealing with sender scenarios.

1)Partner profile configurtaion for IDoc should be chnaged to collect IDocs,and enter package size.

2)Create IDoc sender communictaion channel and enter package size what you have entered in Partner profile,create sender agreement.

3)Whenever you create a IDoc in ECC it goes to Status 30,i.e All IDocs in colect mode.

4)Execute report RSEOUT00 in ECC[se38-->enter report name-->give IDoc number range) and execute.

it works, but in production system you have to execute RSEOUT00 report using some back gorund program.

Regards,

Raj

Former Member
0 Kudos

Thanks Raja.. The issue has been resolved. We had already done other activities you mentioned. We then removed IDoc occurrence change and the interface worked.

Answers (3)

Answers (3)

Former Member
0 Kudos

We are facing an issue while implementing IDoc packaging in "SAP ECC -> PI 7.1 -> File" scneario.

step1:

first you have to provide idoc pkg size in WE20 partner profile  and select radio button Collect idocs for output mode .

step2:

You can define a package size in the adapter. The package size defined here will be used to create IDoc packages in PI . and refer below blog for further information :

http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/01/22/idoc-packaging--sap-pi-71-ehp1-an...

PriyankaAnagani
Active Contributor
0 Kudos

Hi,


Though you've collected the messages in ECC(WE20), the sender IDoc adapter will split them into individual PI messages. For IDcoc packaging, create IDOC sender communication channel and specify the packet size. But for the IDoc adapter to be able to process the packages, it should receive the messages at once i.e. in  ECC partner profile enable collect Idocs and specify the packet size.

Regards,
Priyanka


baskar_gopalakrishnan2
Active Contributor
0 Kudos

Refer Michal's blog and his reply on this thread

http://scn.sap.com/message/13159977