Generating an External RFC Client Program 
Task
An external program shall call a function module via the RFC interface using the RFC library, and then display R/3 data locally on the frontend.
Create a complete RFC client program, starting from function module RFC_CUSTOMER_GET, whose interface is completely known and has been tested with current values of the transfer parameters. To do this, first generate a example program and then develop an executable application within a C development environment.
Overview: Unit Objectives
In this unit you will learn how to
Prerequisites
Technical prerequisites:
The following general prerequisites for remote communication must be met:
Basics
External programs can use different RFC interfaces to the R/3 system either as RFC client or as RFC server. RFC is an SAP interface protocoll based on CPI-C. However, compared to the CPI-C protocoll, programming communication procedures with RFC is much easier. One of the cross-platform interfaces is the RFC library, ofter referred to as RFC API.
In contrast to a local function call, a C program as RFC client (or RFC server) needs additional administration functions to
For each R/3 system, SAP delivers an RFC SDK. The RFC SDK for the respective platform contains the RFC library, several executable example applications, and several include files. The most important include files are:
To directly access remote function modules of the R/3 system via a desktop application, you can use either a C program or a Visual Basic program that calls this function. There are two ways:
How to Continue
Architecture and RFC APIor
Exercise 1: Generate Example Program