Skip to Content
avatar image
Former Member

Funny problem with the mapping

Dear All,

I am facing with a funny problem with the mapping.

I am working on a scenario in which Invoice IDOC created in R/3 will be posted to XI and then in XI, mapping are done to create an XML file out of that IDOC.

In the Idoc, there is a segment E1EDKA1 which is getting created multiple times for different partners alongwith their details. The fields in E1EDKA1 segment are: PARVW,PARTN LIFNR etc.

In the output I just want LIFNR number where PARVW = RE or RS.

I have done the required mapping and when I am testing the mapping its giving me the required results correctly but when I make this scenario live then in real-time, the output XML file has no value for LIFNR.

Can anybody guide me out why is it happening tht during mapping testing its giving the correct result but at real time the mapping is returing no value.

Warm Regards,

N.Jain

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 27, 2007 at 06:02 AM

    Test your scenario via WE19 and fill all required fields like LIFNR & PARVW. By doing this you will come to know if there is a proble with data or not? If you get your result positive then there is a problem in your data may R/3 tables will not be having the proper data to execute the condition for LIFNR.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Nishant,

      Are you sure the test data which you are using while testing the mapping in IR and the one which comes when you test real time is the same?

      The data which comes real time. Copy the source payload and then test in mapping. See if you get the right data which you expect. If you do then theres some problem.

      Now also go to the same message and in trace you can find out the GUID of the mapping program which is used.

      Go to RWB - Last button..not sure what the name is .. something similar to Cache.. Find your mapping program and see if the GUID Matches. If the GUID matches then it is okay.

      Also try to do the following..

      Reactive the MM/IM.

      Go to ID. Make some dummy change in Interface determination and then activate it.

      Check the cache notification to make sure if the cache is updated.

      If the above doesnt help you let us know.

      Regards,

      Sumit

  • avatar image
    Former Member
    Dec 27, 2007 at 05:34 AM

    1. Check if the mappings are activated.

    2. Test your payload in IR at Interface mapping level.

    Regards,

    Jai Shankar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jai,

      Thanks for your reply.

      The mappings are activated and they are working fine when tested in interface mapping.

      Regards,

      N.Jain