‎2011 Sep 21 8:26 AM
Dear all,
I seem to have some issues with the CL_GUI_ALV_GRID and error checking.
I have added the events handle_data_changed and handle_data_changed_finished to my event handler.
I linked the "enter" button as the initiator of a change.
When I hit enter after a change the code of handle_data_changed is executed correctly.
And the protocol display is shown.
However later on in the program.. before saving data.. I must be able to check if the alv is still containing errors.
So I used methode check_changed_data in my PAI. However, even when there are still errors active, this method returns valid.
When going into system debugging I saw it doesn't execute handle_data_changed as I saw described somewhere.. but only handle_data_changed_finished.
Anyone has an idea of the probably obvious mistake I made somewhere? (Isn't for instance executing the add_protocol method not enough.. to I have to mark the cells, rows as error somewhere... etc)
Thanks in advance for any help provided... as I'm slowly turning insane by staring at the code ....
(a feeling you all probably know)
‎2011 Sep 21 10:28 AM
Solved it by keeping track of the error state with a public attribute in my handler class.