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 Cloud for Customer
- SAP ERP
Reproducing the Issue
- Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration
- Go to the Erroneous query.
- Select the incoming payload with Service Interface CustomerOrderReplicationIn
- Click on View → Error log
You face the error: "Please correct the document type".
Cause
Code List Mapping is maintained for "BusinessTransactionDocumentProcessingTypeCode" but for a different Mapping Group than the one maintained on the Communication Arrangement.
Resolution
-
- Go to Business Configuration Work Center.
- Click on Overview.
- Search for *Code List Mapping*.
- Open the Code List Mapping for Integration with External Applications and Solutions Activity.
- Select the Maintain Code List Mapping option.
- On the Local Data Type Name Column, search for "BusinessTransactionDocumentProcessingTypeCode".
- Check the Mapping Group maintained for it.
- You need to make sure to be using the same Mapping Group as the one used on the Communication Arrangement.
Keywords
CustomerOrderReplicationIn, C4C, ERP, BusinessTransactionDocumentProcessingTypeCode, Code List Mapping, "Please correct the document type" , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To
Product
SAP Cloud for Customer core applications 2402