Loosing changed contents when used FM REUSE_ALV_GRID_DISPLAY

Posted on 16th Feb 2014 by admin

Hi,

I have used FM REUSE_ALV_GRID_DISPLAY in my program as below.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_pf_status_set = c_pf
i_callback_user_command = 'USER_COMMAND'
is_layout = ist_layout "I_CALLBACK_TOP_OF_PAGE = C_TOP
it_fieldcat = ist_fieldcat
TABLES
t_outtab = ist_outtab.

and kept one column editable by setting EDIT = 'X' and INPUT = 'X' for one column in ist_fieldcat.
Now if user changes contents of a cell in this editable column and clicks on any toolbar button, then changed contetns are not received in USER_COMMAND routine.

But if user changes the contents of a cell in this editable column and then double-clicks anywhere inside the ALV grid, then changed contents are received in USER_COMMAND routine.

I dont want to loose the changed contents of ALV grid, can anybody help in this.

Thanks in advance.

Regards,

Other forums