cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to view data of Attribute view of SQL Type

0 Kudos

Hi,

I have created a AT view with one table and in view property i select secured by SQL Analytic privilege and when i try to view the data I get Insufficient privilege error. However the same Attribute view if i create from classical approach I am able to view the data. Is there any privilege option specifically needs to be granted for views secured by SQL AP? Because the same user can not give different outcome.

Any help appreciated.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

chandan_praharaj
Contributor
0 Kudos

can you share the screeb shot of the calc view property and the error you are getting.

0 Kudos

I am not able to preview the data by adding objects to objects pan in HANA studio

muthuram_shanmugavel2
Contributor
0 Kudos

Hi,

New SQL Analytic privilege has to be created by this Attribute View and

This SQL Analytic privilege has to be applied to your user.

Then only you can able to view the data from this Attribute View.

Check think link for detailed steps:

Create SQL Analytic Privileges - SAP HANA Developer Guide for SAP HANA Studio - SAP Library

Regards,

Muthuram

0 Kudos

Hi,

I am able to create a view with property as SQL Analytic Privilege, but the issue is I am not able to preview the data.

muthuram_shanmugavel2
Contributor
0 Kudos

Hi,

What I have told in previous thread is,

1. Create New Analytic privilege with SQL Type.

2. In this Analytic Privilege, Add your Attribute View and Apply Restriction Condition on required column. Save and Activate this SQL Analytic privilege.

3. Apply this SQL Analytic Privilege to the User which you are using to check the Data Preview.

4. Then Using this User, you can able to see the Data Preview of Attribute View successfully.

Regards,

Muthuram

0 Kudos

Hi,

I got what the issue was and sharing the same...here is what I did.

Actually the user with which I was logged in has AP _SYS_BI_CP_ALL assigned to it, but this privilege secured only classic information view and not the one secured by SQL. So I had to add in the AP the views secured with SQL AP and then the user was able to view the data.

Thanks for your help.