Symptom
You replicate business partners from your external systems and you get the following error message in Web Service Message Monitoring in Cloud for Customer (C4C):
'Error while processing inbound third party communication'
'Mapping for local object XXX already exists' (where XXX represents the UUID of the business partner)
Environment
SAP Hybris Cloud for Customer
SAP ERP
SAP CRM
SAP S/4 Hana
Reproducing the Issue
Prerequisites: you have a working integration scenario for business partners replicating from more than one external system to C4C.
-
Go to the Administrator work center.
- Open Web Service Message Monitoring in General Settings.
- Observe the incoming messages for business partners.
- Some of them fail with the error:
'Error while processing inbound third party communication'
'Mapping for local object XXX already exists'
Cause
ID mapping works on a per object per communication system basis.
For customers replicated from CRM, in the ID mapping view these will be stored as Data Type 'Business Partners'.
For customers replicated from ERP, the mappings will be stored under 'ERP Accounts'.
It is possible to have the same C4C account mapped to a different external ID, provided it resides on a different system.
For CRM replications to C4C the external ID will be referenced at the <BusinessPartner> node level of the payload, with the CRM ID, being sent as the <InternalID> value.
For ERP replications to C4C the external ID will be referenced at the <Customer> node level of the payload.
CRM can send ID mapping information for other systems using the <Identification> node.
Here the < IdentifierIssuingAgencyName> node references the communication for which the mapping will be maintained and the <PartyIdentifierTypeCode> maintains the data type.
It is possible for this to contradict previously existing mapping information, which leads to this error.
Resolution
Ensure that the data being sent in the problematic web service payload is consistent with pre-existing C4C information.
If the pre-existing data in C4C is incorrect alter it manually via the ID mapping for Integration view in the Administrator work centre or if the data being sent is incorrect please change it at the source system.
Keywords
mapping for local object, UUID, ID mapping , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-CRM , Integration of C4C with CRM , How To