Skip to Content
Technical Articles
Author's profile photo Cameron Swift

SAP Data Intelligence Cloud – Connecting to SAP Data Warehouse Cloud

I’d like to thank Yuliya Reich for her previous blog post on this topic which has informed my writing. Similarly, the work of Virginie Boullery, Axel Meier and Bengt Mertens has influenced this blog post

SAP Data Intelligence Cloud has a wide array of functionality to help us extract, transform and load data with a wide variety of sources and targets. It only makes sense that we’ll want to be able to move data into spaces within our Data Warehouse Cloud system – let’s take a look at how it’s done

Adding Data Intelligence to Data Warehouse Cloud IP Allowlist

First things first, we’ll need to find the public IP address for our Data Intelligence system and add it to the allowlist within Data Warehouse Cloud.

From within Connection Management in Data Intelligence, we’ll find a system created connection called INFO_NAT_GATEWAY_IP. Select this connection and then click edit

Locate%20INFO_NAT_GATEWAY_IP%2C%20then%20select%20Edit

Locate INFO_NAT_GATEWAY_IP, then select Edit

 

We’ll find an IP address in two places on this screen. This is the public IP address for our Data Intelligence system, and is the address which we’ll have to add to our Allowlist within Data Warehouse Cloud. Take note of this address for later

Public%20IP%20address%20can%20be%20found%20here

Public IP address can be found here

 

In Data Warehouse Cloud, open the menu on the left, then click on System, and Configuration

Navigate%20to%20System%20Configuration

Navigate to System Configuration

 

Along the top, we want to select IP Allowlist, followed by Trusted IPs

Navigate%20to%20the%20IP%20Allowlist

Navigate to the IP Allowlist

 

From the IP Allowlist page, we click on the Add button

Test

Select the Add button

 

We’re going to add the IP address we copied from our Data Intelligence System here. Enter the IP address into the CIDR box and click on Add

Test

Creating the Allowlist Entry

 

Note that adding the IP Address to the Allowlist may take a little while after we submit it. Once our Data Intelligence system has been added to the Allowlist, we can prepare a user for our Data Intelligence Connection

 

Preparing our Data Warehouse Cloud Space

 

A Data Warehouse Cloud Space is a secure area created by an Administrator, where members can ingest data and do data modeling. Select Space Management from the menu on the left

From here we can select our Space, using the search bar to filter if required

Select%20Space%20Management%20from%20the%20menu%2C%20then%20select%20your%20Space%2C%20using%20the%20search%20box%20in%20the%20top%20right%20if%20necessary

Select Space Management from the menu, then select your Space, using the search box in the top right if necessary

 

From inside our Space we want to create a Database User which will have the necessary authorizations for use in Data Intelligence Cloud

Navigate%20to%20Database%20Access%20and%20click%20on%20Create%20under%20Database%20Users

Navigate to Database Access and click on Create under Database Users

 

We’re going to use the suffix DIUSER and enable both Read Access (SQL) and Write Access (SQL, DDL & DML). Notice that the name of the Open SQL Schema changes to add the Database User Name Suffix.

 

Enter%20the%20Database%20User%20Name%20Suffix%20then%20enable%20Read%20and%20Write%20Access%20as%20shown

Enter the Database User Name Suffix then enable Read and Write Access as shown

 

Once the user has been created, we want to retrieve the password

Click%20on%20the%20info%20icon

Click on the info icon

 

From here, we’ll want to click on Request Password to generate a new password

Request%20a%20new%20password

Request a new password

 

Once we’ve requested the password, we click on the eye icon to expose it before copying it and storing it for later. This is the only time we’ll be able to view it without changing it, so be sure to note it down

While you’re here, also note the database user name, host name, and port. We’ll also need these to create our connection

Take%20this%20opportunity%20to%20note%20down%20the%20database%20user%20name%2C%20password%2C%20host%20name%20and%20port

Take this opportunity to note down the database user name, password, host name and port

 

Now that our user is created, we want to Save and then Deploy our Space

Saving%20and%20Deploying%20our%20Space

Saving and Deploying our Space

 

Creating DWC Connection in Data Intelligence

 

Now we’re going to move into our Data Intelligence system and create our Connection. Within Connection Management, select Create Connection

Create%20a%20new%20connection

Create a new connection

 

Use the Select Connection Type button to select HANA_DB. Give your connection a name in the ID text box, then provide the details you copied earlier for Host, Port, User and Password

Enter%20the%20connection%20details

Enter the connection details

 

Once we’ve entered the connection details we want to click on the Test Connection button

Testing%20our%20connection

Testing our connection

 

A response of Test connection status: OK means we’re good to create our connection using the Create button

Check%20the%20connection%20status%20then%20create%20our%20connection

Check the connection status then create our connection

 

We’re now able to view our new connection in the Connection List

Our%20connection%20has%20been%20successfully%20created

Our connection has been successfully created

Conclusion

 

Throughout this blog post we’ve looked at how we can allow our Data Intelligence system to connect to our Data Warehouse Cloud and how to create a DI Connection to a space within DWC. Obviously, the next question is once we have the connection, what can we do with it?

In the next blog post, we’ll be looking at how we can upload the contents of a .csv file into a Data Warehouse Cloud Space, and then keep the contents up to date as the file changes by using Data Intelligence’s upsert feature

Note: While I am an employee of SAP, any views/thoughts are my own, and do not necessarily reflect those of my employer

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.