Show TOC Entering content frame

Function documentation Getting the Used Interface Fields Locate the document in its SAP Library structure

Use

You can use the same interface for multiple forms, but not all fields of the interface need to be used in every form. You use the function module FP_FIELD_LIST to get all fields of the interface that are used in the form. This enables you to optimize the way the data is collected in the application program. The performance of the application program improves because it only needs to provide the parameters required by the relevant form.

Prerequisites

You have created a PDF-based form with an interface, and created and activated the form context.

Integration

The function module is included in the application program that collects the data and calls the form.

Features

The function module FP_FIELD_LIST provides you with the following information:

·        All fields from the interface that are used in active nodes in the form context. This includes fields referenced by the data node and fields that are used in conditions, alternatives, text nodes, address nodes, and graphic nodes.

Note

You can also see the used field names in the form context by displaying the properties and conditions for each node. You can also see field names under Where Conditions for table nodes, if any are defined.

·        All fields from the interface that are used in the ABAP code (initialization) of the interface.

Activities

You include the function module in the application program that collects the data and calls the form.

·        You specify the name of the form as an import parameter.

·        You get a table of the used fields (with the type TFPFIELDS) that can then be used for data collection in the application program.

See also:

Collecting the Application Data

 

Leaving content frame