cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple IDOCs

Former Member
0 Kudos

I have a PO IDOC. I know that an IDOC will have Control, Data Records and Status Records

To send one PO IDOC this could be the structure

Control Record (1..1)

Data Record (1...n) To have multiple line items

Status REcords(1..n)

To have the Multiple IDOCS what would be the structure look like?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Hi,

For Outbound , generally if you use BPM, IDOC will be received one at a time in XI. SO in BPM you need to collect and proceed further. if it is of type IDOC>XI>Receiver scenario

Else if it is File>XI>IDOC scenario , in this case if you want to post multiple idocs from a file, then you can refer this blog:

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Hope this helps,

Rgds,

Moorthy

Former Member
0 Kudos

Pete,

It would be the same. In XI if you see in sxmb_moni there are multiple idocs one after another within one message. But in R3 they will post as separate IDOCs.

Regards,

---Satish

Former Member
0 Kudos

<b>SINGLE IDOC</b>

<TYPE>

<IDOC begin = #>

Control Record (1..1)

Data Record (1...n) To have multiple line items

Status REcords(1..n)

</IDOC>

</TYPE>

<b>MULTIPLE IDOC a.k.a Packet Processing</b>

<TYPE>

<IDOC begin = #>

Control Record (1..1)

Data Record (1...n) To have multiple line items

Status REcords(1..n)

</IDOC>

<IDOC begin = #>

Control Record (1..1)

Data Record (1...n) To have multiple line items

Status REcords(1..n)

</IDOC>

<IDOC begin = #>

Control Record (1..1)

Data Record (1...n) To have multiple line items

Status REcords(1..n)

</IDOC>

</TYPE>

Upon receipt in SAP, it will be processed as 3 IDOCs e.g. if viewed via we02 - although it came into ALE layer as 1 file.

sincerely,

--NM