Symptom
- An analytical query was created using ABAP Environment (Developer Extensibility), as per Implementing an Analytical Query | SAP Help Portal.
- The query was released for key-user usage, as per Releasing Development Objects | SAP Help Portal.
- The query appears in the Manage KPIs and Reports app but fails at runtime after selection.
- Observed error message: “Dataset cannot be initialized”
Environment
- SAP S/4HANA Cloud Public Edition
- Developer Extensibility (ABAP Environment)
Reproducing the Issue
- Log on to Eclipse ABAP Development Tools (ADT) in the development tenant.
- Create a new Analytical Cube or use an existing one.
- Create an Analytical Query based on the Analytical Cube.
- Release the API state (C1) for the query.
- Open the Manage KPIs and Reports app and attempt to use the released analytical query in a story.
- The story fails to load with dataset initialization errors.
Errors:
- Please contact your administrator. Model: ZQUERY Correlation ID:
- Unable to initialize dataset: Please contact your administrator. Model: ZQUERY Correlation ID:
Browser Console (DevTools):
- Error: Error [Server]: You do not have start authorization for R3TR INA1 ZSERVICE, return code 4.; MsgClass: S_PROFGEN_START_AUTH;; OlapMsgClass: 0; -
- ERROR] Failed to fetch data (Correlation Id: undefined), devMessage: Error [Server]: You do not have start authorization for R3TR INA1 ZSERVICE , return code 4.; MsgClass: S_PROFGEN_START_AUTH;; OlapMsgClass: 0;, clientStatusCode: 0, serverStatusCode: 200
Cause
Missing authorization for the InA service generated for the analytical model. The required InA service is not included in any IAM app and business catalog assigned to the user, leading to the runtime failure.
Resolution
Define and authorize the InA exposure for the analytical model:
- Create the InA service exposure:
- Create a service definition and service binding (protocol InA) for the analytical cube/query.
- Model the access in IAM:
- Create or maintain an IAM app for the InA service.
- Create or maintain an IAM business catalog and include the IAM app (InA service) in the catalog.
- Assign roles:
- Assign the IAM business catalog to the appropriate business role.
- Assign the business role to the affected user(s).
- Verify:
- Save your changes.
- Re-test by creating/opening the story in Manage KPIs and Reports app. The dataset should initialize without authorization errors.
See Also
Developing Analytical Data Models and Analytical Apps | SAP Help Portal
Business Service Exposure (Define Service Definition and Binding via InA)
Identity and Access Management (Create IAM App and Assign Business Catalog)
Keywords
ADT, analytical query, C1 release, story, Manage KPIs and Stories, InA service, INA1, S_START, authorization check not successful, dataset cannot be initialized, IAM app, business catalog, service binding, analytical cube, start authorization , KBA , CA-GTF-SB-S4H-DT , SAP Smart Business S4H - Design Time , BC-SRV-APS-ANA-SSB , SAP Smart Business , Problem
SAP Knowledge Base Article - Public