Defining the Form Interface

Prerequisites

The application program provides the data that you want to insert in the form. Therefore, you already know the types of the corresponding variables.

Context

You define the form interface to pass data to the form. You use the interface to define import and export parameters, tables, and exceptions. By default, the interface contains a number of SAP Smart Forms standard parameters, which you can use to control form output from within the application program.

Features

The form interface of a form has the same structure as the interface of a function module in the system, except that the form interface does not support any changing parameters. Standard parameters are optional.

Procedure

  1. Click the node Start of the navigation pathGlobal Settings Next navigation step Form InterfaceEnd of the navigation path.
  2. Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. Standard parameters of SAP Smart Forms are not input-enabled.
  3. Enter the appropriate reference type. You can assign a type using the keywords LIKE or TYPE. Double-click on the reference type to display its definition.
  4. If desired, define Exceptions for the form.
  5. Use the local check on each tab page to check your entries for the form interface.

Results

You defined the form interface. You can use any parameters specified there as fields in the form.