Show TOC

Configuring the RFC Connection in the TREX Admin ToolLocate this document in the navigation structure


You work through the steps below using the TREX admin tool (standalone).


Configuration of the RFC connection with the TREX admin tool (standalone) is only available as of SAP Basis Component SAP_BASIS 6.20 SP58, 6.40 SP16, and 7.0 SP6. If you are using TREX with an SAP system based on an earlier support package, you have to configure the RFC connection manually as described in the SAP NetWeaver 04 Installation Guide for Search and Classification (TREX) 6.1. You can find this guide on the SAP Service Marketplace at of the navigation path SAP NetWeaver Next navigation step Released 04 Next navigation step Installation Next navigation step Cross-NW Next navigation step Installation Guide Search and Classification TREX 6.1 End of the navigation path.


  • Creating a connection
    1. In the Landscape: Connectivity window, on the RFC: Current tab, choose the function Create Connection.

    2. Choose connection type A or B. Specify the connection data for the SAP system (see Determining the SAP System Connection Information).

    3. Specify the SAP system user, the associated password, and the client that the TREX admin tool is to use to log on (see Creating a SAP System User for the TREX Admin Tool (Stand-Alone)).


      If the SAP system user in question exists in the default client, you do not need to specify the client.

  • Creating an RFC Destination
    1. In the Landscape: Connectivity window, on the RFC: Current tab, choose the function Create RFC Destination (SM59).

    2. Enter the following parameters:



      SAP System

      SAP system that you want to set up the connection to.

      The list contains all SAP systems that you have registered using Create Connection.

      RFC Destination

      Name of the RFC destination.


      Meaningful description of the purpose.

      The program ID determines under which name the TREX RFC server registers with the Gateway. The program ID must be unique for each Gateway. The TREX admin tool ensures this by generating the program ID.

    3. Decide which Gateway you want to use. You have the following options:



      Gateway local

      (default setting)

      Use local SAP gateways for the application servers.

      Gateway central

      Use central Gateway.


      We advise against using a central Gateway for distributed TREX systems. The central Gateway is a single point of failure.

      If you choose this option, enter the following additional parameters:

      • Host name (with domain name if necessary) or the IP address of the host on which the Gateway is installed.

      • Name of the SAP gateway in the form sapgw<instance_number>


      We advise against creating the RFC destination directly in the SAP system. The name of the RFC destination and the program ID must satisfy certain naming conventions. The TREX admin tool ensures that these are fulfilled.

      If you nevertheless create the RFC destination directly in the SAP system, note the following:

      • We recommend starting the name of the RFC destination with TREX_.

      • Choose the activation type Registered Server Program.

      • Choose a program ID that is unique for the Gateway used.

      • Use the RFC Destinations function to register the RFC destination in the TREX admin tool.

  • Completing the RFC Configuration
    1. In the Landscape: Connectivity window, on the RFC: Current tab, choose the function Connect Admin Tool.

      The TREX admin tool creates the connection to all SAP systems that are known to it. Because the RFC configuration is still incomplete, the configuration status is yellow or red.

    2. Choose Repair All.

      The TREX admin tool completes the RFC configuration and starts the TREX RFC server.

      This can take several minutes. During this time, the configuration status remains yellow or red. After completion of the configuration process, the status changes to green.


      Do not choose Repair All several times in quick succession. This would trigger the configuration process more than once and delay it.

    3. Check the progress by choosing Refresh to update the display.