Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Analytic privileges for analytic view – Error on data preview

$
0
0

Hello,


 

I have an issue concerning analytic privileges within HANA Studio. The data preview raises an error message when querying the raw data tab. We are using SPS05 and HANA Studio Rev 56.


 

I created an analytic privilege ("AP_TEST") that contains one analytic view ("AN_DAILY") as the reference model. I also added a attribute restriction and assigned a fixed value with the equal operator. The activation of this analytic privilege worked without any problems.


 

I then created a user account ("TEST") in order to test my analytic privilege. I compared my configuration with several tutorials and finally assigned the following permissions to my user:

 

Granted Roles: PUBLIC

SQL Privileges: _SYS_BI (Execute, Select), _SYS_BIC (Execute, Select), REPOSITORY_REST (Execute)

Analytic Privileges: AP_TEST

System Privileges: Catalog Read, Data Admin

Package Privileges: TEST (the name of the package where my analytic view and analytic privilege are located in)

 

 

After assigning the privileges to my test user I added a new system with the respective user. Afterwards I tried to open the data preview for my analytic view in order to validate the restricted data output. When I now click on "Raw Data" I am getting the following error message:image002.jpg

 

Until now I do not really understand the root cause of this problem. I assume that the necessary privileges are given to my test user. I also assume that I do not explicitely need to assign privileges for the respective database schema (but I also tried this as well, same result).

 

I also tried a couple of more configurations / cobinations but at the end I am always getting the same message. The output of my indexserver trace file says the following:

 

[188296]{222130}[-3650053] 2013-07-14 23:20:38.298984 e CalcEngine   ceAuthorizationCheck.cpp(00331) : AuthorizationCheckHandler::isAuthorizedToSelect (AP check): (Original) User TEST is not authorized on _SYS_BIC:TEST/AN_DAILY (793303)

 

I already tried to assign SQL privileges on the specific analytic view ("AN_DAILY") but it didn't work either.

 

Does anyone know what to do to resolve this problem? I really appreciate your help.

 

Thanks,

Fabian


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>