SAP Knowledge Base Article - Public

3757021 - Cannot create custom cds view for External API fromm I_User due to privileged-only access - SAP S/4HANA Cloud Public Edition

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

  1. Open the Custom CDS Views app.
  2. Start creating a new Custom CDS View with the External API scenario.
  3. Select I_User as the primary data source.
  4. 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

  1. Do not use I_User as the primary data source for an External API scenario.
  2. Choose an appropriate primary data source that is eligible for the External API scenario.
  3. In the Custom CDS View, add I_User as an association (with privileged access) to reference the required user information.
  4. 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

Product

SAP S/4HANA Cloud Public Edition all versions