Show TOC

Activating and Deactivating ALV Standard ServicesLocate this document in the navigation structure

Multiple standard services are available for ALV with IDA, and are displayed as icons in the toolbar of ALV:

Sorting Sort ascending and descending
Grouping Grouping
Filtering Filtering
Aggregating Aggregating Totals
Exporting Exporting to Excel
Printing Printing
Details Detail display of rows
Note The standard function Detail Display is only activated when the value single was selected for the selection mode, that is, if an individual row of the table can be selected. See also: Selecting and Reading Single Rows
Integrated text search (see also, Text Search Across the Whole Table)

The majority of these services are also available, just as in the toolbar, in the context menu of fields.

Activating/Deactivating Individual Services at the Level of the Whole Table

Each of the services can be activated or deactivated at the level of the whole table. For example, the calculation of totals can be deactivated for the whole table. The service is then no longer available in the toolbar, nor in the context menu of fields or in the settings dialog box.

Interface Method
IF_SALV_GUI_TABLE_IDA standard_functions

Example reports for a full screen display: SALV_IDA_STANDARD_FUNCTIONS_FS

Activating/Deactivating Individual Services in the Toolbar or in the Context Menu of Individual Fields
It is also possible to activate or deactivate individual standard functions only in the toolbar or only in the context menu of one or more fields.
Note To activate a specific service, it must be active at the level of the whole table (see above).
The integrated text search cannot be excluded from the toolbar because it can only be activated overall. It is not integrated in the settings dialog box, nor in the context menu.
Table 1: Interface/methods for activation/deactivation at toolbar level:
Interface Method
IF_SALV_GUI_TOOLBAR_IDA
  • hide_all_standard_functions
  • set_visibility_std_functions

Example reports for an fullscreen display: SALV_IDA_STANDARD_FUNCTIONS_FS

Table 2: Interface/methods for activation/deactivation at field level:
Interface Method
IF_SALV_GUI_FIELD_CATALOG_IDA
  • disable_aggregation
  • disable_sort
  • disable_filter
  • disable_options
  • enable_text_search

Example reports for an fullscreen display: SALV_IDA_STANDARD_FUNCTIONS_FS

Note All ALV services that can be applied to the displayed data, except for the integrated text search, are active by default.