cancel
Showing results for 
Search instead for 
Did you mean: 

Source message split into 2 orders - 2nd order populating wrong values

Former Member
0 Kudos

Hi Friends,

I have an issue related to X12 to Orders, X12 file is processed and split into 2 orders/idocs,

1 idoc is outputing the right values, however the 2nd idoc is extracting all wrong values.

According to my observation, there are no values coming in for couple of E1EDKT1 segments (for the second idoc, fyi, there are multiple E1EDKT1 segments with different values).

it seems that values coming after these segments are extracted and filled to these segments. i can see 2 upward shifts in the output.

Any idea how to resolve this issue, i have tried using map with default, split by value, collapse context, remove contexts etc.

Thanks in advance,

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

Use mapwithdefault function with a blank character for all the target nodes which ever you think might not get a value from the source. You will see the right results.

VJ