Symptom
- Access to the query C_SalesVolumeAnalyticsQry is required for a specific user in the Query Browser.
- A custom business role was created and assigned the business catalog SAP_BW_BC_AQB_PC.
- When attempting to maintain a restriction for C_SalesVolumeAnalyticsQry, the Restricted option is disabled for Read, Write, and Value Help.
- Confirmation is needed on whether restricting a specific CDS query within the Query Browser using role restrictions is technically possible.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a custom business role (for example, ZS_QUERY_BROWSER).
- Assign the business catalog SAP_BW_BC_AQB_PC to the role.
- Attempt to maintain a restriction for the query C_SalesVolumeAnalyticsQry.
- Observe that the Restricted option is disabled for Read, Write, and Value Help.
Cause
- The business catalog SAP_BW_BC_AQB_PC has no restriction type; therefore, the access category cannot be set to Restricted in the role.
- Restricting access at the level of an individual CDS query within the Query Browser using role restrictions is not supported.
Resolution
- Acknowledge that catalog SAP_BW_BC_AQB_PC does not provide a restriction type; the Restricted option is disabled by design.
- It is not technically possible to restrict access to a specific CDS query (such as C_SalesVolumeAnalyticsQry) within the Query Browser using role restrictions. Communicate this product limitation.
Keywords
query browser, C_SalesVolumeAnalyticsQry, cds query restriction, SAP_BW_BC_AQB_PC, restricted option disabled, read write value help, role restrictions, catalog without restriction type, CA-GTF-VDM-QB, analytics queries, access control, authorization, query-level restriction, s/4hana cloud, business role , KBA , CA-GTF-VDM-QB , Query Browser , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public