cancel
Showing results for 
Search instead for 
Did you mean: 

Removecontexts

Former Member
0 Kudos

I have the following mapping structure..

IDOC

ORDERS05

E1EDK01

belnr

E1EDK03

IDDAT - 011

DATUM - date

E1EDK03

IDDAT - 011

DATUM - date

E1EDP01

posex

I need to map that to

Header (as many times as Item Node)

Belnr

posex

datum

I am able to map belnr and posex correctly.. but when I try to map DATUm conditionally, it fails for the second line item.. How do I fix this?

E1EDP01 (Context IDOC) -> Header

BELNR (Context IDOC) -> remove context -> BELNR

posex (Context E1EDP01) -> Posex

If datum = '011', then Datum -> datum..

The final step fails second time around.. Doesn't work even if I use remove context

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi SSG

Did u try with SplitByValue ? Else pls check it.

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

Nope, it doesn't work..I am getting errors when the field is conditionally dependent.. As you can see, remove context works perfectly fine for unconditional belnr..

moorthy
Active Contributor
0 Kudos

Did u try Remove Context and then SplitByvalue?

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Just check it.

Former Member
0 Kudos

Thanks krishna.. It worked when I used split by value followed by remove context..

Answers (0)