Application Development 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: 

Row Selection in ALV

Former Member
0 Kudos

Hi ,

How do I get row selection for alv records using REUSE_ALV_GRID_DISPLAY, where in user can select multiple records in alv.

Thnx

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can create the checkbox for multiple selection.In the layout populate BOX_FIELDNAME.Also declare char(1) field in the final internal table.Make use of USER_COMMAND subroutine.In the subroutine write:

Loop at itab where checkbox = 'X'.

You can get multiple records which are selected.

endloop.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can create the checkbox for multiple selection.In the layout populate BOX_FIELDNAME.Also declare char(1) field in the final internal table.Make use of USER_COMMAND subroutine.In the subroutine write:

Loop at itab where checkbox = 'X'.

You can get multiple records which are selected.

endloop.

0 Kudos

Thanks,...Is there any way to allow use only one selection at time.

0 Kudos

Remove checkbox.