To enable the ABAP system to communicate with SAP HANA or TREX/BWA (depending on which variant of Embedded Search you have chosen), you have to create a connection between these components.
Note that there are different prerequisites depending on which variant of Embedded Search you have selected:
Parameter | Description |
---|---|
DB Connection | Specify a name for the database connection. |
DBMS | For SAP HANA, select the entry HDB. |
User Name | Specify the database user to be used. This user must be assigned the object authorizations sys.trexviadbsl and sys.trexviadbslwithparameter. The database user also needs authorization to execute the following SQL commands on the SAP database schema (SAPSID): SELECT, INDEX, ALTER. |
DB Password | Specify the corresponding password. |
Conn. Info | Specify the connection to the database in the form Server:Port. The port is comprised as follows: 3<instance number>15. Example name of a connection: myHANA:30215 |
Permanent | Optional entry; see the F1 help. |
Connection Limit | Optional entry; see the F1 help. |
Connection Optimum | Optional entry; see the F1 help. |
You have installed the current version of SAP NetWeaver Search and Classification (TREX) 7.1 or SAP Business Warehouse Accelerator (BWA) 7.20 on a separate system. After the installation, you have created an RFC connection between the ABAP system for SAP NetWeaver and TREX/BWA:
If you are using SAP Business Warehouse Accelerator (BWA), an additional configuration step is necessary. For more information, see SAP Note 1647185 .More information: Connecting TREX with an ABAP Application (RFC Connection)
Log on to the SAP NetWeaver system and launch the Implementation Guide (IMG) by using transaction SPRO. Navigate to the node .
When you launch the Customizing activity, the ABAP program ESH_ADM_SET_TREX_DESTINATION starts.
The parameters for establishing an HTTP connection to SAP HANA are provided for if you use the file loader.
More information: Creating an HTTP Connection to the File Loader.
Finally, assign the SAP_ESH_LOCAL_ADMIN role to the planned administrators for Embedded Search.
More information: Authorizations
If you want to index documents that contain hidden text, also see SAP Note 604635 .