cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping Context Issue

0 Kudos

Hi All

I have the following issue in a message mapping.

I need to map a CLFMAS Idoc to a database. I only need some characteristic values so I have a source structure which looks like that:

<E1OCLFM SEGMENT="1">

<E1AUSPM SEGMENT="1">

  <ATNAM>NAME1</ATNAM>

  <ATWRT>VALUE1</ATWRT>

</E1AUSPM>

<E1AUSPM SEGMENT="1">

  <ATNAM>NAME2</ATNAM>

</E1AUSPM>

<E1AUSPM SEGMENT="1">

  <ATNAM>NAME3</ATNAM>

  <ATWRT>VALUE3</ATWRT>

</E1AUSPM>

</E1OCLFM>

And a target like that:

<FD001>VALUE1</FD001>

<FD002></FD002>

<FD003>VALUE3</FD003>

But instead I get this:

<FD001>VALUE1</FD001>

<FD002>VALUE3</FD002>

<FD003></FD003>

See here the mapping:

Does anyone knows how to solve it?

Best regards

Till

Accepted Solutions (1)

Accepted Solutions (1)

former_member191435
Contributor
0 Kudos

use

ATWRT ---->  map widdefault ---> remove context  for then

and for if use   atnum ---> map wid default ---> remove context

DOnt change the context use as it is and then  use remove context like i mentioned above u will get it...

Thanks,

Sreenivs

0 Kudos

It's working thanks a lot for your fast help.

Answers (0)