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

Selecting multiple rows in ALV grid display

Former Member
0 Likes
10,387

Hi,

I have an ALV grid display in my report.

My grid contains multiple rows.

I have to select multiple rows at a time, to perform some operations on the selected rows.

How can it be achieved?

Thanks,

Sandeep.

4 REPLIES 4
Read only

Former Member
0 Likes
704

hi,

Refer to this link...

Read only

0 Likes
704

Hi Avinash,

You mean to say that it is not possible to select multiple rows in an ALV Grid with out CTRL select?

Thanks,

Sandeep.

Read only

0 Likes
704

hi,

As of my knowledge we cannot select muliple witout using CTRL function. OR u need to go for Select All or Deselect All.

Read only

dev_parbutteea
Active Contributor
0 Likes
704

Hi ,

you have to use a box fieldname in the report to be able to select multiple lines at a time :

- in your internal table declaration put the first field as 'box_fieldname' of type c1

- then in your work area for layout add, lwa_layout-box_fieldname = 'box_fieldname'

- in the perform for handling user commands, all selected lines will have an "X" in the field name 'box_fieldname'

Thanks and Regards,

Dev.