SAP Knowledge Base Article - Public

3782562 - Cannot create story on top of query created in ABAP Environment - Developer Extensibility - SAP S/4HANA Cloud Public Edition

Symptom

Environment

  • SAP S/4HANA Cloud Public Edition
  • Developer Extensibility (ABAP Environment)

Reproducing the Issue

  1. Log on to Eclipse ABAP Development Tools (ADT) in the development tenant.
  2. Create a new Analytical Cube or use an existing one.
  3. Create an Analytical Query based on the Analytical Cube.
  4. Release the API state (C1) for the query.
  5. Open the Manage KPIs and Reports app and attempt to use the released analytical query in a story.
  6. 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:

  1. Create the InA service exposure:
    • Create a service definition and service binding (protocol InA) for the analytical cube/query.
  2. 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.
  3. Assign roles:
    • Assign the IAM business catalog to the appropriate business role.
    • Assign the business role to the affected user(s).
  4. 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

Product

SAP S/4HANA Cloud Public Edition all versions