You are replicating Business Partners(Customer or Contact) from External System to SAP Cloud for Customer using below interfaces.
Even though the inbound messages are successful, but the corresponding Customer/Contacts are not found in the respective views.
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator>>General Settings workcenter view.
- Open Webservice Message Monitoring view.
- Find the relevant Business Partner replication inbound message, ensure its successful.
- Now go to Customers workcenter, open respective workcenter view Accounts/Individual Customers/Contacts.
- Search for the replicated BP, no records are shown.
When you replicate Business Partners from External System to Cloud for Customer, you need to ensure you are sending correct CategoryCode and Role.
CategoryCode represents what type of Business Partner it is, supported values are,
1 - Person
2 - Organization
And Role determines which BP role has to be assigned to the replicated BP.
CategoryCode and Role works in cohesion with each other.
If the Payload has CategoryCode 1 and Role is of type "Customer", then an Individual Customer is created.
If the Payload has CategoryCode 2 and Role is of type "Customer", then an Account(Customer) is created.
If the Payload has CategoryCode 1 and Role is "Contact", then a Contact is created.
Please Note: If there is no Role is sent in the payload, then C4C will only create a Business Partner, which can be searched in Business Partners workcenter.
Roles being sent in the paylaods work via code list mappings, so ensure you have adequate code list mappings maintained for the datatype BusinessPartnerRoleCode.
This is an expected system behavior.
Check the payload and ensure what values are sent for CategoryCode and Role, then look for the replicated Business Partner in the respective workcenter view.
CategoryCode; BusinessPartnerReplicationIn; BusinessPartnerERPReplicationIn; Account not found; Customer not found; Contact not found; , KBA , AP-RC-WSM , Web Service Message Monitoring View , LOD-CRM-INT-YMT , Integration of C4C with Marketing , LO-INT-COD , CRM On Demand Integration , LOD-CRM-INT-CRM , Integration of C4C with CRM , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem