SAP Knowledge Base Article - Public

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

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

  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

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

  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

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

Product

SAP Cloud for Customer 1808 ; SAP Cloud for Customer 1811