on 01-22-2013 2:59 AM
I was trying to create a analytical view in SAP HANA with the help of following guide.
https://images.experiencesaphana.com/modeling-data/working-hana-modeller/creating-analytic-views/
I could not open data preview and received following error
SAP DBTech JDBC: [391] (at 119): invalidated view
After searching on SDN, I found following solution at http://scn.sap.com/thread/2043153
grant select on schema <SCHEMA> to SYSREPO with grant option;
grant select on schema <SCHEMA> to <USER>;
I successfully executed first statement but kept failing to execute second one. I was getting error. After reading the error message and SAP note I realized that I was logged in as SYSTEM so I do not have to execute second statement. I only needed this if I am allowing other users.
Silly, but I learnt something new.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angad,
Do one thing for testing purpose just create sample Attribute view run it then see the view is activated or not if not ur getting same error the u have to go for administrator or u have to give the analytic privileges under add ur package where ur create views
Regards
V@li
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes i can create a attribute view and preview the data. but in analytical view don't have permissions.
i'm wondering in HANA cloud platform why don't have an administrative rights? now since i'm a user how can i assign privileges which i don't have.
how to give permissions to my user id to have other privileges where i can create schema, create tables, load data etc.
in short how to assign rights for a user ( who doesn't have rights to assign) in Cloud platform.
any configuration to setup?
Regards,
-Varaprasad
Hi Angad,
There some mandatory input parameters and you not passing the values to it when you execute Data Preview option.
Sreehari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akhilesh,
In order to troubleshoot this you will need to do following:
> confirm if you are using variable or input parameter. Also, please note input parameter is always mandatory. if it is blank then no data will appear.
> provide us screenshot of variable that you have created. this will tell us if you are picking up values from same analytic view or not. If no values matches the attribute's value (that you are applying filter on) then there will not data.
Regards
Angad
Just to add to the discussion, I was getting this issue on a calculation view that was perfectly working, then decided not to work any more with issue "invalidated view", despite input parameters mandatory and defaults set.
To resolve I had to delete input parameters, activate, recreate input parameters (pah, weird).
Hello, I faced the same problem. I did see the required privilege already assigned to _SYS_REPO from the GUI. To make it work, I re-executed the grant SQL. Magically, it started working.
grant select on schema <Schema_Name> to _SYS_REPO with grant option;
An option that I could have probably considered troubleshooting this would have been to run a SQL and check what privileges does _SYS_REPO have on my desired schema.
select * from sys.granted_privileges where grantee = '_SYS_REPO' and schema_name = <Schema_Name>;
Thanks,
Prabhu DC
Hallo Shankar,
please you have to check again your View. please check the measures.
I find this for you, maybe it can help you
Hi ,
I have similar issue , i'm using HANA cloud platform and Eclipse to create information views.
for Analytical view, i'm able to validate and activate successfully but data preview is where it throws the error :
i have done this :
grant select on schema <Schema_Name> to _SYS_REPO with grant option;--this executes
grant select on schema <schema_name> to <user_name>; below error
SAP DBTech JDBC: [7]: feature not supported: grantor and grantee are identical
please let me know the steps to be followed .
Regards,
-Prasad
Hi Angad,
Do you still have the issue ?
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.