Creating and Testing a Search Server Relation
Use
The TREX ABAP client SRET uses a Search Server Relation for communication between the application and TREX. This has not been created by the activities with the TREX Admin Tool, and you therefore need to define it manually as follows.
Procedure
You can create the Search Server Relation and then test it.
Creating the Search Server Relation
To create a Search Server Relation, proceed as follows:
-
Log on to the SAP system, and call transaction SRMO.
-
Choose Create SSR.
-
Enter a name for the Search Server Relation in the Search Server Relation ID field (for example, SSR_TREX).
-
Choose Create SSR.
-
In the Create a Search Server Relation dialog box, enter the following data:
Field
Description
Search engine
DRFUZZY (use the F4 help)
RFC Destination (TCP/IP)
Name of the RFC destination generated using the TREX Admin Tool / check with transaction SM59
Description
Short description of the Search Server Relation
-
Save your entries.
You return to the original screen.
-
Select your newly-created Search Server Relation from the list here (tab page Search Server ID).
-
Choose Set SSR as DEFAULT.
-
Confirm the query by choosing Yes.
The Search Server Relation is now marked in the list as the default.
Testing a Search Server Relation
To test a search server relation, proceed as follows:
-
In transaction SRMO, select the RFC Destinations tab page.
There are two entries for the newly-created Search Server Relation: one for the action I (indexing) and one for the action S (searching).
-
Select the entry that has an S in the RFC server destination action column, and then choose Connection Test in the Search Engine Settings subwindow.
The connections with the TREX RFC server and the TREX search engine are established. You should display the version information for the TREX components.
-
Perform the same activity with the entry with I.