![]() |
VOOZH | about |
This article shows how you can easily integrate the CData JDBC driver for SAP Ariba Source into your processes in RapidMiner. This article uses the CData JDBC Driver for SAP Ariba Source to transfer SAP Ariba Source data to a process in RapidMiner.
You can follow the procedure below to establish a JDBC connection to SAP Ariba Source:
jdbc:saparibasource:
cdata.jdbc.saparibasource.SAPAribaSourceDriverπ The JDBC driver configuration. (Salesforce is shown.)
In order to connect with SAP Ariba Source, set the following:
If you are connecting to the Supplier Data API or the Contract API, additionally set the following:
If you're connecting to the Supplier API, set ProjectId to the Id of the sourcing project you want to retrieve data from.
After setting connection properties, you need to configure OAuth connectivity to authenticate.
For more information on creating an OAuth application, refer to the Help documentation.
After setting the following, you are ready to connect:
When you connect, the provider automatically completes the OAuth process:
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.
π Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)A typical connection string is below:
API=SupplierDataAPIWithPagination-V4;APIKey=wWVLn7WTAXrIRMAzZ6VnuEj7Ekot5jnU;Environment=SANDBOX;Realm=testRealm;AuthScheme=OAuthClient;InitiateOAuth=GETANDREFRESH;
You can now use your SAP Ariba Source connection with the various RapidMiner operators in your process. To retrieve SAP Ariba Source data, drag the Retrieve operator from the Operators view.
π A Retrieve operation to select data. (Salesforce is shown.)
With the Retrieve operator selected, you can then define which table to retrieve in the Parameters view by clicking the folder icon next to the "repository entry." In the resulting Repository Browser, you can expand your connection node to select the desired example set.
Finally, wire the output to the Retrieve process to a result, and run the process to see the SAP Ariba Source data.
π The results of the Retrieve operation. (Salesforce is shown.)Download a free trial of the SAP Ariba Source Driver to get started:
Download NowLearn more:
π SAP Ariba Source IconRapidly create and deploy powerful Java applications that integrate with SAP Ariba Source.