Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to resolve SAP DBTech JDBC: [328]: invalid name of function or procedure: HCP_GRANT_ROLE_TO_USER

$
0
0

While following tutorial to creating a SAP HANA XS application from

https://help.hana.ondemand.com/help/frameset.htm?3762b229a4074fc59ac6a9ee7404f8c9.html

 

Please note that, I have repeated the exactly the same steps what is shown in tutorial.

 

I came across these errors:

1. According to tutorial I should have named one file as - 'model_access.hdbrole'

I have created a file 'model_access.hdbrole' but while activating the files I got the below error:

info                  Activation is performed with activation mode cascade one-phase.

info                  Runtime 'Role runtime' finished activation of 1 object(s) in 1ms

error      hello:model_access.hdbrole

           Syntax error: role name "p1941304953trial.myhanaxs.hello.roles::model_access" must be identical to the file name "hello::model_access" (without extension)


The above error was removed, when I saved the file as 'model_access' without extension '.hdbrole'


Screenshots here:

x1.pngx2.png

 

Repository Structure as below:

x3.png

x5.png

I am not able to understand what is NOT configured - the red warning sign in the above pic.

 

2. In step-8 Grant the Role to the user, in the tutorial.

x6.png

 

while executing call "HCP"."HCP_GRANT_ROLE_TO_USER"('p1234567890trial.myhanaxs.hello::model_access', '<SAP HANA Cloud user>')

like this,

x7.png

 

So, I am not able to find where am I getting it wrong or what I am missing to follow?

 

Please provide some guidelines to overcome this error.

Many thanks!!


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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