[Platform] SAP HANA connection

  • Last update:October 03, 2022
  • I. Overview

    SAP HANA is a combination of software and hardware that provides high-performance data query functions. Users can query and analyze a large amount of real-time service data without modeling or aggregating the service data.

    II. Data connection

    1. Configuration information

     Driver  URLDriver download link     Supported database versions     
        com.sap.db.jdbc.Driver            jdbc:sap://ip:port?reconnect=true      

    ngdbc.jar


    2.0

    4.5.1


    2. Placing the driver File

    Download the SAP HANA driver package from the driver download link of the configuration information and place the driver package under %FR_HOME%\webapps\webroot\WEB-INF\lib to restart the report Designer and server.


    3. Selecting a connection mode

    FineReport provides two ways to connect data:

    Method 1: Connect to the database in the designer. For details, see [Designer]JDBC data connection.

    Method 2: Connect to the data decision platform. This paper mainly introduces this way.


    4. Connection steps

    1) Creating a data connection

    Administrator login data decision system, click Manage>System>Data connection>Data Connection management, select New Data connection, select SAP HANA under All options, and click OK, as shown below:

    Note: If non-administrator users want to configure data connection, the administrator must assign the permission of the data connection node in the management system to them. For details, see Data Connection Authorization.

    1.png

    2) Configuring data connections

    Enter the data connection information in the format described in Section II. Advanced Settings are optional. For details, see [Platform] Data Connection. After input information, the interface is as follows:

    2.png

    3) Testing the connection

    Click Test Connection, or Click to Connect Database in mode. If the "Connection Successful" prompt box pops up, the database is successfully connected, as shown below:

    3.png

    4) Selecting a mode

    After the connection test is successful, you can select a mode as required. If you do not select a mode, the first mode is used by default. As shown below:

    4.png

    5) Effect preview

    Click the Save button in the upper right corner after selecting the mode, and the data connection will be added successfully. As shown below:

    5.png

    III. Precautions

    1. Error 1: Authentication failed

    Problem: The following error occurs when connecting to an SAP HANA database: http-nio-8075-exec-5 ERROR 

    [standard] [10]: authentication failed

    Analysis: The account used is not an administrator account, so make sure that the user name, password and IP address are correct, and check whether the account has the permission to perform operations in the database. 
    Solution: Assign a privileged account to connect, and the connection will be successful.

    Attachment List


    Theme: Data Preparation
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy