on 08-26-2016 12:07 PM
Hi all,
i have following EDIFACT message:
UNA:+.? '
{...}
LOC+162+XXXXX::9'
DTM+356:20160815:102'
LIN+1++YYYY:EN'
PIA+1+0256:LN'
PRI+AAA:1::NTP'
PRI+NTP:1::RTP'
QTY+153:1'
LIN+2++XXXXX:EN'
PIA+1+0283:LN'
PRI+AAA:7.26::NTP'
PRI+NTP:1.95::RTP'
QTY+153:1'
[...]
LOC+162+XXXXX::9'
DTM+356:20160816:102'
LIN+10++YYYY:EN'
PIA+1+0256:LN'
PRI+AAA:1.64::NTP'
PRI+NTP:3.99::RTP'
QTY+153:1'
LIN+11++YYYY:EN'
PIA+1+0256:LN'
PRI+AAA:1.64::NTP'
PRI+NTP:3.99::RTP'
QTY+153:1'
[...]
When I look into the message control key:
The LOC should always trigger a new SG5, but the result is putting everything in one single SG5, so all repetions of LOC / DTM / LIN ... are within one Segment Group.
Can anybody help me with fixing this issue?
Regards
Helmut
Hello Helmut,
Can you share the EDI XML that is the output of your mapping. This will help understand the issue better.
In theory, make sure your mapping creates multiple SG5 segments - one for each LOC/DTM/LIN. I think in your mapping the logic for SG5 is incorrect and SG5 is being created only once.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Helmut,
You need to check the mapping logic for G_SG5. Looks like currently you have mapped this to a constant and hence it occurs just once and as a result your EDI file has the segments in one single segment.
If you can share the mapping rules for G_SG5 and S_LOC as it is set up today I can tell you what the changes required is. Eventually G_SG5 should occur as many times as the S_LOC segment is created and the mapping needs to be tweaked accordingly.
Regards
Bhavesh
Sorry I understand better now.
Can you check if the EDI File you are referring to have the correct EDI version vs the XSD you are referring to in the UNH Segment? What I mean is :
If yes, then you might need to raise a OSS with SAP as this is a possible bug as as per the XSD screenshot S_LIN should occur only once but in your case it is occurding multiple times.. If you can share the EDI file I can also cross validate the same.
Regards,
Bhavesh
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.