2010 Apr 13 11:59 AM
Hello,
I am calling method SET_TABLE_FOR_FIRST_DISPLAY using OOPS concept with parameter i_default = 'X' like...
CALL METHOD u_alvgrid->set_table_for_first_display
EXPORTING
is_variant = c_variant
i_save = 'A'
i_default = 'X'
is_layout = c_layout
it_toolbar_excluding = gt_exclude_0100[]
i_structure_name = c_stucture_name
it_alv_graphics = lt_alv_graphics
CHANGING
it_sort = lt_sort
it_outtab = ut_outtab[]
it_fieldcatalog = tt_fieldcat[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
Now when I again call REFRESH_TABLE_DISPLAY method, my default variant is lost. But I would like that I should view my default variant even after calling REFRESH_TABLE_DISPLAY method.
Please guide me how can I achieve it.
Best Regards,
Navin
Hello,
I am calling method SET_TABLE_FOR_FIRST_DISPLAY using OOPS concept with parameter i_default = 'X' like...
CALL METHOD u_alvgrid->set_table_for_first_display
EXPORTING
is_variant = c_variant
i_save = 'A'
i_default = 'X'
is_layout = c_layout
it_toolbar_excluding = gt_exclude_0100[]
i_structure_name = c_stucture_name
it_alv_graphics = lt_alv_graphics
CHANGING
it_sort = lt_sort
it_outtab = ut_outtab[]
it_fieldcatalog = tt_fieldcat[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
Now when I again call REFRESH_TABLE_DISPLAY method, my default variant is lost. But I would like that I should view my default variant even after calling REFRESH_TABLE_DISPLAY method.
Please guide me how can I achieve it.
Best Regards,
Navin
2010 Apr 13 12:28 PM
Hi,
Try withparameters I_SOFT_REFRESH = 'X' in method REFRESH_TABLE_DISPLAY.
Rgds
2010 Apr 13 12:31 PM
Hello,
Thanks for the reply. I tested with parameter I_SOFT_REFRESH = 'X', but it didn't work.
Best Regards,
Navin
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |