Layouts
Use
You use layouts to tailor the outputted list to your individual requirements.
Application developers control user authorizations for layouts using parameters I_SAVE, IS_VARIANT and I_DEFAULT of method set_table_for_first_display. Three modes are available:
|
Mode |
Result |
Values of I_SAVE and IS_VARIANT when set_table_for_first_display is called |
|
Changing the current layout only |
The ALV Grid Control displays only the layout icon ( |
IS_VARIANT = SPACE. I_SAVE = SPACE. (default setting) |
|
Loading delivered layouts only |
The ALV Grid Control displays both the layout icon and a menu in the toolbar. The menu contains only functions for selecting and changing layouts. |
IS_VARIANT= <layout structure> I_SAVE= SPACE. (or IS_VARIANT is SPACE and I_SAVE is not SPACE) |
|
Loading and saving layouts |
The ALV Grid Control displays both the layout icon and a menu in the toolbar. By clicking this icon, users can select an existing layout. The menu provides functions for selecting, changing, saving and managing layouts. |
IS_VARIANT= <layout structure> I_SAVE= <'X', 'U' or 'A'> More information: Saving layouts |
By setting parameter I_DEFAULT, you can allow users to save default layout settings (set in the default setting).
) but no menu in the toolbar. By clicking this icon, users can change the current layout (basically, they can modify the selection and the order of the columns displayed).