Generating Function Modules

Prerequisites

Before you can generate a data transfer program, you must record the transactions using which the data is imported into the SAP system. You use the transaction recorder to do this.

Procedure


  1. Display the initial screen of the transaction recorder.

  2. Choose Overview. The system displays an overview of all recordings.

  3. Position the cursor on the relevant recording and choose Create Function Module.

  4. On the subsequent dialog box, enter a function module name, a function group and a short text for the function module. Choose Continue. The system automatically creates the function module.

Results

You have now generated a function module that you can use as an interface for your SAP system. As well as information relevant for the data transfer, the function module's import interface has a parameter for each input field of the transaction recorded.