Quantcast
Channel: SCN : Popular Discussions - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 1318

Error executing HCP"."HCP_GRANT_ROLE_TO_USER" in the trial landscape

$
0
0

Hi,

 

I'm trying to publish data in an xsodata si I can consume it in an  sapui5 page  just like I did before.

After receiving an "Service exception: insufficient privilege" error  while trying to access the freshly published service URL, I rembered that I had to explicitly give permissions to the developper user on the schema objects through an model_access file. So I updated my file and commited it but when I tried to execute "HCP"."HCP_GRANT_ROLE_TO_USER"  in order to complete the necessary steps for this to work , I got the error message you see below. This worked perfectly a couple of months , and the services I created back then are still working.

I looked up the most recent documentation and the overall procedure looked  exactly the same as before .I also read different posts here on SCN but unfotunatly none of the solutions worked for me.


Any suggestions from you in helping  me resolving this issue would be greatly appreciated.


Thank you.


Could not execute 'CALL "HCP"."HCP_GRANT_ROLE_TO_USER"(<my_scn_id>trial.<package>.model_access', '<MY_SCN_ID>)' in 2.532 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 24 col 12 (at pos 1620): [129] (range 3): transaction rolled back by an internal error: transaction rolled back by an internal error:  [129] "HCP"."SYNCHRONIZE_HCP_ROLE": line 68 col 14 (at pos 5318): [129] (range 3): transaction rolled back by an internal error: insufficient privilege: Not authorized

 

P.S ! I noticed is that the HANA  DB  version in the cockpit was upgraded to SP07 (vs SP06 last time I tried this) but I don't know  if it's related .



Viewing all articles
Browse latest Browse all 1318

Trending Articles



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