It is possible to natively connect to an SAP application server, where SAP versions such as SAP R3, SAP ERP, SAP ECC 5.0, SAP ECC 6.0, S/4HANA are supported.
SAP datasources can be loaded by using the SAP connecting string type.
To load the data from the SAP database you need an SAP account to be used to retrieve data. For reasons of compliance and data protection you must make sure that this SAP account used to retrieve data has limited access to SAP and only has the appropriate authorizations as described below.
Note that it is possible that the user who performs the actual data load from SAP has access to more data in Process Mining after loading the data than this user has in SAP, depending on the SAP authorizations of the user.
To be able to connect to the SAP datasource you must have:
- access to the SAP application server.
- the following information:
- system number;
S_RFCauthorization on the SAP application server which grants:
- Authorization for using RFC (Remote Function Calls) destinations;
- Authorization for calling function modules within a specific function group in an RFC destination (target system).
S_TABU_NAMauthorization for access to individual tables.
If you do not want to grant an
ALL permission, you must grant at least the following access rights:
S_RFC authorization on the SAP application server:
RFC_TYPE : FUNC
RFC_NAME : RFCPINGFUNCTION_EXISTS, RFCPING,RFC_GET_FUNCTION_INTERFACE,RFC_READ_TABLE, Z_XTRACT_IS_TABLE
ACTVT : 16
RFC_TYPE : FUGR
RFC_NAME : SYST RFC1,SDTX,SUNI,SYST, ZUIPATH
ACTVT : 16
S_TABU_NAM authorization on the SAP application server:
Table authorization group MA
S_TABU_DIS authorization on the SAP application server:
Table name [TABLE LIST]*
*list of all SAP input tables used by the UiPath Process Mining connector or accelerator for which the native SAP extraction is set up. See
Follow the steps below to configure UiPath Process Mining for native SAP extraction.
Go to the SAP ONE Support Launchpad website https://launchpad.support.sap.com/#/notes/2573790 and log in using your credentials for SAP.com.
Download the SAP NetWeaver RFC Library 7.50 (64-bits version)
From the SAP NetWeaver RFC library, copy the dll files to the
Note: XX is the version of the NW RFC library.
Go to the Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 website https://www.microsoft.com/en-ie/download/details.aspx?id=40784.
Click on Download.
Perform the following steps on the SAP system (not on the UiPath Process Mining Server):
When setting up a native SAP extraction the SAP
Z_XTRACT_IS_TABLEFunction Module is required. If, for example, the Function Module is renamed in your SAP system, you can specify the correct name in the (optional)
FunctionModuleparameter in the SAP connection string.
Updated 3 months ago