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

Use SAP HANA Cloud, data lake Events to Schedule Data Movement

SAP HANA Cloud, data lake has a built-in event scheduler that can be used to schedule SQL functionality. Learn how to use this event scheduler to schedule data movement from a SAP HANA Cloud, HANA database to a SAP HANA Cloud, data lake.

Overview

🎓 beginner 60 min. SAP HANA Cloud, Data LakeBeginnerSAP HANA Cloud

You will learn

  • How to create and schedule events in a SAP HANA Cloud, data lake instance
  • How scheduling data movement from SAP HANA Cloud, HANA database (HDB) to SAP HANA Cloud, data lake (HDLRE) can be achieved through SQL
Robert Waywell R Robert Waywell November 18, 2025
Created by March 31, 2022
Contributors

Prerequisites

Prerequisites

  • A SAP HANA Cloud, HANA database instance
  • A SAP HANA Cloud, data lake instance

Steps

Step 1 Import Data Into an SAP HANA Cloud, HANA database

Download and import the customer.tbl TPCH data file from this GitHub repository.

Showing the download button for the customer.tbl TPCH data file.
Showing the download button for the customer.tbl TPCH data file.

Once the data file is downloaded, create a table to import the data to. Navigate to the SAP HANA Database Explorer from the SAP BTP Cockpit and open a SQL console. Inside the SQL console, create the table using the following SQL. The SQL script creates a new schema called TPCH and then creates a table under that schema called “CUSTOMER”.

SQL
CREATE SCHEMA TPCH;
CREATE TABLE TPCH.CUSTOMER (
   C_CUSTKEY            integer                        not null,
   C_NAME               varchar(25)                    not null,
   C_ADDRESS            varchar(40)                    not null,
   C_NATIONKEY          integer                        not null,
   C_PHONE              varchar(15)                    not null,
   C_ACCTBAL            decimal(15,2)                  not null,
   C_MKTSEGMENT         varchar(10)                    not null,
   C_COMMENT            varchar(117)                   not null,
   primary key (C_CUSTKEY)
);

Next, right click the HANA database instance in the left side menu and select “Import Data”.

Showing input data link in database explorer.
Showing input data link in database explorer.

On the “Import Type” page select “Import Data” and proceed to the “Import Source” step. On the “Import Source” step select “Local” and then uncheck the “File has header in first row” box. Then select the customer.tbl file that was downloaded earlier. You may need to rename this file to customer.csv.

Showing the Import Source step in database explorer.
Showing the Import Source step in database explorer.

On the “Import Target” step, select “Add to an existing table” and fill in the information for the TPCH.CUSTOMER table that was created.

Showing the Import Target step in database explorer
Showing the Import Target step in database explorer

Verify the table mapping and go to step 5 to finish the import.

Step 2 Set up a User for Scheduling and Managing Events
+
Step 3 Set up a Remote Server from SAP HANA Cloud, data lake to SAP HANA Cloud, HANA database
+
Step 4 Create and Schedule the Data Movement Event
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Import Data Into an SAP HANA Cloud, HANA database 2. Set up a User for Scheduling and Managing Events 3. Set up a Remote Server from SAP HANA Cloud, data lake to SAP HANA Cloud, HANA database 4. Create and Schedule the Data Movement Event

Learn more →