‎2008 Feb 27 3:29 AM
Hi Guys,
Ive been trying to solve this but nothing happened.
I just wanted to refresh the ALV everytime it is being generated because the columns depend on what the user is going to input. I did the refresh table display but it doesnt seem to work.
CALL METHOD gr_alvgrid->refresh_table_display.
Please Help..
Thanks.
‎2008 Feb 27 8:46 AM
Tin,
Use below code
DATA : DATA ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
CALL METHOD ref1->check_changed_data.
CALL METHOD ref1->refresh_table_display.
LEAVE TO SCREEN 0.