Show TOC

Creating a Search Server RelationLocate this document in the navigation structure

Use

It might be necessary to create a search server relation for communication between an application and TREX. The installation documentation on the application in question will contain information on whether you need a search server relation.

Note

Technical background: The need for a search server relation depends on the version of the TREX ABAP client that is used by the application in question. There are the following versions:

  • The SRET package with the function modules SRET*
  • The STREX package with the function modules TREX_*

If the application in question uses the SRET package, you must create a search server relation. If the application uses the STREX package, this step is not required.

Creating a search server relation consists of the following:

  1. Creating a search server relation.
  2. Testing the search server relation.

Creating a Search Server Relation

  1. Choose transaction SRMO in the SAP system.
  2. Choose Create SSR.
  3. Enter a name for the search server relation in the field Search Server Relation ID (for example, SSR_TREX).
  4. Choose Create SSR.
  5. Enter the following data:
    Field Entry

    Search engine

    DRFUZZY

    This is the internal name of the TREX search engine.

    Caution

    Make sure that you enter DRFUZZY in uppercase and in the format specified.

    RFC Destination (TCP/IP)

    Name of the RFC destination that you created with the activation type Registration. This entry must tally with the name that you assigned when you created the RFC destination.

    Tip

    TREXDEFAULT_REG

    Description

    Description of the search server relation, for example, Search Server Relation for Retrieval Service.

  6. Save your entries.

    You return to the previous dialog box.

  7. Select the newly created search server relation in the table.
  8. Choose Set SSR as Default.
  9. In the confirmation prompt that appears, choose Yes.

    The search server relation is then shown as default in the table.

Testing a Search Server Relation

  1. Choose the RFC Destinations tab.

    Two entries are listed for the search server relation you created: One for action I (indexing) and one for action S (searching).

  2. Select the entry with action = S. Choose Connection Test under Search Engine Settings.

    The connection with the TREX RFC server and the TREX search engine is established. You can see this in the version information that is shown for the TREX components.

  3. Select the entry with action = I. Choose Connection Test under Search Engine Settings.

    The connection with the TREX RFC server and the TREX search engine is established. You can see this in the version information that is shown for the TREX components.

    Note

    If the RFC connection still cannot be established, seeChecking an RFC Connection.