SAP Knowledge Base Article - Public

3340899 - Error: Writing of key mapping for external ID type 888 and external ID XXX failed

Symptom

You receive the error "Writing of key mapping for external ID type 888 and external ID XXX failed" when replicating Employees to C4C.

Environment

  •  SAP Cloud for Customer

Reproducing the Issue

  1. Administrator -> Webservice Message Monitoring -> You find error occurred in service Interface EmployeeReplicationIn
  2. Open up the payload and you find the code like below
    <EmployeeID>123456789</EmployeeID>
    <ReceiverEmployeeID>123456789</ReceiverEmployeeID>
    <BusinessPartnerID>XXX</BusinessPartnerID>
  3. Check ID Mapping for Integration and you find a different external ID than XXX mapped to the corresponding BP number for the given Employee  

Cause

There was a prior message defined the BusinessPartnerID for the given EmployeeID in ID Mapping for Integration.

Resolution

Please investigate the reason and method behind the change in the Business Partner ID of this employee in the external system.

Keywords

BusinessPartnerID, EmployeeID, ReceiverEmployeeID, EmployeeReplicationIn, EmployeeReplicationRequest , KBA , LOD-CRM-EMP-RPL , Employee Replication , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem

Product

SAP Cloud for Customer core applications all versions