on 11-19-2014 1:01 PM
Hello.
I am doing the tutorial Creating an SAP HANA XS Application. In step 8 it says:
Productive SAP HANA instance
I have done so, but everything in my user is greyed out:
There is also no such role in the list, especially not a model_access role.
How do I get the rights to add a role to my own user?
Thank you in advance,
Robin
Hi Robin,
see here, for trial landscape it says following:
- Trial SAP HANA instance
- In the Systems view, select your system and from the context menu choose SQL Console.
- In the SQL console, enter the following, replacing <SAP HANA Cloud user> with your user:
call "HCP"."HCP_GRANT_ROLE_TO_USER"('i12345trial.myhanaxs.hello::model_access', '<SAP HANA Cloud user>')
- Execute the procedure. You should see a confirmation that the statement was successfully executed.
I hope this will help you,
Dobri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dobri,
Thank you very much for your reply. I did this. Let's assume, <d-user> is my d-username. I have executed:
"HCP"."HCP_GRANT_ROLE_TO_USER"('<d-user>trial.myhanaxs.hello::model_access', '<d-user>TRIAL')
I have also tried writing the latter <d-user> with big letters or completely (including th Trial) with small letters.
I could also see the confirmation that the Statement was successfully executed:
Statement 'call "HCP"."HCP_GRANT_ROLE_TO_USER"('<d-user>trial.myhanaxs.hello::model_access', '<d-user>TRIAL')'
successfully executed in 8.897 seconds (server processing time: 8.891 seconds) - Rows Affected: 0
So far I have followed each step of the tutorial. But it seems that I have not the rights to modify my user from the Studio in the Cloud.
Regards,
Robin
Ops, you did a mistake to add the role not to the user, but to the account:
"HCP"."HCP_GRANT_ROLE_TO_USER"('<d-user>trial.myhanaxs.hello::model_access', '<d-user>TRIAL')
You should change this to your user instead - something like:
"HCP"."HCP_GRANT_ROLE_TO_USER"('<d-user>trial.myhanaxs.hello::model_access', '<d-user>')
Best regards,
Dobri
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.