cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Exception in Mapping

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks everybody for the help, I got it sorted,

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

Regards,

Ab

Answers (6)

Answers (6)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

aashish_sinha
Active Contributor
0 Kudos

HI,

Map root of both messages and test.

Regards

Aashish Sinha

iaki_vila
Active Contributor
0 Kudos

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.

praveen_sutra
Active Contributor
0 Kudos

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

Muniyappan
Active Contributor
0 Kudos

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