SAP Knowledge Base Article - Public

3688212 - Error Message "Code Value XY not valid" when Replicating ERP Accounts to C4C

Symptom

Error message "Code Value XY not valid"" when replicating ERP Accounts to C4C via BusinessPartnerERPReplicationIn.

Environment

  • SAP Cloud for Customer
  • SAP ERP

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 Erroneous.
5. Search for message ID with error "Code Value XY not valid".

Cause

The issue arises because the an external code is mapped to XY local code in the code list mapping, but XY has not been maintained as a Customer Group under Accounts Activity in Business Configuration.

Resolution

  1. Navigate to Activity "Accounts" in the Business Configuration settings.
  2. Open the "Customer Groups" section.
  3. Add XY as a Customer Group under Accounts Activity.

See Also

No additional references or links are provided in the case information.

Keywords

code value not valid, C4C production, SAP ERP, customer master data, webservice message monitoring, payload error, accounts failed, customer group, business configuration, integration issue, SAP Cloud for Customer , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer core applications all versions