Calling an RFC Function 

Use

To make a remote function call from within SAP Assistant.

Prerequisites

You must be either logged on to an R/3 system, or you must be connected to a local repository file for reading.

The function you wish to run must be displayed at one of the tabs at the BAPI/RFC Tree pane (either the BAPI, RFC, or Search tabs).

Procedure

  1. In the BAPI/RFC tree pane find and select the RFC function name or the name of the BAPI whose underlying RFC function you wish to run.
  2. Choose File ® Run Selected RFC/BAPI.
  3. To run an RFC you must be logged on. If you are not logged on, the SAP Assistant, asks if you wish to log on using the last logon parameters. If you choose Yes, SAP Assistant logs onto the system you last logged onto.

  4. Enter the parameters necessary for running the RFC.
  5. Choose Run to execute the call.
  6. When the call returns, you can check the RETURN parameter. This parameter contains error messages, if any occurred. The value of the various exporting parameters contain the data returned from the call. If an exporting parameter is a single field its data appears at the value column. If the returned value is a structure or a table, click the table icon to see its fields and their values.