Changing a Central SAP Gateway 
If you are using a central SAP gateway for an RFC connection, it can be necessary to change the SAP gateway. One possible reason for this is that you exchange the machine that the SAP gateway runs on.
The new SAP gateway has been started.
Specify the new SAP gateway in the RFC destination in the SAP system.
You make this change directly in the SAP system using transaction SM59.
Go to the Landscape: RFC window in the TREX admin tool (standalone).
Choose Connect to connect to the SAP systems.
Select the RFC connection for which the central SAP gateway has changed.
The lower half of the window displays the following:
One or more cells in the table are yellow.
These table cells contain the message GW available, but not set in TREX.
Choose Repair All to update the TREX configuration.
Note
Alternatively, you can add the new SAP gateway to the TREX configuration as follows:
In the lower window area, select a table cell that displays the message GW available, but not set in TREX.
In the context menu, choose Add GW Host <...>.
Repeat the last two steps for all cells that this message appears in.