Maintaining RFC Destinations 
From Theobald Software
To enable a call from the SAP system to an external server application, SAP must be aware of the subsystem. The subsystem is called an RFC destination in this case. A well-configured destination must be available to call a remote function module from your ABAP program.
[edit]
SM59
To create a new destination, please use transaction SM59 and click the Create button. The fields have to be filled in with following values:
- Unique name of the new destination (e.g. ERPTEST)
- Connection Type = T (forTCP/IP)
- Description
- ProgramID: A unique name that the server program uses to register itself on the SAP gateway (can be the same as the destination name).
- Choose option 'Registered Server Program'
You have to save the destination first before the connection can be tested.
[edit]
Connection Test
Click the button Test Connection while the program is running. If everything works well, you should see a screen as the one below.


