Business objects have IDs to identify them within a system. In an integrated landscape where objects are replicated from one system to another, the ID of a specific object might vary across systems, and affected systems need to handle such differences. SAP Sales and Service Cloud Version 2 uses External ID Mapping for this purpose.
Internal IDs and External IDs
When an object is replicated from SAP S/4HANA, the cloud CRM assigns its own Internal ID and saves the object’s ID from the sending system as the corresponding External ID in the External ID Mapping. Depending on the configuration, the internally assigned ID can match or differ from the External ID. Whether the IDs are the same or different, the External ID Mapping entry is always created and is necessary for referencing objects.
The internal ID is usually assigned automatically based on the configured number ranges. However, it can also be affected by the received replication message. The following screenshot, which we already saw in the previous lesson, shows the field ReceiverInternalID.

The ReceiverInternalID field is typically used in the following two cases:
- The sending system knows the object’s ID in the receiving system and sends it for further reference. SAP S/4HANA performs this.
- If the object is being replicated for the first time, the field can influence the assigned ID in the receiving system, as long as it falls within the configured number range. This is typically handled in the message mapping in Cloud Integration.
Confirmation Messages
When an object is replicated from a source system to a target system, the target system can acknowledge receipt by sending a Confirmation Message back to the source system. The confirmation message includes the ID assigned in the target system, so the source system knows the ID in the target system.
Example: A Business Partner is sent from SAP S/4HANA to the cloud CRM. The cloud CRM responds with the Confirmation Message back to SAP S/4HANA, which includes the cloud CRM’s business partner ID. SAP S/4HANA stores this ID in the Unified Key Management, which is the equivalent of the cloud CRM’s External ID Mapping. Therefore, SAP S/4HANA knows the ID of the business partner in SAP Sales and Service Cloud Version 2 and can send it along if needed.
Confirmation messages can be turned on or off per integration scenario. While using them is recommended, it is not always required. It’s usually sufficient when one system can translate them. However, this depends on the integration scenarios and the system landscape.
- For the uni-directional product replication from SAP S/4HANA to the cloud CRM, where internal and external IDs are often the same, they can usually be turned off.
- For bi-directional integration of business partners between SAP S/4HANA and the cloud CRM, where new prospects can be created in the cloud CRM and later, during account conversion, sent to SAP S/4HANA with different IDs in each system, it is highly recommended.
Especially if there are more systems integrated than just SAP Sales and Service Cloud Version 2 with SAP S/4HANA, for instance, custom integrations with third-party systems, it might make sense to have IDs of other systems available in each system.



