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

Row Selection in ALV

Former Member
0 Likes
618

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
Read only

Former Member
0 Likes
587

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.

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

3 REPLIES 3
Read only

Former Member
0 Likes
588

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.

Read only

0 Likes
587

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

Read only

0 Likes
587

Remove checkbox.