Dear All,
I am using collect pattern Payload Dependant.
I have one source data type and one target data type. Mapping is one to one.
Data type contains 3 fields, Value Name and Surname.
In Loop I have used condition when Counter is equal to value stop the loop.
I have used Transformation step as I am using N:1 mapping.
I have used abastrct to abastract message mapping.
Source message is 0 to unbounded.
In interface mapping target message occourance is 1. But in mapping program target message occourance is 0 to unbounded.
When I am running my scenario, Third party to IP is working fine. But in IP i am getting error in transformation step.
"com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Collect_Receiver_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"
Can anybody will help me to solve this problem?
Warm Regards,
Gouri