Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Visualize SAP Ariba Source Data in Sisense
Create an ElastiCube in Sisense app with access to SAP Ariba Source 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 Ariba Source makes it easy to integrate with SAP Ariba Source data in Sisense. This article shows how to create an ElastiCube that connects to SAP Ariba Source data and use the ElastiCube to visualize SAP Ariba Source data in Sisense.
Configure the Connection to SAP Ariba Source
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 Ariba Source 20XX\lib) or copy the jar file (cdata.jdbc.saparibasource.SAPAribaSource.jar) to a new folder in the Sisense JDBC driver directory (typically C:\ProgramData\Sisense\DataConnectors\jdbcdrivers).
- In the Data page of the Sisense application, create a new ElastiCube (or open an existing one).
- In the Model Editor, click "+ Data" to open the Add Data dialog box.
- Click Generic JDBC to open the JDBC settings.
- Set the connection string property to the JDBC URL for SAP Ariba Source, adding required properties.
In order to connect with SAP Ariba Source, set the following:
- API: Specify which API you would like the provider to retrieve SAP Ariba data from. Select the Supplier, Sourcing Project Management, or Contract API based on your business role (possible values are SupplierDataAPIWithPaginationV4, SourcingProjectManagementAPIV2, or ContractAPIV1).
- DataCenter: The data center where your account's data is hosted.
- Realm: The name of the site you want to access.
- Environment: Indicate whether you are connecting to a test or production environment (possible values are TEST or PRODUCTION).
If you are connecting to the Supplier Data API or the Contract API, additionally set the following:
- User: Id of the user on whose behalf API calls are invoked.
- PasswordAdapter: The password associated with the authenticating User.
If you're connecting to the Supplier API, set ProjectId to the Id of the sourcing project you want to retrieve data from.
Authenticating with OAuth
After setting connection properties, you need to configure OAuth connectivity to authenticate.
- Set AuthScheme to OAuthClient.
- Register an application with the service to obtain the APIKey, OAuthClientId and OAuthClientSecret.
For more information on creating an OAuth application, refer to the Help documentation.
Automatic OAuth
After setting the following, you are ready to connect:
-
APIKey: The Application key in your app settings.
OAuthClientId: The OAuth Client Id in your app settings.
OAuthClientSecret: The OAuth Secret in your app settings.
When you connect, the provider automatically completes the OAuth process:
- The provider obtains an access token from SAP Ariba and uses it to request data.
- The provider refreshes the access token automatically when it expires.
- The OAuth values are saved in memory relative to the location specified in OAuthSettingsLocation.
Built-in Connection String Designer
For assistance in constructing the JDBC URL, use the connection string designer built into the SAP Ariba Source JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.saparibasource.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:saparibasource:API=SupplierDataAPIWithPagination-V4;APIKey=wWVLn7WTAXrIRMAzZ6VnuEj7Ekot5jnU;Environment=SANDBOX;Realm=testRealm;AuthScheme=OAuthClient;InitiateOAuth=REFRESH
- Set the JDBC JARs folder property to the location of the CData JDBC Driver JAR file (see above).
- Set the driver's class name to the class name for the JDBC Driver: cdata.jdbc.saparibasource.SAPAribaSourceDriver
- Leave the username and password properties blank.
- Click Next.
Add SAP Ariba Source Data to an ElastiCube
Once you are connected to SAP Ariba Source, you can add tables and views to your ElastiCubes.
- From the Tables list, select the tables and/or views you wish to work with.
- (Optional) Click "+" to customize the data you want to import with SQL.
- Click Done.
- Click Build to build the ElastiCube for analytics.
Visualize SAP Ariba Source Data
With SAP Ariba Source tables added to your ElastiCube, you can perform analytics on your SAP Ariba Source data.
- Navigate to the Analytics page of the Sisense application
- Select a Dashboard (or create a new one)
- Select your Data Source and click Create
- Click "+ Select Data" and choose fields to add to your visualization.
With the CData JDBC Driver for SAP Ariba Source, you can access SAP Ariba Source data right in Sisense for powerful visualization and analytics. Download a free, 30-day trial and start working with SAP Ariba Source data in Sisense today!