Skip to Content

Message Mapping Error

Hi,

I am using SOAP-XI-RFC Scenario.

I am getting error in Message Mapping (Response).

My RESP_MM contains a MY_DT, my datatype like below

MY_DT

-DETAIL_FIELD1

--item

-


FIELD11

-


FIELD12

-


FIELD13

-


FIELD14

I mapped it with the appropriate BAPI_xxx.Response fields in my (Reponse)Message Mapping. But when I try to run a webservice to get a reponse from the CRM system, I get the following error, which i retrieved using rwb.

ERROR:::::

"com.sap.aii.utilxi.misc.api.BaseRuntimeException: Run time exception in Message Mapping transformation: Goal element/ns:PT_OPP_RESP_MT/PRODUCT_DETAIL/item cannot be put on. Examine whether the XML instance for the exit XSD and the target field allocation fulfills the requirements of the goal XSD. "

Can anybody help me out!!

Regards,

Narendra.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2005 at 10:28 PM

    hi,

    did you test the message mapping in Integration Repositry during design??? There is a test tab for testing the message mapping in IR

    cheers,

    Naveen

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Narendra Jadeja

      Narendra,

      >>'I need to fill the REQUEST required fields properly in order to get the perfect RESPONSE'??

      Not exactly...

      Request and Response are two different mappings. Both the mappings should work without any errors independently.

      I guess, you are mapping your response from RFC to another structure ABC . Then the response received from RFC should have all the required fields in the structure ABC. If this not the case where your response does not have all the mandatory fields required by the target structure then you should handle this in your mapping using exists function and map with some dummy value or space.

      check which mapping is failing, request or the response. You can use the weblog which I had mentioned to test your mapping with the actual messages in XI.

      If it is response mapping which is failing then check if all the required fields for mapping target structure are returned by RFC if not then you need to handle this in mapping. The same is applicable for requset mapping aswell.

      hope this helps..

      Anand

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.