SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Grant Access to Calculation Views

Learn how to create a user and grant others access to your calculation view within the SAP HANA database in SAP HANA Cloud.

Overview

You will learn

  • ✔What privileges are needed for others to access your calculation view
  • ✔How to create a role in SAP Business Application Studio
  • ✔How to create a user in the SAP HANA database explorer and connect as this user

More from Christopher Kollhed

See all 15 tutorials by Christopher Kollhed →

Prerequisites

Steps

Intro

Alex Banner
Alex Banner

Reminder: This tutorial is part of a mission, in which you will help Alex, the CEO of Best Run Travel, to answer a concrete business question with SAP HANA Cloud, SAP HANA database.

Alex needs to know the top 5 partners of their agency and wants to find out the days with maximum booking of each partner.

In this tutorial, you will learn how to make the calculation view you created previously available to others in the organization by creating a new role and granting this role access to the view.


Step 1 Generate a SELECT statement on the column view
—

To allow others to see the results of your calculation view, you need to grant them the privilege to run SELECT statements on this calculation view.

To run SELECT statements on calculation views in the new environment, first make sure that the you have the correct schema name. This schema is not the SFLIGHT schema we previously created, but rather the schema automatically created for the calculation view.

  1. To find out the schema name, open the SAP HANA database explorer.

  2. Find your HDI container in the catalog.

Step 2 > ### Not sure how to find the HDI container of your project in the catalog?
+
Step 3 Create a role
+
Step 4 Add privileges to the role
+
Step 5 Create a new database user in SAP HANA Cloud Central
+
Step 6 > ### Custom vs. default roles
+
Step 7 Connect as the new user
+
Step 8 Knowledge Check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Generate a SELECT statement on the column view 2. > ### Not sure how to find the HDI container of your project in the catalog? 3. Create a role 4. Add privileges to the role 5. Create a new database user in SAP HANA Cloud Central 6. > ### Custom vs. default roles 7. Connect as the new user 8. Knowledge Check