Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 23, 2014 at 09:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded