Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Message Mapping Context Issue

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

Former Member
replied

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 View this answer in context
Not what you were looking for? View more on this topic or Ask a question