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
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