Show TOC

Steps for Implementing Remote Function ModulesLocate this document in the navigation structure

Use

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

  1. Write the code for the function module.

    For guidelines for creating function modules in the Application Server ABAP Repository, see: Function Builder

  2. Register the module as remotely callable in the RFC server system.

    In the function module Administration screen (transaction code SE37), set the field Can be called by REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.

    Note

    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 ( Start of the navigation path Tools Next navigation step Administration, Administration Next navigation step Network Next navigation step RFC Destinations End of the navigation path). For more detailed information, see Maintaining Remote Destinations.

    You can then use this destination in your programs to call the function module.