on 07-16-2008 1:28 PM
HI Friends,
I need one help regarding ASN Mapping...
I want to map the below structure from IDOC to 856 ASN Map.
The Idoc Hierarchy Structure is
- Shipment ( repeats 1 time)
- Order ( repeats multiple time)
- Tare (Pallet) ( repeats multiple time)
- Pack (Case) ( repeats multiple time)
- Item ( repeats multiple time)
The EDI Hierarchy Structure is
G_HL ( 1 to many time - as group)
-HL ( 1 time)
I want to map (represent )the each Hierarchy level of Idoc hierarchy structure in the EDI HL segement.
How can i achive it...
Any help will be greatly appreciated....
Regards
Venkatesh
Hi,
In 856 ASN you will find typical for HL segments only. As ravi told you have to create 4 HL segments. But you have to create HL segments based on condition. You need to write UDF for conditions. Better to check old 856 Mapping its very useful.
Thanks,
RamuV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi, Ramu and Venkat,
I cant duplicate the G_HL segment.As because each level is dependent on above level.
like example
If input contains this data
Shipment SHP1
Orders ORD1
Tare TARE1
Pack PCK1
Item ITEM1
Item ITEM2
Pack PCK12
Item ITEM11
Item ITEM12
Orders ORD2
Tare TARE21
Pack PCK21
Item ITEM21
Item ITEM22
Tare TARE22
Pack PCK22
Item ITEM23
Item ITEM24
I want output to be generated like this
Note below REF segment is just reference..HL contains many segments...
HL1S
REF*SHP1
HL2O
REF*ORD1
HL3T
REF*TARE1
HL4P
REF*PCK1
HL5I
REF*ITEM1
HL6I
REF*ITEM2
HL7P
REF*PCK12
HL8I
REF*ITEM11
HL9I
REF*ITEM12
HL10O
REF*ORD2
HL11T
REF*TARE21
HL12P
REF*PCK21
HL13I
REF*ITEM21
HL14I
REF*ITEM22
HL15T
REF*TARE22
HL16P
REF*PCK22
HL17I
REF*ITEM23
HL18I
REF*ITEM24
If i duplicate the HL levels then i wont get the output in the above seqenece...I will get all Orders, Tare ,Packs and Items one by one...It wont work...
Regards
Venkatesh
Hi Venkatesh,
It will definitely work.
You cannot get a hierarchy for the HL segments as you see them in IDOC side.
YOu will get them only one by one.
The partner who received the ASN 856 will understand the HL segement based on the Indicator ( HL03 element)
We have done this for a couple of clients . it does work since we are live with them.
Please revert in case of any other queries.
REgards,
Ravi Kanth talagana
Hi Ravi,
you wrote that your are live with the "non-hierarchy" 856 message. Does your message look similar to the following message (O-P-P-I-I):
.....
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
.....
Thank you!
Best Regards,
Christian
Hi,
You can duplicate the G_SHL segment 4 times, we can't repeat the S_HL segment because it is 1.1 occurance(shipment ,order, tare, pack and item) and map according to your condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Duplicate the SHL segement 4 times on the target side.
1 for the shipment level.
1 for the Order level
1 for the Item segement (Map to the Line item segment of the idoc)
1 for the package level( Map the Package level of the idoc).
If you are talking about the DELVRY03 idoc, then you may map the E1EDL24 to the item segment and E1EDL37 to the package.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.