You must keep the following guidelines in mind when writing RFC programs.
The programs you write can call or be called by ABAP programs of an SAP system.
Introduction to RFC Client Programs
Establishing an RFC Connection to R/2 Systems
Programming Example of Working With Local sideinfo File
Programming Example of Working Without Local sideinfo File
Programming Example of Working With saprfc.ini File
Establishing an RFC Connection to SAP systems
Programming Example of Working With Local sideinfo file
Programming Example of Working Without Local sideinfo File
Programming Example of Working With saprfc.ini File
Remote Function Calls Using SAPGUI
Introduction to RFC Server Programs
Registering Server Programs with the SAP Gateway
RFC Server Program Working With RfcDispatch
RFC Server Program Working With RfcDispatch and RfcListen
RFC Server Programs Sending/Receiving Internal Tables
Establishing an RFC Connection from an R/2 System