Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Nested IDOC structure to Flat XML structure mapping

Hi Experts,

I need to map the below hierarchical segments of SHPMNT03 IDOC XML to repetitive stucture G_SHL of 857 EDI XML.

Segments from IDoc.

E1EDT20(Shipment)

E1EDL20(Delivery)

E1EDL24(Delivery Line Item)

E1EDL44(IDoc: Handling Unit Item Delivery) for Pack)

Required Target Segment:

SHIPMENT HL (BOL)

DELIVERY HL (PO NUMBER 1)

ITEM HL (PART A)

PACK HL (1ST BUNDLE)

PACK HL (2ND BUNDLE)

ITEM HL (PART B)

PACK HL (1ST BUNDLE)

DELIVERY HL (PO NUMBER 2)

ITEM HL (PART A)

PACK HL (1ST BUNDLE)

PACT HL (2ND BUNDLE)

PACK HL (3RD BUNDLE)

Please let me know how to achive this.

I tried to achive this by changing the context of the target field, but in that case I am loosing the sequence. I get all delivery together, all Item together..like that.Please tell me how to retain the sequence.

Please reply ASAP.

Thanks in advance,

Shweta.

Not what you were looking for? View more on this topic or Ask a question