The RFC API
Introduction to the RFC API
RFC with External Systems
Technical Requirements
Contents of the RFC SDK
Compiling and Linking RFC Programs
Programming with the RFC API
Technical Description
Supported Data and Transfer
Basic Functionality
Components of the RFC API
RFC Client Programs
Introduction to RFC Client Programs
Establishing an RFC Connection to R/2 Systems
Programming Example of Working With Local sideinfo
Programming Example of Working Without Local sidei
Programming Example of Working With saprfc.ini Fil
Establishing an RFC Connection to R/3 Systems
Programming Example of Working With Local sideinfo
Programming Example of Working Without Local sidei
Programming Example of Working With saprfc.ini Fil
Load Balancing
Programming Examples
Remote Function Calls Using SAPGUI
RFC Using the ABAP Debugger
RFC Server Programs
Introduction to RFC Server Programs
Registering Server Programs with the SAP Gateway
Programming Examples
RFC Server Program Working With RfcDispatch
RFC Server Program Working With RfcDispatch and Rf
RFC Server Programs Sending/Receiving Internal Tab
Establishing an RFC Connection from an R/2 System
Establishing an RFC Connection from an R/3 System
Passing Parameters
Writing an RFC Function in C
Using Multiple-Client Server Programs
The SAPRFC.INI File
Introduction
Possible Parameters
Examples
Call-Back Feature with R/3 and External Systems
Introduction
Call-Back from an ABAP Function Module
Call-Back from an RFC Server Program
Transactional RFCs and External Systems
Introduction
tRFC between R/3 and External Systems
Transactional RFC Client Programs
Transactional RFC Server Programs
Function Interface: Summary
Administration
Calling and Accepting RFC Functions
RFC Calls for Manipulating Internal Tables
Transactional Remote Function Calls
Extended Remote Function Calls
Special Functions
ABAP Data Types
RFC_CHAR
RFC_HANDLE
RFC_FUNCTIONNAME
RFC_TID
RFC_NUM
RFC_INT
RFC_INT1
RFC_INT2
RFC_BYTE
RFC_BCD
RFC_DATE
RFC_TIME
RFC_FLOAT
Function Reference
Administration Function Reference
RfcAbort
RfcAccept
RfcClose
RfcConnArgv
RfcConnArgv3
RfcEnvironment
RfcConnect
RfcLastError
RfcOpen
RFC Client Function Reference
RfcCall
RfcCallReceive
RfcReceive
RFC Server Function Reference
RfcDispatch
RfcGetAttributes
RfcGetData
RfcGetName
RfcInstallFunction
RfcInstallStructure
RfcRaise
RfcRaiseTables
RfcSendData
RfcWinInstallFunction
Table-Handling Function Reference
ItAppLine
ItCpyLine
ItCreate
ITAB_H
ItDelete
ItDelLine
ItFill
ItFree
ItGetLine
ItGupLine
ItInsLine
ItLeng
ItPutLine
Transactional Function Reference
RfcCreateTransID
RfcIndirectCall
RfcInstallTransactionControl
RFC_ON_CHECK_TID
RFC_ON_COMMIT
RFC_ON_CONFIRM_TID
RFC_ON_ROLLBACK
RFC_ONCALL
Extended Function Reference
RfcAddExportParam
RfcAddImportParam
RfcAddTable
RfcAllocParamSpace
RfcCallExt
RfcCallReceiveExt
RfcOpenExt
RfcOpenExtV3
RfcFreeParamSpace
RfcGetDataExt
RfcReceiveExt
RfcSendDataExt
RfcInstallFunctionExt
Special Function Reference
RfcListen
RfcWaitForRequest
Structures and Enumerations
RFC_CONNOPT_CPIC
RFC_CONNOPT_R3ONLY
RFC_CONNOPT_VERSION_3
RFC_ERROR_INFO
RFC_ITMODE
RFC_MODE
RFC_OPTIONS
RFC_PARAMETER
RFC_RC
RFC_TABLE
RFC_ATTRIBUTES
Platform-Specific Features of the RFC API
OS/2
Windows 3.x
Windows NT/95
R/3-Based UNIX Platforms
Sample Programs
Error Handling
Debugging
Error Handling in ABAP
Error Handling in RFC Server Programs
More Information in Error Cases
RFC and SAProuter
Introduction to SAProuter
RFC Client Program and SAProuter
Starting an RFC Server Program Via SAProuter
Using the Registering Feature
Program Start by Application Server
Program Start by SAP Gateway
Program Start by SAPGUI
RFC Between External Programs
Using A Local sideinfo File
Using the saprfc.ini File