SAP Knowledge Base Article - Preview

3595335 - iFlow "Replicate OMS Order Notifications From S4HANACE To SAP Commerce Cloud" failing in SCPI with a mapping error

Symptom

The Communication Scenario SAP_COM_0288 has been configured in the backend and you are going to test the replication with iFlow "Replicate OMS Order Notifications From S4HANACE To SAP Commerce Cloud". When trying to replicate order notifications from S/4 HANA Cloud to SAP Commerce Cloud the following error is found in SCPI:

"com.sap.xi.mapping.camel.XiMappingException: Cannot produce target element /SAPOrders/SAPOrder. 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 /SAPOrders/SAPOrder. 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."

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP Commerce Cloud, Integration Extension Pack
S/4 HANA Cloud - Public Cloud
SAP Integration Suite

Product

SAP Commerce Cloud, integration extension pack all versions ; SAP Integration Suite all versions ; SAP S/4HANA Cloud Public Edition all versions

Keywords

cloud, platform, integration, ccv2, A2A, A2X, odata, v2, API_SALES_ORDER_SRV, A_SalesOrder , KBA , CEC-SCC-INT-S4I-AOM , SAP Asynchronous Order Management , SD-SLS-API-2CL , API (Public 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.