How to Access HDI Containers (SAP HANA)

Aus MattWiki
Version vom 5. März 2021, 16:56 Uhr von Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Maybe you have already tried to access HDI containers with SYSTEM oder DBADMIN users and have failed. Or maybe you were only able to access HDI containers wit…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Maybe you have already tried to access HDI containers with SYSTEM oder DBADMIN users and have failed.

Or maybe you were only able to access HDI containers with the HDI container runtime user (RT-User, some call it the technical user).

This the following articles and videos describe how to create a new user and enable it to access data inside a HDI container.

General Principle

The SYSTEM or DBADMIN User has no access to HDI container tables.

For that is needed in the following order:

  1. HDI Administrator
  2. HDI Container Group Administrator
  3. HDI Container Administrator (can be the same user as the group administrator)

But the SYSTEM or DBADMIN User cannot directly grant this access as neither of them does have it itself.

There are a couple of stored procedures in the HANA db which enable to create the users listed above.

The following reference and video show how to proceed:

Reference

SAP HANA Platform - SAP HANA Deployment Infrastructure (HDI) Reference

https://help.sap.com/viewer/3823b0f33420468ba5f1cf7f59bd6bd9/2.0.04/en-US/b4b6a8936bc64526b8fd8491c4a40eaa.html

SAP HANA Cloud - SAP HANA Cloud Deployment Infrastructure (HDI) Reference

https://help.sap.com/viewer/c2cc2e43458d4abda6788049c58143dc/2020_04_QRC/en-US/b4b6a8936bc64526b8fd8491c4a40eaa.html

Video

ABAP Freak Show Ep. 17 - SAP HANA Deployment Infrastructure (HDI) Administration

https://www.youtube.com/watch?v=zyHhxZWW40M&t=851s