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.
You have created a PDF-based form with an interface, and created and activated the form context.
The function module is included in the application program that collects the data and calls the form.
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.
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.
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