When replicating Business Partners from external system to C4C, the message is failing with error "BP AAA already has role ABC and is already a CUSTOMER".
Where AAA is the Business Partner ID and ABC is the role ID.
SAP Cloud for Customer.
Reproducing the Issue
After triggering the replication of the Business Partner from external system:
- In C4C, go to the Administrator work center.
- Go to the System Administration, Web Service Message Monitoring view.
- Search for the respective replicated message.
- Open the error log.
The replication message contains more than one "Customer" role assigned for the same Business Partner, which is not possible.
Compare the roles assigned in the incoming payload with the ones maintained under Business Configuration -> Accounts -> Customer Roles and check for the duplicated roles for Customer.
Business Partner, Customer roles , KBA , customer roles , role code , business partner , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To