2007 Dec 14 8:56 AM
how to enable save option in layout when container is used in object oriented prog.
which method is to be used.
2007 Dec 14 9:04 AM
Hi,
Try passing the below values in i_save parameter in set_table_for_first_display method.
'X' Global Saving
'U' User-specific saving
'A' corresponds to 'X' and 'U'
space no saving
how to enable save option in layout when container is used in object oriented prog.
which method is to be used.
2007 Dec 14 9:03 AM
When Calling Alv Display Function, Add check function parameter I_SAVE or SAVE with 'X'.
2007 Dec 14 9:04 AM
Hi,
Try passing the below values in i_save parameter in set_table_for_first_display method.
'X' Global Saving
'U' User-specific saving
'A' corresponds to 'X' and 'U'
space no saving
2007 Dec 14 10:24 AM
hi,
<b>You need to pass the value 'U' to the 'i_save' parameter for saving the layout.</b>
Example:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_background_id = 'ALV_BACKGROUND'
i_callback_program = l_repid
i_callback_pf_status_set = l_status
i_callback_user_command = l_user_command
I_STRUCTURE_NAME = 'VBUK'
is_layout = lf_layout
it_fieldcat = lf_fieldcat[]
IT_EXCLUDING =
it_special_groups = lf_sp_group
I_DEFAULT = 'X'
<b> i_save = 'U'</b>
is_variant = l_variant
it_events = lf_events[]
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = l_spetab .
Message was edited by:
P Sreenivasulu
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |