Show TOC

Setting Up an RFC Destination for the RFC AdapterLocate this document in the navigation structure

Use

For sender systems, you have to set up an RFC destination for the RFC adapter.

Procedure
  1. Call the transaction Display and Maintain RFC Destinations( SM59 ).
  2. Select an existing RFC destination of type ABAP Connections (for example, ABAP_Old ).
  3. Choose Connection → Copy and copy the RFC destination using a new name (for example, ABAP_New ).
  4. Save the new RFC destination ( ABAP_New ) and delete the old one ( ABAP_Old ).
  5. Create a new RFC destination (for example, RFC_Adapter ) of Type T (TCP/IP connection) as the RFC destination for the RFC adapter.
  6. Select the activation type as Registered Server Program.
  7. Under Program ID, enter the corresponding program ID from the configuration of the sender RFC adapter.
  8. Under Gateway host and Gateway service, enter the gateway host and gateway service from the configuration of the sender RFC adapter.
  9. If the sender system is a Unicode system, define the RFC destination as Unicode.
  10. Using the name of the old ABAP connection ( ABAP_Old ), create a new RFC destination of Type L (logical destination with reference entry).
  11. UnderReference Entry, enter the RFC destination ( RFC_Adapter ) for the RFC adapter.
Result

Under the name of the old RFC destination ( ABAP_Old ) - formerly an ABAP Connection, now a Logical Destination - the system now calls the new RFC connection ( RFC_Adapter ) of type TCP/IP Connection for the RFC adapter.

The change to the target address ( RFC destination ) is transparent to the application but it alters the semantics of the RFC connection.

To return to the old destination, simply change the reference entry in your logical destination ( ABAP_Old ), for example from RFC_Adapter to ABAP_New .