Before you use an SAP Table connection, the SAP administrator needs to perform certain prerequisite tasks to configure the Secure Agent machine and SAP system.
To process SAP table data and read data from SAP BW/4HANA ADSO objects, you also need to verify if the required licenses are enabled for the SAP system.
Download and configure the SAP libraries
To read data from or write data to SAP tables, you need to download and configure the SAP NetWeaver RFC SDK libraries and SAP JCo libraries on the Secure Agent machine. If you encounter any issues while you download libraries, contact SAP Customer Support.
Create the deploy_to_main\bin\rdtm directory if it does not already exist.
4Set the following permissions for each NetWeaver RFC SDK library:
- Read, write, and execute permissions for the current user.
- Read and execute permissions for all other users.
5From the SAP Support Portal, download the latest version of the 64-bit SAP JCo libraries based on the operating system on which the Secure Agent runs:
Secure Agent System
SAP JCo Libraries
Windows
sapjco3.jar
sapjco3.dll
Linux
sapjco3.jar
libsapjco3.so
6Copy the JCo libraries to the following directory:
Warning: If you copy the value directly from the table, the hyphens (-) in the value might be incorrectly copied. Copy the value to a text editor and make sure that the value you copied is not corrupted.
gClick Save.
hRepeat steps 2 through 7 on every machine where you installed the Secure Agent.
8Restart the Secure Agent.
Configure SAP user authorization
Configure the SAP user account in the SAP system to process SAP table data.
For more information about how to configure SAP user authorization in the SAP system, see SAP user authorizations.
The following table describes the required authorization to read from SAP tables:
Read Object Name
Authorization
S_BTCH_JOB
DELE, LIST, PLAN, SHOW.
Set Job Operation to RELE.
S_PROGRAM
BTCSUBMIT, SUBMIT
S_RFC
SYST, SDTX, SDIFRUNTIME, /INFADI/TBLRDR, RFC1
S_TABU_DIS / S_TABU_NUM
Provide SAP table name from which you want to read data.
The following table describes the required authorization to write to SAP tables:
Provide SAP table name where you want to write data.
Note: You need to add S_TABU_DIS or S_TABU_NUM based on the version of the SAP system. For more information about S_TABU_DIS or S_TABU_NUM, see the SAP documentation.
Install transport files to read from an SAP table
To read data from SAP tables from a Unicode SAP system, install the SAP Table Reader transport files that you get from the Secure Agent directory to the SAP system.
Prerequisites to install the transport files
Before you install the SAP Table Reader transports, make sure to perform the following prerequisite tasks
•Ensure that the transport files you install on the SAP machines are the latest. Get the latest transport files from the following directory:
•Verify that the transport files are applicable for SAP version ECC 5.0 or later.
•Verify that the RSODPABAPCDSVIEW table is available in SAP before you install the TABLE_READER_Addon transport files. If the RSODPABAPCDSVIEW table is not available, the TABLE_READER_Addon transport installation fails.
•Before you install the transports on your production system, install and test the transports in a development system.
The following table lists the transports that you need to install based on the SAP source type that you want to access:
Data and Cofile Names
Transport Request
Functionality
TABLE_READER_R900059.ER6
TABLE_READER_K900059.ER6
ER6K900059
To read data from SAP transparent tables, cluster tables, and pool tables, install only the TABLE_READER transport.
TABLE_READER_Addon_R900085.S4N
TABLE_READER_Addon_K900085.S4N
S4NK900085
To read data from ABAP CDS views, install both the TABLE_READER and TABLE_READER_Addon transports.
Use the TABLE_READER_Addon transports for SAP NetWeaver 7.50 SP4 version and later.
Whenever you install the TABLE_READER transport, you need to reinstall the TABLE_READER_Addon transport even though there is no change in the TABLE_READER_Addon transport version.
Note: Ensure that you first install the TABLE_READER transport and only then install the TABLE_READER_Addon transport.
Installing transport files
To install the SAP Table Reader transport files, perform the following steps:
1Find the transport files in the following directory on the Secure Agent machine: