set_frontend_fieldcatalog 

Use

Set the field catalog for an ALV Grid Control instance.

After setting the field catalog, you refresh the list display using method refresh_table_display. If the field catalog refers to an output table that you display in an ALV Grid Control instance with another table structure, you must pass the field catalog using method set_table_for_first_display.

See also: The Field Catalog and get_frontend_fieldcatalog.

Prerequisites

You have either got the current field catalog using method get_frontend_fieldcatalog or you have set up the field catalog semi-automatically before.

Features

CALL METHOD <ref.var. to CL_GUI_ALV_GRID > ->set_frontend_fieldcatalog

   EXPORTING
      IT_FIELDCATALOG  =   <internal table of type LVC_T_FCAT > .

Parameter

Meaning

IT_FIELDCATALOG

Description of the column attributes of the output table

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID

 

Restrictions

In this method, the ALV Grid Control does not access the Data Dictionary. Consequently, it is not possible to subsequently create a Dictionary reference, for example, to automatically copy field labels as column texts that are stored in the Dictionary.