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

Import Data into a Table in SAP HANA Database Project

Create a table in SAP HANA Database Project and import sample data into the table.

Overview

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

You will learn

  • โœ”How to create an HDBTABLE object
  • โœ”How to add the column definitions to a table
  • โœ”How to import data into a table
  • โœ”How to generate an analysis graph of data present in a table using SAP HANA Database Explorer 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?
Unknown U Unknown July 18, 2024
Created by October 15, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

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. You are here โ˜› 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. Collaborate on an SAP HANA Database Project template

This tutorial will show you how to import data into a table in your SAP HANA Database Project.

Step 1 Create an HDBTABLE Object
โ€”

Now you can create the first object in your project: an HDBTABLE that will store the sample data used in this tutorial. After you have opened your dev space in SAP Business Application Studio, click to select the project you created in the previous tutorial.

  1. In the explorer panel on the left side, expand the folders under your Project WS3_1. Click on the src folder.
  ![SRC Folder](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/hana-cloud-collaborative-database-development-2/ss_01_src_folder.png)
  1. To create a new SAP HANA Database Artifact, you can press the F1 key or click on View โ€“ Find Command at the top of the screen to open a search prompt. Enter HANA in the field and from the dropdown list of functionalities, choose SAP HANA: Create SAP HANA Database Artifact.
  ![Search Prompt](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/hana-cloud-collaborative-database-development-2/ss_02_search_prompt.png)
  1. In the window for creating a new SAP HANA Database Artifact, click on the folder icon in the first field (Choose path where you want to create the artifact). Navigate to your project, the src folder, and then click on Open.

  2. Select the artifact type as Table (hdbtable).

  3. In the field Specify the artifact name, enter ‘inventory’.

  4. The database version should be HANA Cloud, by default. Without making any further changes, click on Create.

  5. A new file inventory.hdbtable can be seen under the src folder in the EXPLORER panel.

Step 2 Add the column definitions to the table
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Create an HDBTABLE Object 2. Add the column definitions to the table

Learn more →