You can quickly test a connection string and queries using Progress DataDirect SAP S/4HANA Configuration Manager.

To test your connection and query:

  1. Open the SAP S/4HANA Configuration Manager by double-clicking on the driver jar file. Or, in a command line, navigate to the directory containing your driver jar file; then, execute the following command:
    java -jar s4hana.jar 

    The SAP S/4HANA Configuration Manager opens in your default web browser.

    Note: The same .jar file, s4hana.jar, is used for all SAP ODATA V2 services exposed through the SAP Gateway, including S/4HANA and BW/4HANA.
  2. Provide a connection string to test using one of the following methods:
    • Entering a string: Click the Edit button (); then, paste your string into the Connection String field. If you prefer, you can also type a string directly into this field.
    • Generating a string: Provide values of the connection properties you want to configure into the corresponding fields. The SAP S/4HANA Configuration Manager will generate a string in the Connection String field based on the values you specify.
  3. Click Test Connect to attempt to connect to the service using the string specified in the Connection String field. The Test Connection window appears.
  4. Provide connection property values for any fields required by your service.
  5. To execute a test query with the test connection, enter a SQL query into the Test Query field. For example:
    SELECT * FROM INFORMATION_SCHEMA.SYSTEM_TABLES
  6. Click Execute.
    If successful, the window displays a confirmation message and, if a query was specified, the results of the query.