Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: HANA XS

$
0
0

Hi Florian,

 

Thanks for your response.

 

I have changed the code as you told, and also created model_access.hdbrole file as below.

 

role sxxxxxxtrial.p1234567.hello::model_access {

     sql object sxxxxxxrial.p1234567.hello::TEST: INSERT, SELECT;

    

     } 

 

[ p1234567.hello - package, TEST - table name]

 

Given below statement also

 

call "HCP"."HCP_GRANT_ROLE_TO_USER"('sxxxxxtrial.p1234567.hello::model_access', 'sxxxxx')

 

==========================================

 

Below is the error for that :

 

 

Could not execute 'call "HCP"."HCP_GRANT_ROLE_TO_USER"('sxxxxxxtrial.p1234567.hello::model_access', 'sxxxxx')' in 18.132 seconds .

[129]: transaction rolled back by an internal error:  [129] "HCP"."HCP_GRANT_ROLE_TO_USER": line 14 col 11 (at pos 849): [129] (range 3): transaction rolled back by an internal error: transaction rolled back by an internal error:  [129] "HCP"."SYNCHRONIZE_HCP_ROLES": line 22 col 12 (at pos 1518): [129] (range 3): transaction rolled back by an internal error: transaction rolled back by an internal error:  [129] "HCP"."SYNCHRONIZE_HCP_ROLE": line 43 col 4 (at pos 2768): [129] (range 3): transaction rolled back by an internal error: user-defined error:  [10001] "HCP"."DEPENDENCY_VALIDATOR": line 81 col 9 (at pos 4881): [10001] (range 3) user-defined error exception: Checking object: schema: DEV_73G1DE1342LB7K9C54J138R1E, object: sxxxxxxxtrial.p1234567.CRM::customer. User DEV_73G1DE1342LB7K9C54J138R1E is not authorized for:  Object: sxxxxxtrial.p1234567.CRM::customer Schema: DEV_73G1DE1342LB7K9C54J138R1E Type: TABLE

 

 

I have activated all files successfully, but when  I run XSjs file, It is showing a blank page


Viewing all articles
Browse latest Browse all 2878

Trending Articles



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