Symptom
Error message "Local ID 123 for type ABC is already mapped to remote ID 456" during business partner replication from S4H via BusinessPartnerReplicationSelfInitiatedIn.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Check web service message monitoring;
- Find messages replicated via interface BusinessPartnerReplicationSelfInitiatedIn;
- See error message "Local ID 123 for type ABC is already mapped to remote ID 456".
*ABC represents the ID mapping schema code, for example, 888 - Business Partner ID or 927 - ERP Contact Partner ID etc..
Cause
This is due to the business partner already replicated and generated with existing ID mapping from the same external system as: External ID 456 - Internal ID 123;
Then in the incoming payload to C4C, another internal ID is being sent:
<BusinessPartner>
<UUID>...</UUID>
<InternalID>456</InternalID>
<ReceiverUUID>...</ReceiverUUID>
<ReceiverInternalID>789</ReceiverInternalID>
<Customer>
<ReceiverInternalID>789</ReceiverInternalID>
</Customer>
</BusinessPartner>
This may due to inconsistency in key mapping data in S4 and ID mapping data in C4C.
Resolution
Kindly check key mapping data in S4 and ID mapping data in C4C, ensure the data is consistent.
Keywords
BusinessPartnerReplicationSelfInitiatedIn, ID mapping , KBA , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem
SAP Knowledge Base Article - Public