反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

New SAP BW Dataset Plugin

  • Recent Updates: August 16, 2022
  • I. Overview

    The SAP BW dataset needs to be connected in the designer, establish the server dataset, and then add the relevant tables in the server dataset to the FineBI business package for data analysis.

      Designer BI Version  SAP BW Dataset Plugin Version
            10.0 and above5.1 and above                v1.5.5 and above

    Note:1. SAP BW plugin need registration of authorization file。

    Note:2. The new SAP BW Plugin is used to connect BW Cube and BW Query, separated from the previous Cube as a separate plugin.

    1) Confirm that the XMLA service is enabled on the SAP BW server.

    2) Test the SAP BW data connection in the FineReport designer in the local directory.

    3) Create a remote connection between FineBI and FineReport to ensure that FineBI uses the server dataset to create a SAP BW data connection.

    4) Add SAP BW dataset under Server > Server dataset in FineReport.

    5) In the BI business package, select the SAP BW data under the server dataset.

    II. Steps

    1. Startup Service

    1)Frist,be sure SAP BW Server have been startup the XMLA service,so that we can use XMLA connection in external software

    Log in to the SAP system as the client:TCODE:SICF > default_host > sap > bw,as shown follow:

    222

    2)Right clickbw,select Deactivate service,clickOK,then right clickbwselectActivate service,clickOK,make sure all services are enabled.

    222


    2. Install plugin in both FineReport and FineBI 

    Download address:https://community.finereport.com/plugin/?id=39

    FineReport Designer plugin installation method reference: Plugin Management

    FineBI Server installation plugin method reference: Server plugin management

    Note:Both FineReport and FineBI need to install the same version of the SAP BW plugin.

    3. Test connection to SAP BW in FineReport

    BI connection to SAP BW requires the use of server datasets, so it is necessary to first ensure that FineReport has no problem connecting to SAP BW for testing.

    1)Import the SAP package and native library, and ensure that the interface package and native library can be found by the running JVM.

    a. Windows

    FineBI is deployed in Windows system. Take Tomcat as an example:

    JDK bitsJDK VersionSAP PackageImport the files in the SAP file package into the corresponding path
    32
    JDK 1.8 and the minor version needs to be above JDK8u102

    sapjco3_windows_32bit (1).rar


    • sapjco3.jar is placed in the %TOMCAT_HOME%\lib directory

    • sapjco3.dll is placed in the C:\Windows\System32 directory

    64JDK 1.8 and the minor version needs to be above JDK8u102

    sapjco3_windows_64bit (2).rar

    • sapjco3.jar is placed in the %TOMCAT_HOME%\lib directory

    • sapjco3.dll is placed in the C:\Windows\System32 directory

    Note 1: If the data connection fails, you can try to place the sapjco3.dll file in the bin directory of the system jre, for example: %JAVA_HOME%\jre\bin

    Only the FineBI installation package is installed, no deployment:

    JDK bitsSAP PackageImport the files in the SAP file package into the corresponding path
    32sapjco3_windows_32bit (1).rar
    • sapjco3.jar is placed in the %FineBI_HOME%\server\lib directory

    • sapjco3.dll is placed in the C:\Windows\System32 directory

    64sapjco3_windows_64bit (2).rar
    • sapjco3.jar is placed in the%FineBI_HOME%\server\lib directory

    • sapjco3.dll is placed in the C:\Windows\System32 directory

    b. Linux

    FineBI is deployed in Linux system. Take Tomcat as an example:

    JDK bitsSAP PackageImport the files in the SAP file package into the corresponding path
    32sapjco3_linux_32bit.rar
    • sapjco3.jar is placed in the %TOMCAT_HOME%\lib directory

    • libsapjco3.so is placed in the %JAVA_HOME%\jre\bin directory

    • libsapjco3.so is placed in the usr\lib folder, if Linux is 64-bit, placed in the usr\lib64 directory

    64sapjco3_linux_64bit.rar
    • sapjco3.jar is placed in the %TOMCAT_HOME%\lib directory

    • libsapjco3.so is placed in the %JAVA_HOME%\jre\bin directory

    • libsapjco3.so is placed in the usr\lib folder, if Linux is 64-bit, placed in the usr\lib64 directory

    Only the FineBI installation package is installed, no deployment:

    JDK bitsSAP PackageImport the files in the SAP file package into the corresponding path
    32

    sapjco3_linux_32bit.rar

    • sapjco3.jar is placed in the %FineBI_HOME%\server\lib directory

    • libsapjco3.so is placed in the %JAVA_HOME%\jre\bin directory,If JDK is not installed, put it in the %FineBI_HOME%\jre\bin directory

    • libsapjco3.so is placed in the usr\lib folder, if Linux is 64-bit, placed in the usr\lib64 directory

    64

    sapjco3_linux_64bit.rar

    • sapjco3.jar is placed in the %FineBI_HOME%\server\lib directory

    • libsapjco3.so is placed in the %JAVA_HOME%\jre\bin directory,If JDK is not installed, put it in the %FineBI_HOME%\jre\bin directory

    • libsapjco3.so is placed in the usr\lib folder, if Linux is 64-bit, placed in the usr\lib64 directory

    c. FineReport Local Designer

    Designer bitsSAP PackageImport the files in the SAP file package into the corresponding path
    32

    sapjco3_windows_32bit.rar

    • sapjco3.jar is placed in the %FR_HOME%\lib directory

    • sapjco3.dll is placed in the %FR_HOME%\jre\bin directory

    64

    sapjco3_windows_64bit.rar

    • sapjco3.jar is placed in the %FR_HOME%\lib directory

    • sapjco3.dll is placed in the %FR_HOME%\jre\bin directory

    2)Create SAP BW data connection in Local Designer , please refer to SAP BW data connection.


    4. FineReport connects to FineBI remotely

    ScenesDescription
    FineBI and FineReport are installed on the same server

    Open FineReport Designer, switch the directory to FineBI's WEB-INF directory, and then click OK to complete the switch from FineReport directory to FineBI directory.

    FineBI and FineReport are not on the same serverFineReport Designer Connects to FineBI Project Remotely

    5. Add SAP BW dataset  

    1)Create SAP BW data connection in Remote Environment, click Server > Define Data Connection,please refer to SAP BW data connection.

    2)Finereport is in a remote environment, click Server > Server Dataset in Finereport Designer.

    企业微信截图_20220816205417.png

    3)Add the SAP BW dataset, as shown below:

    For details, please refer to the FineReport help document SAP BW data connection

    6. Add data to FineBI business package

    1)After completing the above operations, log in to the FineBI data decision system with the administrator account. Click "Add Table", select "Database Table", as shown below:

    2)Select Server Dataset, and you can see that we have just added the SAP BW table to the FineReport designer server dataset. Select it and click OK to save the operation of adding the table.


    III. Precautions

    1. Problem Description

    After using FineReport Designer Connects to FineBI Project Remotely, SAP BW plugin is installed in both BI and designer, but SAP dataset is not displayed when adding server dataset.

    2. How to Resolved

    The JAR package version of the report module of the FineBI project should be consistent with the JAR package version of the designer. The method of viewing the JAR package version of the report module of the FineBI project is as follows:

    Attachment List


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

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭