cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc 2 IDoc: Segment compare in Mapping

Former Member
0 Kudos

HI,

I have IDoc 2 IDoc scenario. ORDERS 2 ORDERS.

the source IDoc is filled with E1EDKA1 WE and sometimes filled with E1EDPA1 WE instead of E1EDKA1 WE. That means no header Partner, thepartner is at item line.

my target segment should be filled like:

When E1EDKA1 or E1EDPA1 is existing then create E1EDKA1.

the target fields in the target segment "E1EDKA1" should be filled like.

WHEN NAME1 of E1EDKA1 WE or NAME1 of E1EDPA1 WE is filled then move to target NAME1 of E1EDKA1

any ideas how to compare this ? I think i have to use a udf code with queue or context ?

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Try using node function EXISTS and / or MapWithDefault with If-withoutelse.

This will solve your issue.

Regards

Bhavesh