SAP Knowledge Base Article - Public

3029427 - Error "ID mapping for external value 1234 of missing" raised for CustomerOrderReplicationIn Service Interface

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

  1. Go to Web Service Message Monitoring under Administrator Work center.
  2. Search for the CustomerOrderReplicationIn Service Interface.
  3. 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

Product

SAP Cloud for Customer add-ins all versions