cancel
Showing results for 
Search instead for 
Did you mean: 

creating multiple segments from one segment and its multiple element

Former Member
0 Kudos

I am using a SHPMNT05 and X12 856 for idoc to edi.

The input is mapped to the same segment(HL) in 856.

My input is like the ff:

E1EDL20

-- E1EDL24

-- E1EDL24

E1EDL20

-- E1EDL24

the required output is:

HL32*O (E1EDL20)

HL43*I (E1EDL24)

HL54*I (E1EDL24)

HL62*O (E1EDL20)

HL76*I (E1EDL24)

I am getting like:

HL32*O

HL42*O

HL5*I

HL6*I

HL7*I

Can anybody help me please

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Btw, this was fixed using a udf.