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 GRID data save problem

Former Member
0 Likes
550

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.

3 REPLIES 3
Read only

aditya_avadhanula
Participant
0 Likes
470

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.

Read only

0 Likes
470

Thanks a lot aditya rao.

I have been looking for this for a long time.

Read only

Former Member
0 Likes
470

Hi,

using your grid object call fm check_changed_data

ex:

call method grid1->check_changed_data

importing e_valid = v_valid.