on 06-03-2016 8:36 AM
Hello!
Referring to a previous post () I would like to ask if someone has an idea how to solve the problem with the structure of the HL segments in 856 messages.
We would need the following (...-O-P-I-P-I-...) output:
.....
HL+2+1+O
PRF+223223+++20160503
HL+3+2+P
MAN+SM+10001
HL+4+3+I
LIN+1+BP+1111111+VP+33333
SN1+1+10+EA
PID+F++++item text
HL+5+2+P
MAN+SM+10002
HL+6+5+I
LIN+2+BP+2222222+VP+44444
SN1+2+6+EA
PID+F++++item text
.......
With the standard message we can only create the following (...O-P-P-I-I...) output:
.....
HL+2+1+O
PRF+223223+++20160503
HL+3+2+P
MAN+SM+10001
HL+4+2+P
MAN+SM+10002
HL+5+3+I
LIN+1+BP+1111111+VP+33333
SN1+1+10+EA
PID+F++++item text
HL+6+4+I
LIN+2+BP+2222222+VP+44444
SN1+2+6+EA
PID+F++++item text
.......
Any help is appreciated!
Best Regards,
Christian
Hi Christian,
You need to maintain the condition for header level means in HL level segment for(Order,pack,item )
then only it will come order format,kindly check the condition what u maintain in mapping level.
Thanks
Kavitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Condition means:in IDOC data u have order,pack,item level details so in EDI side we are duplicating HL segment for order,pack,item level.
in idoc segments some fields having pack and item details,so based on that segment put the condition like if that filed have the particular data then only need to generate the target field
for example :sample scenario
Hi Kavitha,
thanks again for your reply and the screenshots.
The HLs for "S" and for "O" are not a real problem (as long as there is only 1 order contained in the delivery...).
But how would you map it if you have 2 packs in the IDoc? The customer expects the following structure:
HL_S
HL_O
HL_P(=Pack1)
HL_I(=Item of Pack1)
HL_P(=Pack2)
HL_I(=Item of Pack2)
Thank you!
Regards,
Christian
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.