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: 

Handling Mark all button in ALV using class cl_gui_alv_grid

Former Member
0 Kudos

Hi all,

I have added one button "Mark All " on my custom screen(custom PF Status ).

when I will click it I want to select all rows which are displayed in ALV using class cl_gui_alv_grid .

How to select the rows without standard button???Please help me..

4 REPLIES 4

uwe_schieferstein
Active Contributor
0 Kudos

Hello

When you set in LVC_S_LAYO-SEL_MODE = 'D' (layout) then you have the row mark by default.

Regards

Uwe

0 Kudos

Hi,

No it's not working. I tried it at sy-ucomm .

case sy-ucomm.

WHEN markall.

gs_layout-sel_mode = 'A'.

CALL METHOD go_grid_alv->refresh_table_display.

But it's not working..can u give me another solution?

0 Kudos

Sorry it's was 'D' not 'A'.

former_member188685
Active Contributor
0 Kudos

Check this Demo Program

BCALV_EDIT_05