cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SplitByValue: Mapping Question

Former Member
0 Likes
695

Hey experts,

I was working with a map IDoc DELVRY05 --> EDI 856, and while working with a Splitbyvalue function i got an issue since i can't transfer all the values to the splits EDI created

- Example IDoc Structure:

IDoc

E1EDL20

EA1DRM1 (partner segment)

...

...

E1EDL37 (Pack segment/Split value required for unique EXIDV)

E1EDL37 (Pack segment/Split value required for unique... )

Following this blog ( ) i did learn how to pass the values for every EDI without mixing data

for example i did create 3 EDI based on 3 unique (EXIDV) tracking numbers and for every new EDI i map the corresponding EXIDV (good news)

But i understood that logic only because the EXIDV is the field which i use the splitbyvalue, so my question is..

- How this affects other values????? how should i map them so the data that i don't need to splitcan appear in all the EDI generated? (bad news)

For example, i need to map some header data as the VBELN from E1EDL20 for every new EDI, but i can't make it to every map since it only maps the field in the first EDI and the others 2 are empty (failing the transmission if the EDI field to map is 1.1)

If i use RemoveContext it works for some fields (at header level) and others not (at item level), i only need to create new EDI (this is the reason to make the split and every EDI should had the corresponding tracking number data, and the rest of the fields are the same for every EDI: partner data, header data, etc)

So i'm not sure how to transfer the rest of the values, i'm having troubles trying to understand this,

any help?

Thanks in advance!!

View Entire Topic
Former Member
0 Likes

One additional question..

how go i take that same use for creating segments?

for example:

QUALF

= -


> CreateIf ---> DTM

"006"

How do i apply this to the creation of segments? (the CopyValue)

Because i have to map this DTM for every EDI with the same data

I tried using the CopyValue after the "QUALF" but is not working, and i only get the DTM created in the first EDI (out of 3 EDI created)

Thanks!