cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to SOAP - Mapping Error

Former Member
0 Kudos

Hi All

I am working on RFC to SOAP Scenorio.

The requirement is RFC will make a querry and all the vendor details will be received in the return table structure of the RFC Function module.

There will be multiple entries in the Return table.

I am getting the sucess message and the number of records is also matching.

But the Data is not getting mapped to the right field in the Return table.

But if i see the SXMB_MONI response message, Data is correctly mapped

Regards

Madhan D

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Madhan,

Where exactly do you are facing the error?

Is it in SAP XI mapping?

Former Member
0 Kudos

Hi Sunil

I am not getting error, the result is not proper.

I mean the RFC Return table is having multiple entries and the response value from the target system is not getting placed in the right fields in the Return table

But it showing right in the XML response message

Regards

Madhan D

Former Member
0 Kudos

You are getting the right XML from the target and its not getting placed correctly in the return tables.

The only problem can be with the ABAP code/logic which you wrote for assigning and populating the response values into the tables.

Regards

Sunil.

prateek
Active Contributor
0 Kudos

Have you checked the correctness of payload after the Message Mapping step in sxmb_moni? In case the payload is correct there and you are getting incorrect payload at sender, the problem could be due to incorrect RFC structure. Have you edited the RFC structure recently?

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek

The XML payload is looking correct

Yes i did modify structure, Should i need to re-import the RFC and do the mapping again

Regards

Madhan D

Edited by: Madhan Doraikannan on Jan 12, 2009 8:10 AM

prateek
Active Contributor
0 Kudos

Yes, you must reimport the RFC. Reimport the RFC in mapping too. (Before this, take backup of your mapping program). After this, if there is a node level change in RFC structure, the mapping could get lost. You have to recheck the mapping and then run the scenario again.

Regards,

Prateek

Former Member
0 Kudos

Thanks Prateek, it worked

Regards

Madhan D

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi..

Check whether you are mapping to single entry or multiple entries.

Regards

Leela