SAP Knowledge Base Article - Public

3503402 - "No authorization to view data" error on a custom CDS view in Eclipse

Symptom

Getting error "No authorization to view data" when tried to preview the data of a custom CDS view built on Eclipse in S/4HANA Cloud Customizing client (100). The same works on Development client (080).

Environment

SAP S/4HANA Cloud - 3 System Landscape

Cause

The view was not released for C1 contract hence preview will work only in development. 

Resolution

Add C1 release contract for the CDS View to solve the issue.

See Also

Extensibility > Virtual Data Model and CDS Views in SAP S/4HANA Cloud > Stability Contracts for CDS Views

SAP - ABAP Development Tools: User Guide > Released APIs

    Keywords

    Customizing tenant, 3SL , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , BC-DWB-AIE-DP , Data Preview in ABAP Development Tools in Eclipse , Problem

    Product

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