We are proud to share our inclusion in the 2024 Gartner Magic Quadrant for Data Integration Tools. We believe this recognition reflects the differentiated business outcomes CData delivers to our customers.
Get the Report →Enable the SAP JDBC Driver in KNIME
Use standard data access components in KNIME to create charts and reports with SAP data.
One of the strengths of the CData JDBC Driver for SAP ERP is its cross-platform support, enabling integration with major BI tools. Follow the procedure below to access SAP data in KNIME and to create a chart from SAP data using the report designer.
About SAP Data Integration
CData provides the easiest way to access and integrate live data from SAP. Customers use CData connectivity to:
- Access every edition of SAP, including SAP R/3, SAP NetWeaver, SAP ERP / ECC 6.0, and SAP S/4 HANA on premises data that is exposed by the RFC.
- Perform actions like sending IDoc or IDoc XML files to the server and creating schemas for functions or queries through SQL stored procedures.
-
Connect optimally depending on where a customer's SAP instance is hosted.
- Customers using SAP S/4HANA cloud public edition will use SAP NetWeaver Gateway connectivity
- Customers using SAP S/4HANA private edition will use either SAP ERP or SAP NetWeaver Gateway connectivity.
While most users leverage our tools to replicate SAP data to databases or data warehouses, many also integrate live SAP data with analytics tools such as Tableau, Power BI, and Excel.
Getting Started
Define a New JDBC Connection to SAP Data
- Go to File -> Preferences -> KNIME -> Databases
- Click Add File and add the cdata.jdbc.saperp.jar. The driver JAR file is located in the lib subfolder of the installation directory.
- Click Find driver classes
- Set the ID and the Name of the connection (you can set any values you prefer for these fields as they are not restricted)
- Set the URL template. A typical JDBC URL is provided below:
jdbc:saperp:Host=sap.mydomain.com;User=EXT90033;Password=xxx;Client=800;System Number=09;ConnectionType=Classic;Location=C:/mysapschemafolder;
- Click OK to close the configuration section.
- Under Node Repository go to DB -> Connection -> drag and drop DB Connector. Double-click on it and change the driver name to the driver you just configured, in this case, SAP (ID: SAP). The Database URL should change automatically.
- Click Apply and OK to save changes.
- Right-click on the connector and select Execute. You will see that the connector will allow you to redirect to the browser where you will need to log in and allow access. After that, you will get connected successfully.
-
Double-click on your DB Query Reader and click the refresh button to load the metadata. Create an SQL Statement and click Evaluate. After clicking Evaluate you will be able to see the records requested. To learn more about the tables/views that are listed in our driver please refer to our Data Model.
For assistance in constructing the JDBC URL, use the connection string designer built into the SAP data JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.saperp.jar
![Connection properties added to CData driver Connection properties added to CData driver](../articles/jdbc-knime-2.png)
Additionally, please refer to our documentation to learn more about Connection Properties
Now you can go to the Read/Write section in Node Repository and get a DB Query Reader, to be able to execute a query.
Get Started Today
Download a free, 30-day trial of the CData JDBC Driver for SAP ERP and start building SAP-connected charts and reports with KNIME. Reach out to our Support Team if you have any questions.