Skip to Content
Feb 11, 2014 at 10:25 AM

Not getting selected rows in ALV grid...


Hi All,

I have a column on ALV grid whose cells contains button..i am using the event BUTTON_CLICK which is properly getting raised and control is coming in the registered method, But when i am using method GET_SELECTED_ROWS then it is not returning me any selected rows which i selected before hitting the button. Same thing is working when the button is on grid toolbar.

CALL METHOD lref_grid_obj->get_selected_rows
et_index_rows = lt_selected_rows[].

lt_selected_rows remains initial even after selecting the rows.

Kindly give your response on this.