Skip to Content
0
Mar 19, 2009 at 06:31 PM

OO ALV row marker gets reset!

521 Views

Hi All,

I have a simple OO ALV with one input enabled column and multiple line selection enabled (standard not checkbox).

Check_changed_data is used to check for changes in the input enabled column

Get_selected_rows is used check which rows have been selected

All works fine until I change a value in the input enabled column and select the line for update in one step (without pressing enter after entering the new data) and press save.

When I do this the check_changed_data triggers as expected but get_selected_row returns no rows. It is as if check_changed_data resets the row marker.

If I change a value in the input enabled column, press enter and then select the line for update, it all works fine.

Any idea how I can keep the data entered and row selection indicator if both are done at the same time?

Many Thanks

Che