SAP Knowledge Base Article - Public

3842825 - How to Replicate Key Mapping Between SAP MDG, SAP Sales Cloud Version 2, and SAP S/4HANA Using the Standard CPI iFlow

Symptom

When objects are replicated from SAP Master Data Governance (MDG) to SAP Sales Cloud Version 2, the External ID Mapping is created only for the MDG Communication System. 
No External ID Mapping entry is created for the target SAP S/4HANA Sales system (S4_SALES). 

Environment

  • SAP Sales Cloud and SAP Service Cloud Version 2.
  • SAP Master Data Governance (MDG) on S/4HANA.

Reproducing the Issue

In a landscape where SAP Master Data Governance (MDG) manages master data, SAP Sales and Service Cloud Version 2 (SSCv2) is used for CRM, and a separate SAP S/4HANA system handles transactional processing, key mapping entries (External Object Identifiers) need to be synchronised across all three systems so that objects such as Products, Business Partners, and BP Relationships can be correctly identified in each system.

Cause

SSCv2 creates one External ID Mapping entry per object per replication message, scoped to the Business System ID of the sending system (`SenderBusinessSystemID` in the SOAP message header). When MDG is the sender, the External ID Mapping is registered under the MDG Communication System only. No entry is created for the S/4HANA Communication System (S4_SALES), which is a separate system used for transactional flows.

Resolution

Use the prepackaged SAP Cloud Integration iFlow "Replicate Key Mapping from SAP Master Data Governance" to replicate key mapping entries from S/4HANA to SSCv2.
This creates the missing External ID Mapping entries under the Communication System for Products, Business Partners, and BP Relationships.

The iFlow is available in the SAP API Business Hub:
https://api.sap.com/integrationflow/com.sap.s42cns.keymapping.replication

Keywords

 External Object Identifier, External ID Mapping, product replication, MDG, S/4HANA, Sales Order replication, key mapping, Sales Cloud Version 2, , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Product Enhancement

Product

SAP Sales Cloud and SAP Service Cloud Version 2 all versions