Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Refresh

Former Member
0 Likes
311

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.

1 REPLY 1
Read only

Former Member
0 Likes
296

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.