Symptom
- Creating a standard SQL view that selects from a fact view in the same space fails.
- Validation returns an error message showing only the source view name, with no further details.
- Network response includes a JSON message with only the source view name.
- Backend stack traces include “Compile failed with: INVALID_CSN”.
- Error detail contains “Unsupported usage of derived data access control”.
- Logs may include “ServiceWorkerExecutionError”.
Environment
- SAP Datasphere
Reproducing the Issue
- Open the target space in Data Builder.
- Create a new SQL view.
- Enter SQL such as: SELECT * FROM "xyz".
- Validate or save the SQL view.
- Observe that validation fails and the message shows only the source view name.
Cause
A validation defect occurs when creating SQL views that consume views which apply Data Access Controls derived from an associated dimension, leading to INVALID_CSN (“Unsupported usage of derived data access control”).
Resolution
- Identify the association(s) in the source view where “Applied Data Access Controls” is enabled and DAC is propagated from an associated dimension.
- Temporary workaround A: disable “Applied Data Access Controls” for the problematic association to unblock SQL view creation (only if acceptable for your scenario).
- Temporary workaround B: create a graphical wrapper view on top of the source view and have the SQL view consume the wrapper instead.
- Permanent fix: a correction is planned for an upcoming release (planned for release 2026.11). Monitor availability and revert temporary changes after the fix is delivered.
- Revalidate or recreate the SQL view and confirm it saves successfully.
See Also
Keywords
sql view creation, invalid_csn, data access control, dac, derived dac, applied data access controls, associated dimension, association, compile failed, validation error, serviceworkerexecutionerror, select from view, data builder views, sql view fails, datasphere , KBA , DS-SEC-DAC , Security – Data Access Control , Problem
Product
SAP Datasphere all versions
SAP Knowledge Base Article - Public