cancel
Showing results for 
Search instead for 
Did you mean: 

Funny problem with the mapping

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Sarvesh,

I have already done testing by this way but this also gives no result in real time.

Warm Regards,

N.Jain

Former Member
0 Kudos

Then in my point of view:

1. Refresh the cache and then try.

2. Restart the J2EE Server and then try.

Regards,

Sarvesh

Former Member
0 Kudos

Have u checked the IDoc on R/3 side first.

i.e. in WE02, check for the segment E1EDKA1 for partner type RE and RS.

if u did n't find the segement and value partner Fun., partner no, and lifnr then problem at R3 side

this might cause problem if the particular Vendor is is not assigned the partner role RE and RS.

Regds,

Suresh

Former Member
0 Kudos

Hi All,

Thanks for your valuable replies.

I have restarted the java server and has also checked the data of the idoc in WE02 and all the data is available in the idoc but still no data is coming for the 'address id' for the 'billTo' during real time execution but while testing the message mapping everything is working fine.

Regards,

N.Jain

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

1. Check if the mappings are activated.

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

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Jai,

Thanks for your reply.

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

Regards,

N.Jain