Show TOC Start of Content Area

Process documentation Exposing an RFC-Enabled Function Module as a Callable Object  Locate the document in its SAP Library structure

Purpose

RFC-enabled function modules are ABAP programs that can be executed from a remote SAP system in a distributed environment. They are created in the ABAP Workbench Function Builder. For example, BAPIs (Business Application Programming Interface) are implemented as RFC-enabled function modules.

The Guided Procedures (GP) framework allows you to import any RFC-enabled function module as a callable object and to use it in a business process that you model with GP. In addition, you do not need to modify the implementation of the existing function modules to fit any specific requirements. The framework itself integrates the function modules into the GP environment.

Prerequisites

·        You have access to an SAP system and you have the permissions required to execute the RFC-enabled function module that you are exposing as a callable object.

·        You have the latest version of GP installed.

·        You have access to SAP NetWeaver Administrator on your system.

Process Flow

The process of importing an RFC-enabled function module into GP comprises the following steps:

...

       1.      Configuring an RFC destination

       2.      Exposing a BAPI as a callable object

Exposing a BAPI as a Callable Object in Guided Procedures

This graphic is explained in the accompanying textIn this example, a BAPI is exposed that retrieves details for a user identified by his or her username in an SAP system. The input and output parameters of the function module are automatically detected. You only need to configure the exception handling (in this case none), as well as the connection to the SAP system.

Result

Once you have exposed the BAPI as a callable object and activated it, you can attach it to actions and invoke it within a business process. The BAPI is executed in the background and the output is displayed.

More Information

Configuring an RFC Destination

Importing a BAPI in Guided Procedures

Testing and Activating the RFC Callable Object

 

End of Content Area