Connecting TREX with an ABAP Application (RFC Connection) 
As a rule, ABAP applications communicate with the TREX servers through the TREX ABAP client using the RFC/SNC protocol. Communication takes place using an instance of the SAP Gateway and an RFC server. You configure the RFC connection using the TREX admin tool (stand-alone).