0% found this document useful (0 votes)
39 views

RFC RFC Basics

RFC allows programs running on different systems to call functions on each other. It provides an interface that ABAP programs use with the CALL FUNCTION statement to execute remote functions, specifying the destination system. RFC consists of interfaces for ABAP programs to call remote functions and for non-SAP programs to participate in RFC communications. It enables communication between SAP systems as well as between SAP and external systems.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

RFC RFC Basics

RFC allows programs running on different systems to call functions on each other. It provides an interface that ABAP programs use with the CALL FUNCTION statement to execute remote functions, specifying the destination system. RFC consists of interfaces for ABAP programs to call remote functions and for non-SAP programs to participate in RFC communications. It enables communication between SAP systems as well as between SAP and external systems.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

RFC

RFC Basics
This section gives a brief overview of the Remote Function Call (RFC) within an SAP System,
that is

How the RFC Interface works


The functionality that is provided by the RFC and
It explains the technical requirements for RFC on R/2, R/3 and external systems on all
currency supported platforms.

The following background topics are available:


1. The RFC Interface
2. RFC in SAP Systems
1. The RFC Interface
A remote function call is a call to a function module running in a system different from the
callers. The remote function can also be called from within the same system (as a remote call),
but usually caller and callee will be in different systems. In the SAP System, the ability to call
remote functions is provided by the Remote Function Call interface system (RFC). RFC allows
for remote calls between two SAP Systems (R/3 or R/2), or between an SAP System and a nonSAP System.
RFC consists of the following interfaces:

A calling interface for ABAP programs:


Any ABAP program can call a remote function using the CALL FUNCTION..
DISTINATION statement. The DISTINATION parameter tell the SAP System that the
called function runs in a system other than the callers. RFC Communication with the
remote system happens as part of the CALL FUNCTION statement. RFC functions
running in an SAP System must be actual function modules, and must be registered in
the SAP System as remote. When both caller and called program are ABAP program,
while the called program must be a function module registered as remote.
o The topic Calling Remote Function Modules in ABAP provides details on
o

calling function modules registered as remote.


The topic Writing Remote Function Modules in ABAP provides information on
writing function modules that you want to call remotely.

Calling interfaces for non-SAP programs.


When either the caller or the called partner is a non-ABAP program, it must be programmed to
play the other partner in an RFC communication . TO help implement RFC partner programs in
non-SAP Systems, SAP provides.
External Interfaces
External programs to call function modules in SAP R/2 or R/3 systems and execute them in
these systems can user FC-based and GUI-based interfaces. Vice versa, ABAP programs in R/2
or R/3 can use the functions provided by external programs via these interfaces.

You might also like