cancel
Showing results for 
Search instead for 
Did you mean: 

How to create multiple segments on the target structure of an IDOC

Former Member
0 Kudos

Hi All

I am working on the Shipment Confirmation Interface( Message Type SHPCON ) which is FILE to IDOC Scenario. I have a segment called E1EDL18 which occurs only once on the target side of the idoc. Now I have to created multiple E1EDl18 segments for the Qualifiers ORI, PGI and PCK. I treid to send a constant ORI,PGI,PCK and then used an user defined function which splits the constant at COMMA and then I am assigning to the target field QUALF. In the display queue for QUALF I see three values with context but still only one E1EDL!* segment is created. Please let me know how to create multiple E1EDl18 segments for three qualifiers.

Thanks

Naga

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In message Mapping, just right click on the segment and click on duplicate subtree. now it will create you another segment with same name and fields in it..

you can hard code the Qual, or you can map the required source field into it.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Sukarna, it worked perfect. I assigned you 10 points

Naga