Symptom
- When performing Data Preview for Datasphere Analytic Model, following error occurs:
---
Error message: Error [Server]: (#42014) Caught exception: exception 70000002: general error: ... referencedExpMap.find(currentOp) != referencedExpMap.end().
--- - Issue only occurs at Analytic Model level, same data can be previewed successfully in the underlying views (source Fact view) without issue.
- Issue may only occurs with specific options such as when the “Set unbooked values = 0” is disabled for a non-cumulative measure in the model.
Environment
SAP Datasphere
Reproducing the Issue
- Login to Datasphere.
- Open the Analytic model.
- Perform Data Preview for the Analytic Model.
- Observe that the preview fails with error:
---
The query executed with errors.
Error [Server]: (#42014) Caught exception : exception 70000002: general error: ; \$condition\$=referencedExpMap.find(currentOp) != referencedExpMap.end().
---
Cause
A known issue of unexpected pre-groupby related to unionall in HANA Cloud database MDS handling.
Resolution
This issue is fixed in SAP HANA Cloud database release 2026.2.11 and later versions.
To solve the issue, upgrade the SAP Datasphere's HANA Cloud Database Release manually to the latest available patch version of the current QRC as per guidance in Apply a Patch Upgrade for SAP HANA Cloud in SAP Datasphere.
Alternatively, wait for the next planned QRC upgrade(QRC3/2026 planned for October 30 - November 1, 2026) where the fix is included. Please check the upgrade plan details in SAP Note 3220622 - HANA Cloud Release for SAP Datasphere.
Keywords
Analytic Model, non-cumulative measure, unbooked values, set unbooked values = 0, virtual source, virtual space, preview error, 42014, exception 70000002, referencedExpMap, MDS, HANA Cloud patch, noncumulative time interval, Datasphere , KBA , DS-MD-AM , Analytic Model , HAN-DB-ENG-MDS , SAP HANA Multidimensional Services MDS / InA , Problem
SAP Knowledge Base Article - Public