Skip to Content
avatar image
Former Member

Message Transfomation error in Monitor

Hi All,

I have a sample Scenario FILE - FILE which maps one message to another message.

The data-types used in both the messages are same.

I get a system error in message transformation when I look into the monitor.

Error message:

<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_CustomerMessMapping_</Trace>

<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns:CustomerResponseMessage/customers. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:291)

please help me with any clues.

I mapped datatype source name to target name.

XMl source root to target root.

elements source to elements target.

Thanks,

Meher

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 14, 2006 at 04:22 PM

    Hi,

    Get the input payload from SXMB_MONI and sae it as a XML file. In the mapping test tab import it and test the same.

    Thanks,

    Prakash

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2006 at 04:26 PM

    Hi Mehercharan,

    It is a clear case of mapping exception. As Prakash had already mentioned, take ur XML from Moni and test it in your message mapping. You might need to see the mappings of the root nodes in particular, and whether the namespace is causing a problem.

    cheers,

    Prashanth

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2006 at 04:31 PM

    Hi ,

    Exception message says that it is a mapping issue. You need to check your mapping

    "/ns:CustomerResponseMessage/customers"

    It shows error while creating customers node in target . Please chcek customers node mapping in target message type.

    You can test this using by using the payload (source data) of the mapping from SXMB_MONI transaction.

    Nanda

    Add comment
    10|10000 characters needed characters exceeded