on 2023 May 24 8:24 AM
Look at demo report SALV_DEMO_TABLE_SELECTIONS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is showing field values was empty, please tell me how to implement the logic with index for deleting multiple rows
lt_rows = lo_selections->get_selected_rows( ).
loop at lt_rows ASSIGNING FIELD-SYMBOL(<fs_rows>).
read table t_emp ASSIGNING FIELD-SYMBOL(<fs_emp>) index <fs_rows>.
if sy-subrc eq 0.
clear <fs_emp>.
endif.
ENDLOOP.
You have multiple ways to do that. I'll provide you a hint to do it "my way":
Take a look at my comment in one of your other questions related to this development (is it a course's homework?). Split your development into as many problems (the monolitic ones) as you can, and solve them one by one. This site has an amazing utility called "search button" you can begin with (for each problem).
Nice (second) approach. Never thought of it, or better told: never applied it. Mostly because I'm a sort of absentminded, and I'm sure I'll break something by doing that.
But it's the appropiate way to go with a standard table, thanks for put it there, maybe I'll grow a bit of confidence the next time I'll need to do that.
Hi,
Firstly google it for blogs or tutorials on the relevant topic before posting a question
go through the following tutorial for the SALV table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.