Symptom
During sales order replication, the outbound message salesOrderS4ReplicationMessageOut does not contain /messageRequests/0/body/receiverAccountDisplayId and it causes the CPI mapping fails with error:
com.sap.xi.mapping.camel.XiMappingException: Cannot produce target element /SalesOrder/SalesOrder_Type/SoldToParty. Queue has not enough values in context. Target xsd requires a value for this element, but target field mapping does not produce one. Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd., cause: com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot produce target element /SalesOrder/SalesOrder_Type/SoldToParty. Queue has not enough values in context. Target xsd requires a value for this element, but target field mapping does not produce one. Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd.
Read more...
Environment
- Integration for SAP Sales and Service Cloud version 2
- SAP Sales and Service Cloud Version 2
Product
Keywords
sales cloud v2, sales order replication, s/4hana cloud public edition, receiveraccountdisplayid, soldtoparty, cpi mapping error, xi mapping exception, illegalinstanceexception, outbound message, messageRequests body, external id mapping, account mapping, business partner replication, integration suite, salesorders4replicationmessageout , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview