cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 EHP1 : IDoc packaging

former_member207622
Contributor
0 Kudos

Guys

I am currently on PI 7.1 EHP1 , Trying to do Idoc packaging for one scenario , I am not sure what size I have to put in the tab

( IDoc package size ) in sender IDoc channel . I also donot know the frequency of IDocs . I saw one video in it it was told that the package size shouldnot exceed 2MB size .

Please help in this regard

Regards

Ninad

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

You have to specify the how many IDocs to be composed as one IDoc-XML message,there is no particular number from SAP, it depends on your requirement.

Regards,

Raj

former_member207622
Contributor
0 Kudos

Shabarish /Raj,

That means say If I dont know howmany IDocs will be triggered from ECC , I can put in as a number which is say maximum

in my case lets say 1000 , ( Idocs will always be less then 1000 ) is it ?

rajasekhar_reddy14
Active Contributor
0 Kudos

You can specify number 1000, all 1000 IDocs will be send it as one message,but my suggestion better to give 100 like that,because 1000 IDocs size will HIGH,you may face some performace issues.

Regards,

Raj

Former Member
0 Kudos

Hi,

yes your understanding is correct...even if you send idocs less than 1000 all will be processed in one message of PI....

but its better to handle them in multiple packets rather than having all of them in one..which i think will have impact on the resource handlings...it will help in case of failures also...

consider the failure cases also while setting the packet size in adapter...

Gud luck

Rajesh

Former Member
0 Kudos

Hi Ninad,

I had used IDOC packaging in one of my scenario, which is very similar to yours. I dont know how many idoc are coming from source system. I put 100 in the IDOC package size parameter. when you put 100 in this parameter it will create a file wil maximum 100 idocs if your system is sending more than 100 than it will create send file

For example from source system you are getting 150 idocs so 2 files will be created

file1 conatins 100 idocs, file2 contains 50 idocs

Regards,

Shradha

former_member207622
Contributor
0 Kudos

Thanks Raj / Shabz

I ll try this and update the thread

regards

Ninad

former_member207622
Contributor
0 Kudos

@ shradha

what if I donot wish to have 2 files at the target , because as per business all relevant data should be in the same file

regards

Ninad

Former Member
0 Kudos

In that case you should know how many idocs are coming a rough idea (which might be difficult for u) and than you can give the maximum limit.

Other option is use CCBPM to achieve this, the step will wait for all the idocs and create a single file . But remember it will affect your performance but monitoring will be easy for you.

Regards,

Shradha

former_member207622
Contributor
0 Kudos

Thanks

I ll discuss this limitation with functional , I donot wish to use BPM that is why went for this option

I ll update the thread later

regards

Ninad

former_member207622
Contributor
0 Kudos

Thanks , The issue is solved , the number of IDocs is limited to a maximum of 100 per trigger , No generation of another file is allowed .

Regards

Ninad

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

ref: /people/shabarish.vijayakumar/blog/2010/01/22/idoc-packaging--sap-pi-71-ehp1-and-above