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,
- Creating a data definition ZABC in ABAP Environment.
- Release it as C1 with Use in Key User Apps and Use in Cloud Development enabled.
In customizing tenant,
- Accessing the Custom Fields app.
- Create a new custom field.
- Choose "Code List based on CDS View" as type.
- Searching for the view ZABC.
- 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
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