cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Idoc PO Multiple Line Items to file

Former Member
0 Kudos

Hello All,

we are using Message Type ORDERS and ORDERS1 as Basic type to pass PO and sales data. I have configured IDOC to File scenario. I'm able to successfully place a file in file folder.

But my issue is some of the PO's have multiple line items and saved file has one first line item information. I have even tried unbounded for line item but no luck.

<b>How do I pass all the line item values to the file ?.</b>

The output structure should be

1. PO Number

2. PO ITem

3. Material No

4. Delivery Date

5. Vendor Number

the data type I created is

Pur_Ord

|__ EBELN

|__ EBELP 0..Unbounded

|__ MATNR

|__ AEDAT

|__ LIFNR

the current output is

<?xml version="1.0" encoding="UTF-8"?>
<ns0:Pur_Ord_Out xmlns:ns0="http://PO_TO_FILE">
  <EBELN>0004500066</EBELN>
  <EBELP>00001</EBELP>
  <MATNR>000000000000010027</MATNR>
  <AEDAT>20051215</AEDAT>
  <LIFNR>0001005780</LIFNR>
</ns0:Pur_Ord_Out>

Im looking for an output with all line items

Thanks in advance

Praveen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Praveen

Try this

Pur_Ord

|__ ORDERS 0.. Unbounded

|__ EBELN

|__ EBELP

|__ MATNR

|__ AEDAT

|__ LIFNR

Here ORDERS is the parent node.

KK

Message was edited by: KK