i'm currently working on a outbound mapping with the delivery idoc (DELVRY05) and the EDI 856 (Advance Shipping Notice Definition)
The problem is that i can't map the items for every pack in the structure because the ocurrency doesn't match.
The EDI 856 has a segment called G_SHL (ocurrence 0.200000), that i replicated 4 times for shipping, order, pack and item data
And this segment has a subsegment called G_SHL/S_HL (ocurrence 0.1)
RESULT DESIRED GIVEN BY THE CLIENT: (1 pack/1item)
3 HL1*S~ ======> S: shipping, 1 hierarchy)
11 N1SFStiefel Labs~
13 HL21*O~ ======> O: order, 2 hierarchy, 1 was the previous hierarchy)
15 HL32*P~ ======> P : Pack, 3 hierarchy, 2 was the previous hierarchy
17 HL43*I~ ======> I: Item , 4 hierchay, 3 was the previous hierarchy
34 HL52*P~ ======> P : Pack, 5 hierarchy, 2 was the previous hierarchy
36 HL65*I~ ======> I: Item , 6 hierchay, 5 was the previous hierarchy
40 HL72*P~ ======> P : Pack,7 hierarchy, 2 was the previous hierarchy
42 HL87*I~ ======> I: Item , 8 hierarchay, 7 was the previous hierarchy
As u see, all packs belong to "2 hierarchy" (order), and items to their correposding pack
(has a comment, the "hierarchy number" is always given by a counter so u won't find the exact number again)
so, the client wants us to create an structure that is like this..
(the example has only one item, but they say that is going to be with many items)
- The problem is that the structure data of the Idoc doesnt match EDI 856 structure
E1EDL37 (0.99999) -
Pack data -
E1EDL37/E1EDL44 (0.99999) -
Item data -
G_SHL/HL (0.1) <====
i was doing different G_SHL for pack and items but that leaves me with a wrong structure, and with all the hierarchy data wrong for items (since the mapping can't see which item belong to his pack)
- How can i map the structure Pack/item if in the idoc got too many item positions for only one EDI corresponding segment??
Thanks in advance!