on 03-28-2017 7:18 PM
I am doing HANA Modeling in SAP HANA Studio. I have created a calculation view and am able to activate it just fine. Unfortunately, when I want to do a Data Preview, I get the following error message, "Cannot get the Data Provider Outline: Data Preview is not possible; object is either inactive or broken. If it is an inactive object, activate it, else redeploy." So I redeploy the calculation view I made, but unfortunately I get the same error message. Would anyone kindly advise as to why I am not able to perform a data preview on my Calculation View? Thanks so much.
Ensure that _SYS_REPO has access to the schema/tables for which the views are created. Access should be SELECT with GRANT option. If not you may face error while clicking on data preview.
Reason:
The activation of modeling views are done in the name of user _SYS_REPO.
Think of _SYS_REPO as "the activation guy". It takes your models and creates the necessary runtime objects from them. Therefore user _SYS_REPO needs the allowance to select YOUR tables/views. (If _SYS_REPO user cannot select on the tables specified in the from-clause of the view-definition, it cannot define that view)
I have just solved this issue by giving _SYS_REPO user access to schema with SELECT and GRANT option. 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue, but it worked for me when I added the SELECT permission WITH the GRANT option to the Schema that is used in the View (for user _SYS_REPO).
It helps me to solve the problem. I changed the GRANT option to "yes" on _SYS_REPO user.
Hi Gloria ,
Can you please check if following privileges are assigned to your user , if not apply these
SELECT , CREATE ANY , EXECUTE , DROP on _SYS_BIC
SELECT on _SYS_BIC.
GRANT SELECT ON SCHEMA <SCHEMA NAME of the tables used in models > TO _SYS_REPO WITH GRANT OPTION
Analytical privilege SYS_BI_CP_ALL
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.