‎2009 Jun 05 7:19 AM
Hi All,
I am displaying an ALV grid on subscreen of TAB Strip.
When I change the data on ALV grid and click save button / back button / exit button.
Changes in ALV Grid is not captured.
How can I capture the changed data for the same.
‎2009 Jun 05 8:07 AM
use this class and method it will slove your problem
DATA : ref_grid TYPE REF TO cl_gui_alv_grid.
DATA : wa_cat LIKE LINE OF alv_fldcat1.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
CALL METHOD ref_grid->check_changed_data.
‎2009 Jun 06 4:51 AM
Thanks a lot aditya rao.
I have been looking for this for a long time.
‎2009 Jun 05 4:14 PM
Hi,
using your grid object call fm check_changed_data
ex:
call method grid1->check_changed_data
importing e_valid = v_valid.