Process documentationGrouping Fields for Field Selection Locate this document in the navigation structure

 

If you have numerous output fields, the number of fields available on the selection screen for the current layout becomes overwhelming. If you group the output fields, the user can then restrict the number of fields displayed on the selection screen by choosing the relevant group from a list box.

Caution Caution

The list box refers only to the hidden fields.

End of the caution.

Process

  1. Define an internal table of type LVC_T_SGRP for the field group texts and an internal table of type LVC_T_FCAT for the field catalog.

  2. Set up the field catalog manuallyor semi-automatically.

  3. Use field sp_group of the field catalog to assign a group key for each field of the output table.

  4. Define a group text in your field group table for each group.

  5. Pass the field group table and the field catalog with method set_table_for_first_display (using parameter IT_SPECIAL_GROUPS or IT_FIELDCATALOG).

Result

The system displays a list box on the selection screen for the current layout that can be used to select the relevant group:

This graphic is explained in the accompanying text.