Hi,
if you are using functionmodule REUSE_ALV_GRID_DISPLAY, then you have to
I_CALLBACK_PF_STATUS_SET..
1. First create the ststus using set pf-status 'ZSTAT01' and then remove set pf-status statment.
2. assgine the created PF-status to g_formname_pf_status.
3. In the user-command, you can handle code.
DATA: g_formname_pf_status TYPE slis_formname.
g_formname_pf_status = 'ZSTAT01',
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_pf_status_set = g_formname_pf_status
..............
.................
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
TABLES
t_outtab = output_tab
EXCEPTIONS
program_error = 1
OTHERS = 2.
Thanks,
Ramakrishna
Add a comment