When you change the Partner Function in S4H (i.e. Bill-to Party, Ship-to-Party ) from Business Partner 123 to Business Partner 456 and this is replicated to C4C, the Partner Function is not being updated but a duplicated entry is being created.
SAP Cloud for Customer
In the Business Configuration, General Business Partner Activity -> Relationships, you have not marked this relationship type as Sales Area Dependent.
Here is what happens:
1. The Partner Function initially is replicated to C4C.
Since it's type is not marked as "Sales Area Dependent" it is converted from a Partner Function to a regular Relationship ("without sales area data").
2. The Partner Function is replicated again to C4C with a different Business Partner. Due to LCTI (ListCompleteTransmissionIndicator) "true", all Partner Functions for the given Sales Area not sent with the payload will be deleted. Thus, this Sales Area independent Relationship survives (not the same sales area as in the payload).
In order to fix the issue, please flag the Relationship as Sales Area Dependent in the Relationship Activity under General Business Partner.
Partner Function, Business Partner, S4H , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem