Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding alv selection

Former Member
0 Likes
391

hi gurus,

i have a scenario, where i need to output alv list display,

but i need to give an option on side to choose among the displayed lines in the output,

so that, when the user chooses few lines and presses a button, only those records have to be processed.

any clues, how to give an option of choosing among the records displayed in alv list,

and then reading the lines which are chosen to get those details and process them.

thank you.

2 REPLIES 2
Read only

Former Member
0 Likes
365

You can use the class cl_gui_alv_grid to display a list in ALV.

Use the methods get_selected_rows to get only the selected rows after pressing the buttons in the PAI.

Regards,

Sudhir Atluru

Reward points for helpfull answers

Read only

Former Member
0 Likes
365

Method SET_SELECTION_MODE_BASE of class CL_GUI_ALV_GRID might be helpful along with the method GET_SELECTED_ROWS.

Refer [this|; for more details.