Ready to get started?

Learn more about the CData JDBC Driver for SAP ERP or download a free trial:

Download Now

Enable the CData JDBC Driver for SAP 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 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.

Define a New JDBC Connection to SAP Data

  1. If you have not already done so, install the Report Designer extension: Click File -> Install KNIME Extensions, and filter on "Report".
  2. In a new workflow, click File -> Preferences and expand the KNIME -> Database Driver nodes to add cdata.jdbc.saperp.jar. The driver JAR is located in the lib subfolder of the installation directory.
  3. In the Node Repository view, expand the Database node and drag a Database Reader onto the workflow editor.
  4. Double-click the Database Reader and set the following properties:

    • Database Driver: In the menu, select the CData JDBC driver.
    • Database URL: Enter the connection properties. The JDBC URL begins with jdbc:saperp: and is followed by a semicolon-separated list of connection properties.

      You can connect to SAP systems using either librfc32.dll, librfc32u.dll, NetWeaver, or Web Services (SOAP). Set the ConnectionType connection property to CLASSIC (librfc32.dll), CLASSIC_UNICODE (librfc32u.dll), NETWEAVER, or SOAP.

      If you are using the SOAP interface, set the Client, RFCUrl, SystemNumber, User, and Password properties, under the Authentication section.

      Otherwise, set Host, User, Password, Client, and SystemNumber.

      Note: We do not distribute the librfc32.dll or other SAP assemblies. You must find them from your SAP installation and install them on your machine.

      For more information, see this guide on obtaining the connection properties needed to connect to any SAP system.

      A typical JDBC URL is below. jdbc:saperp:Host=sap.mydomain.com;User=EXT90033;Password=xxx;Client=800;System Number=09;ConnectionType=Classic;Location=C:\\mysapschemafolder;

    • User Name: The username used to authenticate.
    • Password: The password used to authenticate.
    • SQL Statement: Enter an SQL query in the SQL Statement box or double-click a table. This article uses the query below to create a chart: SELECT MANDT, MBRSH FROM MARA
  5. Test the connection by clicking Fetch Metadata.

  6. Connect the Database Reader to a Data to Report node to supply the dataset to a range of data visualization controls. Click Execute and then click Edit Report at the top of the workflow to open the report designer perspective.
  7. You can now generate reports based on live data. To create a chart, drag the chart control from the palette to the report designer. In the resulting wizard, you can use the filtering and aggregation controls available in KNIME.
 
 
ダウンロード