Skip to Content
0
Former Member
Oct 06, 2010 at 09:56 AM

EDI 856 ASN - HL Mapping

538 Views

Hi,

Currently i am working on ASN (EDI 856) interface using SAP PI 7.1. I am using Seeburger AS2 Adpater to handle EDI. Mapping is done through graphical mapping.

ASN is of SOT/PI (Shipment, Order, tare, Pack and Item) type and Order, Tare, Pack and Item will repeat. I am finding difficulty in handling the HL count dynamically for repeating HL level. (HL[0], HL[1] and HL[2] segment).

I want to get the output like below (Only HL segment is shown)

HL - Shipment Level

HL[0] - 1

HL[1]

HL[2] - S

HL- Order Level

HL[0] - 2

HL[1] - 1

HL[2] - O

HL- Tare Level

HL[0] - 3

HL[1] - 2

HL[2] - T

HL- Item Level

HL[0] - 4

HL[1] - 3

HL[2] - I

HL- Tare Level

HL[0] - 5

HL[1] - 2

HL[2] - T

HL- Item Level

HL[0] - 6

HL[1] - 5

HL[2] - I

HL- Item Level

HL[0] - 7

HL[1] - 5

HL[2] - I

****

Can someone help me in handling the HL segment in SAP PI?

Regards,

Vasantha