Symptom
Unable to create a Custom CDS View with the External API scenario using data source I_User, despite the View Browser showing it as released for key user.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Custom CDS Views app.
- Start creating a new Custom CDS View with the External API scenario.
- Select I_User as the primary data source.
- Observe that creating or exposing the view as an External API is not possible.
Cause
The standard CDS view I_User has the status “privileged only”, which prevents direct data access and exposure as an External API.
Resolution
- Do not use I_User as the primary data source for an External API scenario.
- Choose an appropriate primary data source that is eligible for the External API scenario.
- In the Custom CDS View, add I_User as an association (with privileged access) to reference the required user information.
- Complete the design, publish the Custom CDS View, and expose it as an External API based on the chosen primary data source.
Keywords
I_User, custom cds view, external api, privileged-only, privileged access, key user released, view browser, association datasource, primary datasource, cds data access, s/4hana cloud, cds preview, not possible to expose, key user extensibility, generic cds editor , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
SAP Knowledge Base Article - Public