Use
Get the current layout.

Layout in this context refers to the layout for the filter, sort and column settings, and not to the
Prerequisites
The current layout has been saved. So that the user can save layouts, at least parameters I_SAVE and IS_VARIANT must contain a value when
set_table_for_first_display is called.Features
CALL METHOD
<ref. var. to CL_GUI_ALV_GRID > ->get_variantIMPORTING
Parameter |
Meaning |
ES_VARIANT |
Structure with information on the layout currently used |
For an overview, see:
Methods of Class CL_GUI_ALV_GRID