Start of Content Area

Function documentationget_variant  Locate the document in its SAP Library structure

Use

Get the current layout.

Caution

Layout in this context refers to the layout for the filter, sort and column settings, and not to the layout structure.

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_variant

   IMPORTING
      ES_VARIANT  =   <structure of type DISVARIANT > .

Parameter

Meaning

ES_VARIANT

Structure with information on the layout currently used

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID