Process documentationGenerating the Field Catalog Semi-Automatically Locate this document in the navigation structure

 

When generating the field catalog semi-automatically, you combine structure information of the Data Dictionary with your own structure information. In this context, you can:

  • modify or

  • add structure descriptions of new fields to

the field catalog generated automatically using the DDIC structure. For example, this method is helpful for the following scenarios:

Note Note

You want to display a Data Dictionary table without displaying all possible columns initially (using field NO_OUT of the field catalog).

End of the note.

Note Note

You want to display additional columns containing icons or other information. See the table in Generating the Field Catalog Manually for the required fields. This section also explains how to define texts for a new column.

End of the note.

Process

To generate a field catalog semi-automatically:

  1. Declare an internal table of type LVC_T_FCAT.

  2. Call function module LVC_FIELDCATALOG_MERGE and pass the DDIC structure of the output table and the internal table for the field catalog. The function module generates the field catalog and fills the internal table accordingly.

  3. Read the rows you want to change, and adapt the fields accordingly. If your output table contains more fields than are stored in the Data Dictionary, you must append one row for each new field to the field catalog.

To display the output table with the settings of the field catalog, pass the field catalog in method set_table_for_first_display.