Entering content frame

Procedure documentation Defining the Form Interface Locate the document in its SAP Library structure

Use

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.

Note

The semantics of the allowed parameter types match those of a function module. See also Structure link Displaying Information on Interface Parameters, Structure link Function Modules: Overview (from the documentation ABAP Workbench Tools) or Structure link Creating Function Modules (from the documentation Structure link ABAP Programming (BC-ABA)).

Prerequisites

The application program provides the data you want to include into the form. Therefore, you know the types of the corresponding variables.

Procedure

  1. Click the node Global Settings ® Form Interface.
  2. Enter the parameter names for the data you want to pass. These names are valid throughout the form; they need not correspond to the variables names in the application program. Standard parameters of SAP Smart Forms are not input-enabled.
  3. Note

    As export and import parameters any data types are allowed. On the Tables tab, however, you can pass only tables with a flat structure.

  4. 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.
  5. Note

    You can also use F1 help and F4 help for the input fields.

  6. If desired, define Exceptions for the form.
  7. Use the local check on each tab page to check your entries for the form interface.

Result

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

 

 

 

 

Leaving content frame