Configuring the RFC Connection in the TREX
Admin Tool
You work through the steps below using the TREX admin tool (stand-alone).

Configuration of the RFC connection with the TREX admin tool (stand-alone) 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 service.sap.com/instguides ® SAP NetWeaver ® Released 04 ® Installation ® Cross-NW ® Installation Guide Search and Classification TREX 6.1.
...
1. On the RFC: Current tab page in the Landscape: Connectivity window, choose the Create Connection function.
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 an 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.
...
1. To do this, use the Create: RFC Destination (SM59) function on the RFC: Current tab page in the Landscape: Connectivity window.
2. Enter the following parameters:
Field |
Entry |
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. |
Description |
Meaningful description of the purpose |
The program ID determines under which name the TREX RFC server registers with the SAP gateway. The program ID must be unique for each SAP gateway. The TREX admin tool ensures this by generating the program ID.
3. Decide which SAP gateway you want to use. You have the following options:
Option |
Comment |
Gateway local (Default setting) |
Use local SAP gateways for the application servers. |
Gateway central |
Use the central SAP gateway.
We advise against using a central SAP gateway for distributed TREX systems. The central SAP 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 SAP gateway used.
● Use the RFC Destinations function to register the RFC destination in the TREX admin tool.
...
1. On the RFC: Current tab page in the Landscape: Connectivity window, choose the Connect Admin Tool function.
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.