SAP Knowledge Base Article - Public

3422413 - CDS view created in development tenant (ABAP Environment) is not available for custom fields type "Code List based on CDS View" - Custom Fields

Symptom

CDS view created in development tenant (ABAP Environment) using ABAP Development Tools (ADT) is not available for custom fields of type "Code List based on CDS View"

Environment

SAP S/4HANA Cloud

Reproducing the Issue

In development tenant,

  1. Creating a data definition ZABC in ABAP Environment.
  2. Release it as C1 with Use in Key User Apps and Use in Cloud Development enabled.

In customizing tenant,

  1. Accessing the Custom Fields app.
  2. Create a new custom field.
  3. Choose "Code List based on CDS View" as type.
  4. Searching for the view ZABC.
  5. The view is not available.

Cause

  • Only C1 released custom entities, key user custom CDS views and SAP (C1 released) CDS views are supported.
  • Custom CDS views (data definitions) created with ABAP Environment are not supported.

Resolution

Create a custom entity as per SAP Help - Creating a Field of the Type Code List Based on CDS View: Example.

Create a custom CDS view (value help scenario) using the Custom CDS Views app as per SAP Help - Value Help.

See Also

SAP Help - Creating a Field of the Type Code List Based on CDS View: Example

SAP Help - Value Help

Keywords

custom cds view, custom field, Code List based on CDS View, adt, 3sl, value help scenario, custom entity, abap environment, s/4hana cloud , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions