I need help to finish my ASN outbound mapping…We are in WM 6.0.1 mapping IDOC DESADV to X12 -V4010- 856DT. After using the appendToDocumentList service the first output if append to the HL document list (array(0)) and the following outputs pointing to the same HL documnent list are write in array(1) so the output is not correctly, placing the first sequence at the bottom of the document list… See layout… there is any special use in the ASN document that I’m missing ?
In my map I’m looping to the segment and mapping values to a temporary HL documnet them I appendToDocumentList and drop the temporary HL.
Here the Layout:
ST8560000
BSN000080253719200309301200004
HL1S
DTM20020325
TD1G372.484KG
N1SFSabex 2002 Inc.912440620710330
N1STCPDN ONT91247191323
REFBM86630830-1 TERRE RC 101 BTES**
PERDIShipping DepartmentTE450-XXXX-4903 x- 2131
HL2
HL**1O
PRF0080253719
HL
HL**
HL42I
LIN**UP057513017605VC1760LT0000111302
SN180EA
DTM03620050228
HL52I
LINUP057513020506VC2050LT0000110712
SN1**120EA
DTM03620030131
HL62I
LIN**UP057513020902VC2090LT0000110716
SN110EA
DTM03620030131
HL72I
LINUP057513023019VC2301LT0000111543
SN1**200EA
DTM03620040228
HL82I
LIN**UP057513023101VC2310LT0000109729
SN140EA
DTM03620031031
HL92I
LINUP057513023705VC2370LT0000110158
SN1**80EA
DTM03620031130
HL102I
LIN**UP057513024009VC2400LT0000111457
SN1300EA
DTM03620040228
HL112I
LINUP057513024610VC2461LT0000111338
SN1**20EA
DTM03620030831
HL122I
LIN**UP057513024702VC2470LT0000110799
SN166EA
DTM03620030731
HL132I
LINUP057513027307VC2730LT0000111099
SN1**120EA
DTM03620050131
HL142I
LIN**UP057513028618VC2861LT0000111137
SN1120EA
DTM03620030731
HL152I
LINUP057513035203VC3520LT0000111375
SN1**330EA
DTM03620030831
HL162I
LIN**UP057513052200VC5220LT0000111097
SN1198EA
DTM03620040131
HL172I
LINUP057513057601VC5760LT0000109712
SN1**30EA
DTM03620030430
HL182I
LIN**UP057513058318VC5831LT0000111339
SN1120EA
DTM03620050228
HL192I
LINUP057513058417VC5841LT0000110995
SN1**120EA
DTM03620050131
HL202I
LIN**UP057513059018VC5901LT0000111372
SN11040EA
DTM03620050228
HL212I
LINUP057513059209VC5920LT*00001
Hi Javier,
I’m having the same problem that you had when trying to map EDI856 to ASN!
Did you find a solution for this issue?!
Andre,
Please elaborate on your issue even though you are having same issue as originator.Tell us what your current mapping for appendDocumentList logic…Let see if we can help on this.
If you are struggling with append logic,try to search in the forum on appendToRecordList or DocumentList you will see the basic procedure when handling loops and append from temp document to original document.
HTH,
RMG
Hello,
Yemi Bedu
Hi Andre,
I will review my notes about this issue and I will contact you.