Steps for Implementing Remote Function Modules 

To implement a remote function module in ABAP, perform the following steps:

  1. Register the module as remotely callable in the RFC server system.
  2. In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.

  3. Write the code for the function module.
  4. Guidelines for creating function modules in the R/3 Repository are given in the system documentation "Writing Function Modules".

  5. Define the destination of the RFC server in the RFC client system that calls the remote function.

Either you or your system administrator can maintain the RFCDES table using transaction SM59 (Tools ® Administration, Administration ® Network ® RFC destinations). Maintaining this table is described in the topic Maintaining Remote Destinations.