Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

calculated view & call hcp.hcp_grant_select_on_activated_objects

$
0
0

Hello,

 

I am using the trial account of the SAP HANA Cloud. I have created two tables on my user schema. I have inserted some rows.

 

After that I have created a calculated view with a text join between the two tables created before. The calculated view saves and deploys with no errors.

 

When I try to call function:

 

call hcp.hcp_grant_select_on_activated_objects;

 

The system returned me:

 

Could not execute 'call "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"' in 2.310 seconds .

SAP DBTech JDBC: [10001]: user-defined error:  [10001] "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS": line 45 col 14 (at pos 2187): [10001] (range 3) user-defined error exception: user-defined error:  [10001] "HCP"."GRANT_PRIVILEGES_ON_MANAGED_REPO_OBJECT": line 21 col 3 (at pos 1020): [10001] (range 3) user-defined error exception: user-defined error:  [10001] "HCP"."DEPENDENCY_VALIDATOR": line 90 col 9 (at pos 4690): [10001] (range 3) user-defined error exception: Checking object: schema: _SYS_BIC, object: pXXXXXXXXXtrial.XXXXX.XXXXX/CV_TEXT_JOINS. User DEV_XXXXUSER_SCHEMA_NAMEXXXXX is not authorized for:  Object: TABLE1 Schema: DEV_XXXXUSER_SCHEMA_NAMEXXXXXXXXX Type: TABLE

Could not execute 'call "HCP"."HCP_GRANT_ROLE_TO_USER"("pXXXXXXX.XXXXXX.XXXXXX/CV_TEXT_JOINS", ...'

SAP DBTech JDBC: [260]: invalid column name: pXXXXXXXXXtrial.XXXXXXX.XXXXXXXX/CV_TEXT_JOINS: line 1 col 37 (at pos 36)

 

I have also in the past I have done:

 

GRANT SELECT ON schema_name TO _SYS_REPO WITH GRANT OPTION;

 

Can someone help me?


Viewing all articles
Browse latest Browse all 3285

Trending Articles



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