on 08-01-2007 6:07 PM
Dear All,
I am using N:1 Mapping in BPM Collect pattern payload dependant.
System: SAP PI 7.0 SR2, SP 10.
Error is as follows:
"com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Col_Receive_MT. 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"
Input Payload:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:Col_Send_MT xmlns:ns1="http://RepeatCollectPattern">
<KeyNo>1</KeyNo>
<Name>ABC</Name>
</ns1:Col_Send_MT>
</ns0:Message1>
</ns0:Messages>
Can anybody will help me to solve this problem.?
-Gouri
Gouri,
Remove messgaes element and give the input payload.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Col_Send_MT xmlns:ns1="http://RepeatCollectPattern">
<KeyNo>1</KeyNo>
<Name>ABC</Name>
</ns1:Col_Send_MT>
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have followed Sample Collect pattern payload dependant pattern from SAPBASIS component.
In Interface Mapping,
Source Occourance: 0 to unbounded
Target occourance: 1
Mapping is 1: 1
Data Type:
Col_Send_MT Complex Type
KeyNo Occourance 1
Name Occourance 1
In Message mapping,
Source is : 0 to unbounded
Target is: 1
-Gouri
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.