2009 Mar 24 3:31 PM
Dear SDN,
I'm using edit grid.
How could I use the method call method p_data_changed->add_protocol_entry, outside event data_changed?
I need to check the data (all lines of te grid) at an (Z) user-comand.
Thanks!
Best regards,
Maria João Rocha
2009 Mar 24 3:36 PM
Call this method in your Z user command
call method cl_gui_alv_grid=>check_changed_data
importing
e_valid = v_valid.
if not v_valid is initial.
" Data changed
else.
" Data not changed
endif.
a®
2009 Mar 24 3:49 PM
thanks a®s,
I can't call check_changed_data, because I need to check all lines of the grid at the same time and some of the lines may not have been changed.
Best regards,
Maria João Rocha
2009 Mar 24 3:59 PM