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

HANA - First steps with authorisations on hdbschema

$
0
0

Hello Experts,


I'm completly new in SAP Hana development and I'd like to have a first look.
So is startet with some tutorials. Currently I try out to reproduce the opensap tutorial for
SAP Hana development.

In my current step I try to handle the day 2 unit 1 and 3.

I work on the hana trial instance.

1) created my own hdbschema
-> I can't see it in system explorer - ok looks like insufficient privileges

2) So I switched to unit 3 of day 2

- added a file .xsprivileges
- added file Admin.hdbrole


- added file User.hdbrole
- activated all 3 files without any error.

3) switch to Systems Tab and open Security/Roles, but my new roles are not available.

- > so I tried this statement in sql console:

call "HCP"."HCP_GRANT_ROLE_TO_USER"('****trial.stefan12555.openSAP.00.Data::Admin','****');
changed **** to my username  

But this dosn't work:

Could not execute 'call ...' in 14.655 seconds .
[129]: transaction rolled back by an internal error:  [129] "HCP"."HCP_GRANT_ROLE_TO_USER":
line 19 col 11 (at pos 914): [129] (range 3): transaction rolled back by an internal error:
transaction rolled back by an internal error:  [129] "HCP"."SYNCHRONIZE_HCP_ROLES":
line 29 col 12 (at pos 1727): [129] (range 3): transaction rolled back by an internal error:
transaction rolled back by an internal error:  [129] "HCP"."SYNCHRONIZE_HCP_ROLE":
line 51 col 4 (at pos 2943): [129] (range 3): transaction rolled back by an internal error:
user-defined error:  [10001] "HCP"."DEPENDENCY_VALIDATOR": line 23 col 8 (at pos 1134): [10001] (range 3)
user-defined error exception: Using schema OpenSapDBSchema is not allowed.
Schema level privilege is allowed only for you dev schema!

 

Can anyone give me a hint, what the problem is?


Kind regard and thank you in advance

Stefan


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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