SAP

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

Use Smart Data Access to Virtualise Data from the Cloud to an On-Premise Database

Create an SDA connection between SAP HANA Cloud, SAP HANA database and SAP HANA on-premise.

Overview

You will learn

  • How to create a remote source to an SAP HANA Cloud, SAP HANA database instance in your SAP HANA on-premise system using Smart Data Access
  • How to then virtualise data from SAP HANA Cloud to an SAP HANA on-premise database
Christopher Kollhed C Christopher Kollhed August 21, 2026
Created on August 15, 2021
Contributors

More from Christopher Kollhed

See all 15 tutorials by Christopher Kollhed →

Prerequisites

Prerequisites

  • A running SAP HANA Cloud, SAP HANA database instance with a table that contains data.
  • An SAP HANA on-premise database running on SAP HANA platform edition SPS04 or higher. Alternatively, you can download and install the latest SAP HANA express edition either as binary in Linux or a Docker image.
  • An instance of the SAP HANA Database Explorer or SAP HANA Studio connected to the SAP HANA on-premise database.

Steps

Intro

Smart Data Access (SDA) can be used to virtualise data from a source SAP HANA Cloud, SAP HANA database to an SAP HANA on-premise target database. Since this HANA-to-HANA federation does not require additional deployment of the Data Provisioning Agent, unlike SDI, SDA is the preferred and simplest way in this direction to virtualise data. SDI may also be used for this direction and offers more advanced replication capabilities. You will learn how to use SDI in the next tutorial of this group.

Infographic SDA
Infographic SDA

For simplicity, we will focus on the preferred and simpler option in this article, using SDA.

In this article, you will learn step by step how to create an SDA connection between SAP HANA Cloud, SAP HANA database and SAP HANA on-premise. This includes creating a remote source to an SAP HANA Cloud, SAP HANA database instance in your SAP HANA on-premise system to then virtualise data from SAP HANA Cloud in an SAP HANA on-premise database.


Step 1 Preparations

  1. Start the SAP HANA platform or express edition on-premise or on cloud hypervisor.

  2. Login to the tenant database of the on-premise system using the SAP HANA Database Explorer or SAP HANA Studio for the local instance.

  3. To create a remote source to SAP HANA Cloud, you need to retrieve some information from the SAP HANA Cloud instance. Both can be found in the SAP HANA Cloud Central:

    • The exact name of your SAP HANA Cloud, SAP HANA database instance
    • The Endpoint of your SAP HANA Cloud, SAP HANA database instance

    HCC SQL Endpoint
    HCC SQL Endpoint

  4. Copy the name of the instance and the endpoint and paste it to a text editor.

  5. Next, you need to get a certificate string for SAP HANA Cloud, SAP HANA database. In your command line (iTerm or Terminalon iOS, or Command Prompt on WIN) enter this command to download the pem file:

Shell/Bash
curl -O https://cacerts.digicert.com/DigiCertGlobalRootCA.crt.pem

After the file has been downloaded, use a text editor which can read a pem file, such as Notepad or Apple Text Editor, to access the certificate string.

Step 2 Create a PSE and a certificate
+
Step 3 Add the certificate to the PSE
+
Step 4 Create the remote source
+
Step 5 Create a virtual table in your on-premise database
+
Step 6 Check the content of the new virtual table
+
Step 7 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 7
1. Preparations 2. Create a PSE and a certificate 3. Add the certificate to the PSE 4. Create the remote source 5. Create a virtual table in your on-premise database 6. Check the content of the new virtual table 7. Test yourself
Next