2021 Aug 16 10:08 AM
Hi Experts
Now I use DATA_CHANGED event. But I will use DATA_CHANGED_FINISHED . Maybe I can save data in the database table. How to use the event ? Can you help me ? Thanks.
The code is following:
class lcl_event_receiver definition.
public section.
methods:
handle_data_changed
for event DATA_CHANGED of cl_gui_alv_grid
importing er_data_changed.
private section.
* This flag is set if any error occured in one of the
* following methods:
data: error_in_data type c.
* Methods to modularize event handler method HANDLE_DATA_CHANGED:
methods: check_planetype
importing
ps_good_planetype type lvc_s_modi
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods: ch_new_plane_v_new_seatsocc
importing
psg_plane type lvc_s_modi
psg_socc type lvc_s_modi
ps_saplane type saplane
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods: ch_new_plane_v_old_seatsocc
importing
psg_plane type lvc_s_modi
ps_saplane type saplane
pr_data_changed type ref to cl_alv_changed_data_protocol.
methods: check_seatsocc
importing
ps_good type lvc_s_modi
pr_data_changed type ref to cl_alv_changed_data_protocol.
endclass.
2021 Aug 16 12:17 PM
How to use the event, to do what?
Why do you want to use DATA_CHANGED_FINISHED that you can't do with DATA_CHANGED?