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:
Repository Structure as below:
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.
while executing call "HCP"."HCP_GRANT_ROLE_TO_USER"('p1234567890trial.myhanaxs.hello::model_access', '<SAP HANA Cloud user>')
like this,
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!!





