I have the scenario JDBC to IDOC . I received a mapping exception with the following error message below.
Cannot create target element /ACC_GL_POSTING01. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:369) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:503) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:134) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:635) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at
So i went to message Mapping and made sure all tartget IDOC segments are populated with source or with a constant. When i download the payload and upload it in Mapping for test my source goes Red and when I execute test it gives me the same above error.
When I manually enter the values in source and execute the Mapping test it works fine. Is there something wrong with my payload??
Please adivce
Thanks,
Teresa