I have developed a report using REUSE_ALV_GRID_DISPLAY function module. The input of the report is date, so as the time changes the output changes, means for the same date input the out put will changes as time of execution changes.
There is a refresh button in the tool bar. The user wants to click the refresh button and the data should automatically change.
I have used the function module as shown below.
Display ALV list
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
i_callback_program = l_repid
i_callback_pf_status_set = g_form_set_pf_stat
is_layout = l_wa_layo
it_fieldcat = l_t_fcat
i_save = 'A'
it_events = l_t_evts1
is_print = l_wa_prnt
t_outtab = g_t_mpoints
program_error = 1
OTHERS = 2.
Can you help in refresh of data when the user clicks on refresh button.