Skip to Content
avatar image
Former Member

Runtime Exception in Mapping

Hi guys,

I'm very new to PI.......

while practicing a simple scenario transfering an xml file from one folder to another, i'm getting this error in

in SXMB_MONI, message status says "System Error" when i click on it, got this error.....

"Runtime exception occurred during application mapping com/sap/xi/tf/_SS_MM_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: C

annot create target element /ns0:SS_RCV_MT/name. Values missing in queue context. Target XSD r~

Exception of class CX_XMS_SYSERR_MAPPING"

Graphical mapping is as follows

can anyone help me?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 16, 2013 at 12:07 PM

    Thanks everybody for the help, I got it sorted,

    actually there was a problem with structure of my input file....

    Regards,

    Ab

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2013 at 11:37 PM

    Hi,

    Did you check the input payload?

    May be name is missing in the payload.

    Take the input payload from the sxmb_moni and test it in the message mapping.

    Regards,

    Muniyappan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2013 at 07:13 AM

    Hello,

    you have a mandatory target field which is to be created probably multiple times. You probably don't fill it on each occurence. In the graphical mapping editor, right-click on the target field and see what it displays. There are several solutions to this:

    - Check test payload, maybe something wrong there

    - Change field to optional

    - Change queue context of source field

    - Perform a mapping using functions like "Use one as many" or others

    It is hard to say which one is best in your case without further detail.

    Regards,

    Jörg

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2013 at 06:46 AM

    hi Ab,

    It would be great if you can post the payload snapshot.

    It seems u have not provided any value under name field.

    thanks and regards,

    Praveen T

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 16, 2013 at 06:55 AM

    Hi Ab,

    Try to map SS_SND_MT to SS_RCV_MT.

    Go to test tab and test it. If you want to test outside ESR,  take the XML that you have generated in the test tab.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 16, 2013 at 07:04 AM

    HI,

    Map root of both messages and test.

    Regards

    Aashish Sinha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2013 at 10:56 AM

    Hi,

    I think you have not mapped correctly.You should do a one to one mapping of both SS_SND_MT and Name as both are marked mandatory.After that first test in the mapping itself whether values are being populated correctly in the target side. Only then fire from Workbench.If the error Presists then revert back.

    Thanks and Best Regards,

    Ankit Baid

    Add comment
    10|10000 characters needed characters exceeded