Symptom
When replicating the Sales Order from ERP System to C4C, the incoming payload fails with the error: Please correct the document type.
Environment
SAP Hybris Cloud for Customer - SAP ERP
Reproducing the Issue
-
Go to Administration Work Center and open Webservice message monitoring
- Select the incoming payload (Service Interface: CustomerOrderReplicationIn)
- Cick on View -> Error log
Cause
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:
<ProcessingTypeCode>XX</ProcessingTypeCode>
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.
Resolution
- Go to Business configuration --> Implementation Project
- Open Activity List --> Sales Orders
- Select Maintain Document Types and Add row and create YY with description Sales Order
Keywords
BusinessTransactionDocumentProcessingTypeCode document type C4C sales order , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LO-INT-COD , CRM On Demand Integration , Problem