![]() |
VOOZH | about |
The CData JDBC Driver for SAP ERP connects SAP data to Mule applications enabling read functionality with familiar SQL queries. The JDBC Driver allows users to easily create Mule applications to backup, transform, report, and analyze SAP data.
This article demonstrates how to use the CData JDBC Driver for SAP ERP inside of a Mule project to create a Web interface for SAP data. The application created allows you to request SAP data using an HTTP request and have the results returned as JSON. The exact same procedure outlined below can be used with any CData JDBC Driver to create a Web interface for the hundreds of available data sources.
CData provides the easiest way to access and integrate live data from SAP. Customers use CData connectivity to:
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.
The driver supports connecting to an SAP system using the SAP Java Connector (SAP JCo). Install the files (sapjco3.jar and sapjco3.dll) to the appropriate directory for the hosting application or platform. See the "Getting Started" chapter in the help documentation for information on using the SAP JCo files.
In addition, you can connect to an SAP system using Web services (SOAP). To use Web services, you must enable SOAP access to your SAP system and set the Client, RFCUrl, User, and Password properties, under the Authentication section.
For more information, see this guide on obtaining the connection properties needed to connect to any SAP system.
For assistance in constructing the JDBC URL, use the connection string designer built into the SAP JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.saperp.jar
Fill in the connection properties and copy the connection string to the clipboard.
SELECT MANDT, MBRSH FROM MARA๐ Configure the Select object (Salesforce is Shown)
%dw 2.0 output application/json --- payload๐ Add the Transform Message Component to the Flow
At this point, you have a simple Web interface for working with SAP data (as JSON data) in custom apps and a wide variety of BI, reporting, and ETL tools. Download a free, 30 day trial of the JDBC Driver for SAP and see the CData difference in your Mule Applications today.
Download a free trial of the SAP ERP Driver to get started:
Download NowLearn more:
๐ SAP ERP IconStraightforward SAP ERP integration. Now accessing SAP RFC's from any JDBC client is as easy as querying a database.