Symptom
When replicating Sales Order/Sales Quote from ERP/S4H to C4C, the CustomerOrderReplicationIn Service Interface fails with "ID mapping for external value 1234 missing" error.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Web Service Message Monitoring under Administrator Work center.
- Search for the CustomerOrderReplicationIn Service Interface.
- The error "ID mapping for external value 1234 missing" is available in the error log.
Cause
The error is due to IdentifierDefiningSchemeCode field missing for a Sales Party (SalesEmployeeParty, SalesUnitParty...) in the C4C incoming payload.
Resolution
The following XML node (SalesEmployeeParty, SalesUnitParty...) should be populated in the CPI mapping with IdentifierDefiningSchemeCode, as per below example:
/ns0:CustomerOrderRequestMassRequest/CustomerOrderRequest/CustomerOrderRequest/SalesEmployeeParty/IdentifierDefiningSchemeCode
C4C Payload for SalesEmployeeParty
<SalesEmployeeParty>
<InternalID>1234</InternalID>
<RoleCode>AB</RoleCode>
<IdentifierDefiningSchemeCode>3</IdentifierDefiningSchemeCode>
</SalesEmployeeParty>
Keywords
ID mapping, Sales Order, Sales Quote, IdentifierDefiningSchemeCode. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To
SAP Knowledge Base Article - Public