Exercise 1: Generate Example Program 

Prerequisites

Procedure

  1. Log on to the target system, in which the respective function module is available.
  2. Choose Tools ® ABAP Workbench ® Function Builder.
    The initial screen of the Function Builder appears.
    Enter the name of the function module: RFC_CUSTOMER_GET.
  3. Choose Utilities ® RFC interface ® Generate.
    A dialog window appears, where you must make settings for the generation.
  4. Mark the input field for a complete ANSI C client example.
    Enter the Download path on your local PC and the extensions for the header and source files to be generated.
  5. Choose Continue.
    The system generates the required files and displays a text file "saprfccl.txt" containing information on the generated example program.
  6. Close this file.
    The initial screen of the Function Builder reappears.
  7. Choose Utilities ® RFC interface ® Download.
    A list of the generated files appears.
  8. Confirm or, if necessary, change the preset download path and choose Continue.
    The system stores the files locally on the PC.

Check Your Work

Check whether all files required for an executable program have been stored in the local transfer path. For a detailed description of these files, refer to the corresponding info file.

How to Continue

Exercise 2: Create an Executable Program