Show TOC

Determining the Interface Fields Used in the Application ProgramLocate this document in the navigation structure

Use

You can create several form templates for a form interface, with each only using some of the interface fields. You use the function module FP_FIELD_LIST to get all fields of the form interface that are used by a form template. You can use these results to optimize data retrieval in the application program. The performance of the application program improves since it only has to provide the parameters that are actually required.

Prerequisites

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

Integration

The function module is integrated into the application program that collects the data and calls the form.

Features

The function module FP_FIELD_LIST provides you with the following information:

  • Fields from the form interface that are used in active nodes in the form context.

    This includes fields referenced in data nodes and fields that are used in conditions, alternatives, text nodes, address nodes, and graphic nodes.

    Note

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

  • Fields used in the ABAP coding (initialization) of the form interface

Activities

You integrate the function module into 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.