This one has me baffled.... I have an ALV table with rows that can be selected and some that cannot. I then select a row and everything is fine... the row is highlighted, the lead selection is set, life is good.
Now I sort one of the columns in the table using the sort option on the column header. When I click on a row selection, the lead selection event is triggered, the lead index is set but by time it returns to the screen the lead index is lost and the row is not selected (highlighted).
I have double checked my code and nowhere do I manually set the lead index (or clear it)..... I have tried setting the set_selected method and that does not work.... Also I have tried to set Lead selection index and still the row is not selected.....