SAP Knowledge Base Article - Public

3504495 - PDI Field Missing from Code List Options for 'Code To Restrict'

Symptom

When creating a Code List Restriction, a field which has been created does not appear as an option in code to restrict.

Environment

SAP Cloud For Customer

Reproducing the Issue

  1. Create a New Code List Restriction.
  2. Select the desired BO.
  3. See that custom field 123 is not showing up as code to restrict in the dropdown list, only the standard field XYZ is visible.
  4. It is possible to see that both fields contain the same datatype. 

Cause

Code list works on datatype not fields. It requires different fields to have different datatype to show on the code list restriction to be selected, if multiple fields of the same datatype exist only one will be displayed. 

However, even if one field of the datatype is selected, it will be applied to all fields as they have the same datatype. 

Resolution

This is the expected system behavior.

Keywords

Code List, PDI, CLR, Code to Restrict, C4C, Datatype. , KBA , LOD-LE-RC-CLR , Code List Restriction , Problem

Product

SAP Cloud for Customer core applications all versions