Symptom
- An error occurs when previewing a custom analytical query.
- Error message: "Cannot read properties of undefined (reading 'Name')".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to the application Custom Analytical Queries and Services.
- Click Manage Queries.
- Select the relevant custom analytical query.
- Click Preview.
- Observe the error message: "Cannot read properties of undefined (reading 'Name')".
Cause
The error is caused by the absence of a valid measure in the query.
Resolution
- Open Custom Analytical Queries and Services.
- Edit the affected custom analytical query.
- Add at least one valid measure to the query.
- Save and publish the query.
- Preview the query again and confirm the error no longer appears.
Keywords
custom analytical queries, preview error, cannot read properties of undefined, reading name, undefined name, measure missing, no measure, add measure, analytical dimension, query preview, fiori query designer, s/4hana cloud public edition, analytical query error, manage queries, custom query , KBA , BC-SRV-APS-ANA-MDA , Generic Player for Multidimensional Analysis , BC-SRV-APS-EXT-AQD , Fiori based Query Designer , Problem
Product
SAP S/4HANA Cloud Public Edition 2602
SAP Knowledge Base Article - Public