Symptom
- In the Custom Analytical Queries and Services app, activating a query fails.
- Error message displayed: "Activation failed."
- The issue occurs when creating/checking/activating a query based on a custom or standard CDS data source.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Custom Analytical Queries and Services app.
- Create a new query or open an existing one based on a CDS data source (custom or standard).
- Choose Check or Activate.
- The system shows the error "Activation failed."
Cause
The user’s assigned business role did not include write authorization for query design; only read access was granted, which prevents creating or activating queries.
Business catalog: SAP_BW_BC_AQD_PC
Resolution
- In Maintain Business Roles, identify the business role assigned to the user who designs/activates queries.
- Ensure the role includes the Analytics - Query Design (SAP_BW_BC_AQD_PC) business catalog with write access set to Unrestricted.
- If needed, assign or copy an appropriate role template that grants write/develop permissions for the Custom Analytical Queries and Services app.
- Assign the corrected role to the user.
- Log off and log on again to refresh authorizations.
- Return to the Custom Analytical Queries and Services app and run Check/Activate on the query; activation should complete successfully.
Keywords
custom analytical queries, activation failed, activation error, cds view, query activation, missing authorization, write access, business role, analytics - query design, sap_bw_bc_aqd_pc, fiori query designer, s/4hana cloud public edition, check error, create query, authorization failed , KBA , BC-SRV-APS-EXT-AQD , Fiori based Query Designer , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public