SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Generate Users and Roles for Assigning Privileges

Generate users and roles in SAP HANA Database Explore, to assign the necessary privileges for collaborating on a template project.

Overview

🎓 beginner 15 min. SAP HANA CloudBeginnerSAP HANA CloudSAP HANA DatabaseSAP Business Application Studio

You will learn

  • βœ”How to use Git account token to establish remote connection with your project
  • βœ”How to generate roles for object owner and application user
  • βœ”How to grant roles to a new user with ADMIN option
Unknown U Unknown July 18, 2024
Created by October 15, 2021
Contributors

Prerequisites

Prerequisites

  • Complete the previous tutorial of this tutorial group. You should already have created the INVENTORY table, imported the sample data and created the two HDBROLES.

Steps

Intro

Are you wondering what the best way is to manage changing data structures? Do you want to know how to collaborate more efficiently when working in development projects?

To answer the first question, learn what benefits different table types in SAP HANA Cloud, SAP HANA database can offer you based on your needs. The following 3 tutorials in this tutorial group will help you navigate through your challenges with the managing data structures:

  1. Get started to collaborate in SAP Business Application Studio

  2. Import data into a table in SAP HANA Database Project

  3. Change data structures using HDBTABLE and HDBMIGRATIONTABLE objects

    To answer the second question, create template projects that help you set up service connections, handle synonyms and prepare authorization management. You can create these templates once in the beginning and give your project team members a head-start. Using the template, they can build on your work and can quickly start working productively. The following 4 tutorials in this tutorial group will help you learn how to collaborate efficiently:

  4. Prepare your SAP HANA Database Project for collaboration

  5. You are here β˜› Generate users and roles for assigning privileges

  6. Enhance your project with services, synonyms and grants

  7. Collaborate on an SAP HANA Database Project template

This tutorial will show you how to generate users and roles for assigning privileges.


Step 1 Introduction
β€”

In the last 4 tutorials of this group, you will focus on how to collaborate on a project within a team. The main goal is to show you how to create a template project in SAP Business Application Studio, that your colleagues can re-use and modify without having to prepare services and synonyms each time they wish to collaborate on the project. These tutorials will also illustrate to you the advantage of collaborating through a template project using a sample scenario.

Intro Table
Intro Table

You will begin this tutorial by creating an empty Git project that you can share with your colleagues later. Next, you will create an empty project in SAP Business Application Studio. Subsequently, you will generate roles and users in SAP HANA Database Explore, to assign the necessary privileges for collaborating on the project. Afterwards, you will generate hdbgrants files, synonyms, and services within the project. Finally, you will synchronize the project with your GitHub repository and share the Git project with your colleague.

In the last tutorial, you will see how a collaborator can work with the template project you have created. You can simulate these steps in your own environment by creating another project in your dev space. The instructions that are meant for collaborators to use the template are marked in the tutorial accordingly.

Step 2 Create an empty Git project
+
Step 3 Create an empty SAP Business Application Studio project
+
Step 4 Commit all the changes required
+
Step 5 Enter Git account token to complete remote connection
+
Step 6 Synchronize the project with the GitHub repository
+
Step 7 Generate roles for Object Owner and Application User
+
Step 8 Test yourself
+

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. Introduction 2. Create an empty Git project 3. Create an empty SAP Business Application Studio project 4. Commit all the changes required 5. Enter Git account token to complete remote connection 6. Synchronize the project with the GitHub repository 7. Generate roles for Object Owner and Application User 8. Test yourself

Learn more →