SALV: Get_Selected_Rows Problems with Container Display
Hi guys, I need to know which rows have been selected on my report.
I'm using the new class CL_SALV_TABLE to display my report, my report is display on a gui container on a dynpro.
If I used the fullscreen display, it seems to work! This probelm seems only to occur using the display in the container.
Setting the selection
selections = lr_table->get_selections( ). selections->set_selection_mode( if_salv_c_selection_mode=>multiple ).
Getting the selected rows
lt_rows = selections->get_selected_rows( ).
My internal table lt_rows is always empty, but if I go in debug and I change the rows_rec to true (first if statment of the method) ... it will works