Symptom
You are replicating data from external system to C4C and facing the error "Code list mapping for value ABC of data type PartyRoleCode missing" (where ABC means a generic ID) in the web service message monitoring.
Environment
SAP Cloud for Customer
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.
- Select query All.
- Search for message ID with error "Code list mapping for value ABC of data type PartyRoleCode missing".
Cause
When checking the payload the following is observed:
<PartnerFunctions actionCode="04">
<PartyRoleCode>ABC</PartyRoleCode>
<PartyInternalID>123456789</PartyInternalID>
<DefaultIndicator>false</DefaultIndicator>
</PartnerFunctions>
However, when you go to Code list Mapping fine-tuning activity in the Business Configuration work center and search for PartyRoleCode Local Data Type Name, there is no mapping for external code "ABC" maintained.
Resolution
In order to resolve it you can follow the steps below:
- Go to the Business Configuration work center.
- Go to the Overview work 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 PartyRoleCode.
- Use Mapping Rule = Map Individual Codes.
- Maintain the External Code ABC related to the desire Local Code.
See Also
SAP Help Guide > SAP Cloud for Customer Set Up Guide > Integration > Code Lists Maintenance
SAP Blog Post Codelist mapping in Hybris C4C for an integrated scenario
Keywords
Code List Mapping, PartyRoleCode, Party Role, C4C, Mapping, "Code list mapping for value of data type PartyRoleCode missing". , KBA , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To