SAP Knowledge Base Article - Public

3411260 - Error "Code List Mapping for Value ABC of Data Type PartyRoleCode Missing" While Replicating Data to C4C

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

  1. Go to the Administrator work center.
  2. Go to the General Setting work center view.
  3. Open the Web Service Message Monitoring under System Administration.
  4. Select query All.
  5. 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:

 

  1. Go to the Business Configuration work center.
  2. Go to the Overview work view.
  3. Search for Code List Mapping for Integration with External Applications and Solutions fine-tuning activity.
  4. Open Maintain Code List Mapping.
  5. Search the Local Data Type name PartyRoleCode.
  6. Use Mapping Rule = Map Individual Codes.
  7. Maintain the External Code ABC related to the desire Local Code.

See Also

KBA 2755753 - Code list mapping for value VE of data type BusinessPartnerRelationshipCategoryCode missing

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

Product

SAP Cloud for Customer core applications all versions