Skip to Content
0
Apr 24, 2020 at 09:39 PM

Determine the selected rows in ALV which has checkbox marked .

240 Views

I have a ALV which displays as expected. I have "Select all, Deselect All, Approve and reject" Buttons. On "Select All" all the rows are selected as expected. When i click on Approve , i am not able to use "GET_SELECTED_ROWS" of cl_gui_alv_grid since it is meant only when all rows are selected (i.e , not by checking the checkbox).

What is my solution here. Should i loop my itab n do,no method can be used?

This works and returns the no of rows when i use the cl_gui_alv_grid->GET_SELECTED_ROWS

Doesnt work in this case, Should i use itab where modified = "X" and then go to the approval process? Any suggestion?

Attachments

capture1.png (89.5 kB)
capture2.png (85.1 kB)