Ready to get started?

Download a free trial of the SAP Netweaver Gateway Driver to get started:

 Download Now

Learn more:

SAP Netweaver Gateway Icon SAP Netweaver Gateway JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with SAP Netweaver Gateway.

Visualize SAP Netweaver Gateway Data in Sisense



Create an ElastiCube in Sisense app with access to SAP Netweaver Gateway data.

Sisense lets you join, analyze, and picture data to make more intelligent business decisions and craft effective strategies. The CData JDBC Driver for SAP Netweaver Gateway makes it easy to integrate with SAP Netweaver Gateway data in Sisense. This article shows how to create an ElastiCube that connects to SAP Netweaver Gateway data and use the ElastiCube to visualize SAP Netweaver Gateway data in Sisense.

Configure the Connection to SAP Netweaver Gateway

Before creating the ElastiCube, note the installation location for the JAR file for the JDBC Driver (typically C:\Program Files\CData\CData JDBC Driver for SAP Netweaver Gateway 20XX\lib) or copy the jar file (cdata.jdbc.sapgateway.SAPGateway.jar) to a new folder in the Sisense JDBC driver directory (typically C:\ProgramData\Sisense\DataConnectors\jdbcdrivers).

  1. In the Data page of the Sisense application, create a new ElastiCube (or open an existing one).
  2. In the Model Editor, click "+ Data" to open the Add Data dialog box.
  3. Click Generic JDBC to open the JDBC settings.
  4. Set the connection string property to the JDBC URL for SAP Netweaver Gateway, adding required properties.

    SAP Gateway allows both basic and OAuth 2.0 authentication. You can use basic authentication to connect to your own account, or you can use OAuth to enable other users to retrieve data from your service with their accounts. In addition to authenticating, set the following connection properties to access SAP Gateway tables.

    • Url: Set this to the URL of your environment, or to the full URL of the service. For example, the full URL might appear as: https://sapes5.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/. In this example, the environment URL would just be: https://sapes5.sapdevcenter.com.
    • Namespace: Set the appropriate Service Namespace. In the example above, IWBEP is the namespace. It is optional if the full URL to the service is specified.
    • Service: Set this to the service you want to retrieve data from. In the example above, the service is GWSAMPLE_BASIC. It is not required if the full URL is specified.

    Authenticate via Basic Authentication

    In basic authentication, you use your login credentials to connect. Set the following properties:

    • User: This is the username you use to log in to SAP Gateway.
    • Password: This is the password you use to log in to SAP Gateway.

    Authenticate via OAuth Authentication

    You can connect to SAP Gateway using the embedded OAuth connectivity (without setting any additional authentication connection properties). When you connect, the OAuth endpoint opens in your browser. Log in and grant permissions to complete the OAuth process. See the OAuth section in the online Help documentation for more information on other OAuth authentication flows.

    Built-in Connection String Designer

    For assistance in constructing the JDBC URL, use the connection string designer built into the SAP Netweaver Gateway JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

    java -jar cdata.jdbc.sapgateway.jar

    Fill in the connection properties and copy the connection string to the clipboard.

    When you configure the JDBC URL, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.

    A typical example follows:

    jdbc:sapgateway:User=user;Password=password;URL=https://sapes5.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/;InitiateOAuth=REFRESH
  5. Set the JDBC JARs folder property to the location of the CData JDBC Driver JAR file (see above).
  6. Set the driver's class name to the class name for the JDBC Driver: cdata.jdbc.sapgateway.SAPGatewayDriver
  7. Leave the username and password properties blank.
  8. Click Next.

Add SAP Netweaver Gateway Data to an ElastiCube

Once you are connected to SAP Netweaver Gateway, you can add tables and views to your ElastiCubes.

  1. From the Tables list, select the tables and/or views you wish to work with.
  2. (Optional) Click "+" to customize the data you want to import with SQL.
  3. Click Done.
  4. Click Build to build the ElastiCube for analytics.

Visualize SAP Netweaver Gateway Data

With SAP Netweaver Gateway tables added to your ElastiCube, you can perform analytics on your SAP Netweaver Gateway data.

  1. Navigate to the Analytics page of the Sisense application
  2. Select a Dashboard (or create a new one)
  3. Select your Data Source and click Create
  4. Click "+ Select Data" and choose fields to add to your visualization.

With the CData JDBC Driver for SAP Netweaver Gateway, you can access SAP Netweaver Gateway data right in Sisense for powerful visualization and analytics. Download a free, 30-day trial and start working with SAP Netweaver Gateway data in Sisense today!