SAP Knowledge Base Article - Public

2698772 - C4C-ERP Integration error: Please correct the document type


When replicating the Sales Order from ERP System to C4C, the incoming payload fails with the error:   Please correct the document type.


SAP Hybris Cloud for Customer - SAP ERP

Reproducing the Issue

  1. Go to Administration Work Center and open Webservice message monitoring
  2. Select the incoming payload (Service Interface: CustomerOrderReplicationIn)
  3. Cick on View -> Error log


The error "Please correct the document type" is due to the fact that you don't have a Processing Type code XX configured for Sales orders in BC.
In Payload you have:


In Code list mapping for "BusinessTransactionDocumentProcessingTypeCode"
you have mapped external code XX to local code YY for Sales orders, but
the Local code YY is not configured.


  1. Go to Business configuration --> Implementation Project
  2. Open Activity List --> Sales Orders
  3. Select Maintain Document Types and Add row and create YY with description Sales Order


BusinessTransactionDocumentProcessingTypeCode   document type C4C sales order , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LO-INT-COD , CRM On Demand Integration , Problem


SAP Cloud for Customer add-ins 1808 ; SAP Cloud for Customer add-ins 1811