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

Collaborate on an SAP HANA Database Project Template

Create a simple calculation view in a cloned template project using the sample data present in the original project.

Overview

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

You will learn

  • βœ”How to invite a collaborator to your git repository
  • βœ”How to clone a template project from git
  • βœ”How to create a calculation view
  • βœ”How to preview the data in a calculation view
Unknown U Unknown July 18, 2024
Created by October 19, 2021
Contributors

Prerequisites

Prerequisites

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. Generate users and roles for assigning privileges

  6. Enhance your project with services, synonyms and grants

  7. You are here β˜› Collaborate on an SAP HANA Database Project template

This tutorial will show you how to collaborate on your SAP HANA Database Project template.

Steps for Project Owners:

The steps under the title (For Project Owner) will show you how the template project can be shared with a colleague or a collaborator who works with the project to create a calculation view. These steps are for the project template owner.

Steps for template users:

The steps under this title (For template User) will show you an example of how a collaborator could use your template project to create a simple calculation view. You can simulate the process by using the same dev space and creating a new project by cloning from git. Some instructions under this title will only apply to others using your template project, simply skip the steps not needed in your case.


Step 1 Synchronize the project with git
β€”

For Project Owners:

  1. Go back to your project WS3_3 in SAP Business Application Studio.

  2. On the left side menu of your SAP BAS environment, click on the

    Source Control icon
    Source Control icon
    icon to go to the Source Control panel. Here, you will see all the recent updates to your project that have not been pushed to GitHub yet.

  3. In the Source Control panel, you can see all the recent changes made. Click on the plus icon to stage these changes.

  4. Enter a commit message in the field at the top (for example: template) and click on tick mark icon next to the field to commit the changes.

  5. In the Source Control panel, click on the three dots icon. Select Pull, Push and then Push to… option.

  6. A search prompt asking for a remote to publish the master branch appears on the horizontal menu bar. Select main.

  7. You can verify the synchronization by checking your GitHub repository WS3_3. You should now see all the objects you created in the src folder there, for example, the synonyms and hdbgrants files.

Step 2 Invite a collaborator to your git repository
+
Step 3 Clone the template project from git
+
Step 4 Deploy the template project to an HDI container
+
Step 5 Create a simple calculation view
+
Step 6 Add a data source to the calculation view
+
Step 7 Add a calculated column to the Projection node
+
Step 8 Configure Aggregation node
+
Step 9 Deploy the view and preview the data
+
Step 10 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 10
1. Synchronize the project with git 2. Invite a collaborator to your git repository 3. Clone the template project from git 4. Deploy the template project to an HDI container 5. Create a simple calculation view 6. Add a data source to the calculation view 7. Add a calculated column to the Projection node 8. Configure Aggregation node 9. Deploy the view and preview the data 10. Test yourself

Learn more →