cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Pakage - Sender Agrement & Communication Channel

Former Member
0 Kudos

Hi Experts,

I have the following situation

We have a ERP system sending IDocs to PI System, we have default package size of 1 in partner profile of ERP system.

When we set the size to 20 in sender communication channel, will PI wait until 20 messages arrives from ERP system and do processing as single XML message?

Thanks in advance

Alex.

Accepted Solutions (0)

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

do have a look into this to get a better understanding

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

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Hi Takeoff

Pi will not wait. ERP will package the number of IDocs you define in the partner profile. when the number of idoc is reached then ERP send the Idocs to PI.

Thanlks

Rodrigo

Former Member
0 Kudos

FIrst things first,

we dont create sender agreement & sender CC in IDOC, when recieving the idoc from ERP system.

There is no option to mention "size" in sender idoc adapter.

refer link,

When we set the size to 20 in sender communication channel, will PI wait until 20 messages arrives from ERP system and do processing as single XML message?

To achieve this, either, we need to go for BPM or also there are ways to achieve this without BPM.

usefull link,

-santosh.

Former Member
0 Kudos

Hi Santosh,

Perhaps my message subject confusing with content.

As I said, in ERP system (Partner Profile) IDoc size is 1 (default) and messages sent immediately. Now in PI system if we set size 20 in IDcoc adapter, will PI wait until 20 messages arrives to do processing.

Thanks,

Alex.

Former Member
0 Kudos

There are three conditions that can be configured:

1. Number of messages

2. Period of time waiting for more messages

3. Size of the package (considering messages payloads)

You can configure them all together to have something like: "Fill the package with up to 20 messages, but don't exceed 1 minute waiting or 2mb of content". Otherwise, just configure 20 messages and it will wait until 20 IDOC messages are ready to be sent.

EDIT: Since 7.1+ versions the IDOC packaging uses the same Packaging as other messages on PI, please refer to the note below.

[Note 1037176 - XI Runtime: Message Packaging|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1037176]

" You can adapt the packaging to meet your needs by setting certain package parameters in the configuration using transaction SXMS_BCONF:

- Message count (maximum number of messages in a package)

- Maximum package size (sum of all message sizes in kilobytes)

- Delay time (time to wait before the queue is processed if the number of messages does not reach the message count)"

Former Member
0 Kudos

Hi,

PI will not wait for the idocs count which set in PI system..

It will be treated as below.. if you set PI package size as 10.

1, If ECC packet size is also 10 then PI will process all 10 idocs in one XI Message.

2. If ECC packet size is greater than 10 then in PI idocs will be splitted into multiple XI messages where each message contains 10 idocs..

3. If ECC packet size is less than 10 then PI will process irrespective no of idocs received from ECC.

Hope the above clarifies your query.

Rajesh