Articles in this section

How to Use ODBC DSN to connect to an SAP HANA data source.

Published:

This article provides detailed steps on how to use an ODBC DSN to connect to an SAP HANA data source in Bold BI®.

Step 1: Download and install the SQL ODBC driver using the link: https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16

image.png

Step 2: After installing the ODBC driver, use the link below to download and install the SAP HANA client (hanaclient) package:https://tools.eu1.hana.ondemand.com/#hanatools

image.png

Step 3: Once you have downloaded the SAP HANA client (hanaclient), extract the contents of the ZIP file. Then, open the hanaclient-2.21.26-windows-x64 folder and double-click the hdbsetup file to install the SAP HANA client locally.

image.png

Step 4: Once you have installed the SAP HANA client, open the ODBC Data Source Administrator. Navigate to the System DSN tab and click the Add button. You will see the SAP HANA driver (HDBODBC) listed there.

image.png

image.png

Step 5: Use the link below to access the SAP HANA Cloud trial page and create an SAP account using your email address. https://www.sap.com/india/products/technology-platform/hana/trial.html

image.png

Step 6: Once you’ve created your account, you can access your trial account using the link provided. https://account.hanatrial.ondemand.com/trial/#/home/trial

image.png

Step 7: You can view the created trial account on this page. Simply click on the trial account.

image.png

Step 8: In the left pane, click Boosters. Then find “Set Up SAP HANA Cloud Administration Tools” and click Start. This will automatically create a SAP HANA Cloud instance.

image.png

image.png

image.png

Click on “Navigate to Subaccount” tab.

image.png

Step 9: Now, Go to the “Instances and Subscriptions” tab then you can see the “SAP HANA Cloud” created under the “Plans” as “tools”. After that, click the button “Go to Application”. I twill open the SAP HANA Central UI interface

image.png

Step 10: Here, you can create the SAP HANA Instance by clicking the “Create Instance” button.

image.png

Step 11: Now, you will see two instance type options: 1) SAP HANA Database 2) Data Lake. Choose “SAP HANA Database”, then proceed to the next step.

image.png

Step 12: Once you’ve made your selection, click on ‘Next step’. Enter the instance name and password.

image.png

It will look like the image below; then click ‘Next step’.

image.png

Step 13: In the next step, select Allow All IP Addresses. Enable the Cloud Connector if required. Then click Next Step for the following tabs.

image.png

image.png

In the next tab, don’t check ‘Data Lake,’ and click ‘Review and Create’.
image.png

It will navigate to a new tab. Click the ‘Create Instance’ option on that page.
image.png

Step 14: After clicking Create Instance, the instance will be displayed as shown below. Click Actions and Copy SQL Endpoint option and copy the Host.

image.png

image.png

Step 15: Open the ODBC driver, navigate to the System DSN tab, and click the Add button. You will see the SAP HANA driver, HDBODBC, listed there.

image.png

After selecting the SAP HANA driver, click “Finish”. A configuration popup will appear.
image.png

Enter the Data Source Name and Host, then click the “OK” button in the ODBC
image.png

Step 16: Now, go to Bold BI and create an ODBC data source. On the connection page, enter the Data Source Name and for ODBC Connection Type, choose DSN.
In the DSN Name dropdown, select the created DSN.
Enter your username (DBADMIN) and your instance password, then enter the database name (SAPHANA). After that, click the “Connect” button.

image.png

image.png

You can view the SAP HANA Cloud database details using the Database Explorer. You can also create databases using your credentials.
image.png

Step 17: You can see the sample dashboard created successfully using SAP HANA with the help of ODBC connector

image.png

Note: If you need to start and stop the SAP HANA server. Click the three dots of the created instance name.

image.png

image.png

Additional References:

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
TV
Written by Thulasi Venkatesan
Updated:
Comments (0)
Access denied
Access denied