cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Rows and Columns selection on ALV

Former Member
0 Kudos

Hi all,

What is the best solution to allow the multiple selection or combination of selection (rows and columns) on an ALV ?

I would like to be able to select some rows and some columns and to get the result cells in order to update them.

Thanks in advance for your help.

David

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I created my Checkbox line using an invisible column and the method add_cell_variant.

Former Member
0 Kudos

Thanks Srinivas and Seela,

I forgot to precise that my ALV is dynamic, I used the method 'add_new_child_node'.

I tried the different possibilties with method attributes but I don't find the good attributes combination to allow columns selection.

I add also that I have to be able to select several no adjacent columns.

What do you think about this workaround :

Is it possible to add a line on my ALV with checkbox between the header line (with column title) and data line.

I will search using the method add_cell_variant but I don't know if it's possible with dynamic ALV.

Thanks.

David

Former Member
0 Kudos

Hi

Right click on the node and set the selection cardinality as 0:N and Initial Lead selection as 'yes' . Now you can select multiple rows by using shift and you can perform the operations what you want.

Cheers,

Seela

former_member199125
Active Contributor
0 Kudos

David,

We can select the multiple rows,

if you want to select particular rows, set the selection cardinality as 0:N

And for you requirement

try this

using 'Shift'. After selecting rows - press 'Shift' and select needed columns.

Regards

Srinivas

Edited by: sanasrinivas on Dec 14, 2011 6:01 AM