Generating the Field Catalog Semi-Automatically
Use
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:
Process
To generate a field catalog semi-automatically:
-
Declare an internal table of type LVC_T_FCAT.
-
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.
-
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.