SAP Knowledge Base Article - Public

3599062 - Business Partner Initial Load To SAP Sales & Service Cloud Version 2 Fails in Message Monitoring

Symptom

While performing the initial load of business partners 'ABC' from SAP S/4HANA or SAP ERP to SAP Sales & Service Cloud Version 2, the messages are failing with the following error. 

"Mapping Error at tempPartnerId: Key mapping not found for XYZ, external key $.customer.salesArrangements[].partnerFunctionRelationships[].partnerDisplayId"

Environment

SAP Sales & Service Cloud Version 2 Integration with SAP S4HANA
SAP Sales & Service Cloud Version 2 Integration with SAP ERP

Cause

XYZ is a sales area dependant relationship added to ABC and is not yet replicated

Resolution

During the initial load, replicate all business partners without including partner functions. Afterwards, perform a reload to include the partner functions. 

We recommend to check the SAP Note 3290399 to understand how to filter out the partner functions based on S4HANA Version

Note: Self Reflexive Partner Functions have to be permanently filtered on SAP S4HANA or SAP ERP as they are not supported for replication to Sales & Service Cloud Version 2

See Also

https://me.sap.com/notes/3290399

Keywords

"Mapping Error at tempPartnerId: Key mapping not found" ; "$.customer.salesArrangements[].partnerFunctionRelationships[].partnerDisplayId", "sap.crm.md.integrationmetadataservice.entity.businessPartnerS4ReplicationMessageIn ", "businessPartnerS4ReplicationMessageIn" , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0