Symptom
- Unable to connect to HANA server instance:
- An error occurred: Data Source creation failed / The view does not exist or you have not enough rights to open it (HDB 02074)
Environment
- Lumira 1.0 (formely Visual Intelligence)
- HANA 1.0 SPxx
Reproducing the Issue
- Click "New Document"
- Select "From HANA"
- Connect & Select a View to acquire
Cause
- Missing HANA Authorizations
Resolution
- Often the quickest "catch-all" way of resolving this issue, is to assign the "Modelling" role to the problematic user, whilst logged-in into HANA Studio as SYSTEM:
-
However, please be aware that this is not considered 'best-practice': Granting the Modelling role is not strictly necessary simply for viewing HANA models in a BI use-case.
-
It also has the undesirable side-effect of by-passing row restrictions imposed by Analytic Privileges.
Minimum Privileges to Use an Analytic View as a Dataset
Minimum Privileges required for Publishing a Dataset to HANA:
Type | Privilege | Description |
---|---|---|
Object | SELECT on _SYS_BI | |
Object | EXECUTE on REPOSITORY_REST | |
Package | REPO.READ on .REPO_PACKAGE_ROOT REPO.EDIT_NATIVE_OBJECTS on .REPO_PACKAGE_ROOT REPO.ACTIVATE_NATIVE_OBJECTS on .REPO_PACKAGE_ROOT REPO.MAINTAIN_NATIVE_PACKAGES on .REPO_PACKAGE_ROOT |
See Also
See the section "Important considerations for using SAP HANA" in the latest online user guide: http://help.sap.com/lumira
See also Note 1702224 - Disable password lifetime for technical users
See also Note 1775385- HANA Views are not visible in Explorer for Resolution:
See also Note 1702224 - Disable password lifetime for technical users
See also Note 1775385- HANA Views are not visible in Explorer for Resolution:
-
Execute the following SQL statement as SYSTEM user and restart the indexserver process of SAP HANA Database:
-
update "_SYS_REPO"."SCHEMAVERSION" set db_schema_version = 16 where schema_type = 'bi'
-
After running the SQL some Cubes may be still missing due to having two tables and overlapping Cube IDs that cannot be migrated from BIMC_CUBES to BIMC_ALL_CUBES table.
-
Important: It is therefore highly recommended to reactivate again all Models after the workaround.
Keywords
permission lumira srv
Header Data
Released On | 25.09.2015 22:11:44 |
Release Status | Released to Customer |
Component | BI-LUM-DSK SAP Lumira (Desktop) |
Priority | Normal |
Category | How To |
No comments:
Post a Comment