Symptom
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.
Environment
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.
Cause
The replication message contains more than one "Customer" role assigned for the same Business Partner, which is not possible.
Resolution
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.
Keywords
Business Partner, Customer roles , KBA , role code , business partner , customer roles , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To