2585255 - Incorrect Status When You Replicate Leads From SAP CRM

SAP Knowledge Base Articles - public

2585255 - Incorrect Status When You Replicate Leads From SAP CRM


You replicate leads from SAP CRM to Cloud for Customer (C4C) and you notice that all the replicated leads have status 'Open' in C4C.


SAP Hybris Cloud for Customer


Reproducing the Issue

Pre-requisites: you have a working communication scenario using 'Lead Replication from SAP Business Suite' and you replicated a lead from your CRM system to C4C.

  1. Go to the Administrator work center.
  2. Open Web Service Message Monitoring.
  3. Search for the incoming message for the lead you replicated from CRM. View the payload and observe the status tags: there is no UserStatusCode within the Status tags.
  4. Go to the Sales work center.
  5. Go to the Leads view.
  6. Open lead ABC (ABC represents the ID of the replicated lead).

Observe the status field of the lead: the lead has 'Open' status, however, in your CRM the status is different.


The configuration for the status of the lead is not setup properly in your middleware and/or in C4C.


In order to have the same status for the leads in CRM and C4C, we recommend using the UserStatusCode during replication.

1. You need to enable the mapping for:


UserStatusCode is delivered as inactive for backward compatibility reasons, therefore, it is not enabled by default.

2. You need to maintain the user status for the lead in Business Configuration work center (Leads activity > Maintain Status).

3. You need to setup and maintain the value mapping (CRM:Status/COD:UserStatusCode) in your middleware.


lead status, open status, incorrect status, UserStatusCode , KBA , LOD-CRM-INT-CRM , Integration of C4C with CRM , How To


SAP Cloud for Customer 1211 ; SAP Cloud for Customer 1302 ; SAP Cloud for Customer 1305 ; SAP Cloud for Customer 1308 ; SAP Cloud for Customer 1311 ; SAP Cloud for Customer 1402 ; SAP Cloud for Customer 1405 ; SAP Cloud for Customer 1408 ; SAP Cloud for Customer 1411 ; SAP Cloud for Customer 1502 ; SAP Cloud for Customer 1505 ; SAP Cloud for Customer 1508 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP Cloud for Sales 3.0 ; SAP HYBRIS C4C 1705 ; SAP HYBRIS C4C 1802 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711 ; SAP Sales OnDemand 1.0 ; SAP Sales OnDemand 2.0 ; SAP Sales OnDemand 4.0