on 09-04-2009 7:32 AM
Hi Guys,
Ia m getting following Error in SXMB_MONI..
"RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:ShippingDetails/Record. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at ".
Can someone help me with this error please?
Thanks
Sahil
Dear Sahil,
Your nodes in target structure /ns0:ShippingDetails/Record has a cardinality of 1..1 or 1..n. However the node of source structure is missing in the inbound message hence the failure.
Try changing cardinality or you can do mapping based on existence of source node.
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Based upon above post i feel ur Message mapping is not correct.
Can u make the node occurence to 0..unbounded(If the business requirements are not voilated) and check once.
else
you need to map such a way that all the nodes with occurence 1..1 or 1..unbounded should get atleast one occurence of the elemets present in it.
I hope this will help you.
Still not resolved let us know how u mapped ur source to destination.
Babu
Hi Sahil,
Mostly this kind of error occurs only if the mandatory fields on the target side sturcture are not getting filled during mapping execution .Make sure that all the mandatory fields are mapped properly and the mapped target fields should get values from source side .So,check the mapping.
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
This happens when u have mapped anu field ( mostly with some UDF or any function) and the input field (node) is not present in the XML. Just ur XML , and see if any mandatory nodes are missing
Mostly one of the inputs to this field /ns0:ShippingDetails/Record is either blank or the node doesnt exist.
Regards.
Edited by: Vinithra Iyangar on Sep 4, 2009 8:43 AM
Take the payload from SXMB_MONI and try to execute the mapping in test tab of message mapping and check the mapping for the
element ShippingDetails/Record
and for debugging rightclick the node and select display queue for runtime value passing..
also check the node is mapped or not ...
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>Id id the same as u mentioned there i am getting the Same error which i am not able tio understand..
When you pasted the payload in Test tab of message mapping, is ther any node with color red in source (go to XML view then you can see it)
if yes then compare teh payload which you have taken from moni and the one which gets generated when you click the Generate XML instance button in the test tab of Message mapping. There should be a change in either the node name or name space etc.. just have a look
if everything is green, then do a display queu of the target node (in graphical mapping screen) and you will get more idea
Regards
Suraj
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.