Skip to Content

Connect Microsoft Excel to SAP Datasphere

Intermediate
10 min.
In this tutorial, you will learn how to connect your SAP Datasphere tenant to Microsoft Excel.
You will learn
  • How to connect Microsoft Excel to SAP Datasphere
jmmargojmmargoMarch 13, 2023
Created by
jmmargo
January 6, 2023
Contributors
jmmargo
meganhoy

Please note that SAP Data Warehouse Cloud has evolved into SAP Datasphere. While some screenshots in this tutorial reference SAP Data Warehouse Cloud, the content applies to SAP Datasphere.

  • Step 1

    To allow an external BI client in your local network to connect to the database of SAP Datasphere, you need to add the external (public) IPv4 address of the client to an allowlist.

    To do so, navigate to the Configuration screen on the bottom left of your SAP Datasphere tenant. Here, you can find the IP Allowlist tab, where you can simply click on Add and enter the IPv4 address of your system to add it to the allowlist.

    IP Allowlist
    Log in to complete tutorial
  • Step 2

    In order to ensure the data entities and models created in your SAP Datasphere tenant are consumable by the BI tool of your choice, it is important to expose them for consumption.
    If the entity was created in the data builder, simply click on the entity and set the Expose for Consumption toggle to ON as below.

    Consumable

    If the entity was created in the business builder, the toggle shows up as a Allow public data access checkbox in it’s properties tab. Simple click on the data entity to open it, and ensure the checkbox is ticked.

    Public Data Access
    Log in to complete tutorial
  • Step 3

    The next step to connecting Microsoft Power BI to SAP Datasphere is creating an ODBC data source. This data source must point to the SAP Datasphere schema using the database user credentials you already have created. To create an ODBC data source, follow the steps below:

    1. Open the ODBC Data Source Administrator (64 bit) application. Click on Add to add a new data source. Select and add the SAP HANA ODBC driver you have earlier installed. The driver is named HDBODBC.

      ODBC
    2. On the configuration screen, enter the same connection credentials as that of your database user. Ensure that the Multitenant box is unchecked, and the Connect to the database using TLS/SSL box is checked.

      Connect

    In case the driver cannot be found, re-install it from the SAP HANA development tools website. The ODBC driver used in this example is version 2.4.177.

    Log in to complete tutorial
  • Step 4
    1. With the data now ready to be imported, open the Microsoft Excel application from your system and click on the Get Data icon under the Data tab. Navigate to From Other Sources, and select From ODBC.

      From ODBC
    2. Select the data source you have just created, which in this case is titled Global Sales HANA.

      Global Sales
    3. Enter the user credentials for the SAP Datasphere database user, and click on Connect.

      Charts
    4. Microsoft Excel now displays all the views that are available for consumption. Here, you can see all the data entities you exposed for consumption in Step 1. Select the required datasets, and click on Load.

      Load

    And that’s it! The data is now available in MS Excel and can be used to create reports and charts for analysis.

    Charts

    Well done!

    You have completed the 6th tutorial of this group! Now you know how to connect Microsoft Excel to SAP Datasphere.

    Learn in the next tutorial how to connect Microsoft Power BI to SAP Datasphere.

    Log in to complete tutorial
  • Step 5

    What must be done to all data entities in order to ensure they can be consumed by the BI tool of your choice?

    Log in to complete tutorial
Back to top