Symptom
When replicating data from an external system to C4C, a message fails with error "Code list mapping for value XYZ of data type BusinessPartnerFunctionTypeCode missing" (where XYZ means the code ID).
Environment
SAP Cloud for Customer
Reproducing the Issue
- 1. Go to the Administrator work center.
- Go to the General Setting work center view.
- Open the Web Service Message Monitoring under System Administration.
- Select query "All".
- Search for message ID with error "Code list mapping for value XYZ of data type BusinessPartnerFunctionTypeCode missing".
Cause
The incoming payload has the field <BusinessPartnerFunctionTypeCode>XYZ</BusinessPartnerFunctionTypeCode>, but no code list mapping is maintained for this value.
Resolution
In order to resolve the issue, please follow the steps below:
- Go to the Business Configuration work center.
- Go to the Overview work center view.
- Search for Activity "Contacts" and open it.
- Click on "Maintain Functions".
- Maintain the code XYZ and its corresponding function.
- Now go back to Overview work center view.
- Search for Code List Mapping for Integration with External Applications and Solutions fine-tuning activity.
- Open Maintain Code List Mapping.
- Search the Local Data Type name BusinessPartnerFunctionTypeCode.
- Use Mapping Rule = Map Individual Codes.
- Maintain the External Code XYZ related to the desired Local Code.
See Also
C4C Integration Guide regarding mapping maintenance: https://help.sap.com/docs/SAP_CLOUD_FOR_CUSTOMER/5d3ae4aa1f174b2cb6ec625c93ef8884/18792d42763d10149e3df1bf37d11a04.html
Keywords
C4C, Code List Mapping, BusinessPartnerFunctionTypeCode, "Code list mapping for value of data type BusinessPartnerFunctionTypeCode missing" , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To