2007 Mar 09 11:12 AM
Hi Abapers,
I wanto get the value of the selected rows from alv_grid. The solutuin must be just frontend.
I found a good looking method, but its just a protected mehtod:(
It is very important to handle more than 1 row.
The cl_alv_changed_data_protocol don't good for me, because to this event didn't make any changes.
Thank for the help.
Hi
For getting the selected rows of an aliv grid
Use the method of cl_alv_gui_grid that is get_selected_rows which will given the row id and row number and it provides mulitple rows .
You want cell wise value you can use get_selected_cell .
This will surely help .
Please reward if useful.
2007 Mar 10 9:07 AM
Hi
For getting the selected rows of an aliv grid
Use the method of cl_alv_gui_grid that is get_selected_rows which will given the row id and row number and it provides mulitple rows .
You want cell wise value you can use get_selected_cell .
This will surely help .
Please reward if useful.
2007 Mar 13 12:50 PM
Hi, thx for the help, but it doesn't work.
If i wanto set a row selection the get_selected_cell give me back no row values.
I don't need the row_id just the row value.
thx
2007 Mar 10 9:12 AM
Tr this....
CALL METHOD grid->get_selected_rows
IMPORTING
et_row_no = lt_rows_no.
check the where-used-list of the above method...
also chk BCALV_EDIT_05
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |