Saving Personalization Settings

For users it can make sense to define personalized layouts and to save them for future use. This option is not available by default. You can deactivate this function in the application program. When the function is activated, the program must decide if the user needs a special layout:
  • Only for themselves (user-specific),
  • Visible/usable for all users (global),
  • For both themselves and for other users (all),
Save them.
Personalization settings are also affected by authoriation objects S_ALV_LAYO and S_ALV_LAYR. See also:
lo_alv_display->layout_persistence( )->set_persistence_options(
     exporting
       is_persistence_key           = ls_persistence_key
       i_global_save_allowed        = l_global_save_allowed
       i_user_specific_save_allowed = l_user_specific_save_allowed ).
User-specific layouts and layouts for all users that differ in their namespaces:
  • The names of user-specific layouts start with a letter (A-Z).
  • The names of layouts for all users start with '/'.
  • The names of standard layouts provided by SAP start with a number (0-9).
Interface Method
IF_SALV_GUI_LAYOUT_PERSISTENCE set_persistence_options

Example report for an in-container display: SALV_IDA_LAYOUT_PERSISTENCE