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: 

Function REUSE_ALV_GRID_DISPLAY select all line before showing data

franois_becker
Explorer
0 Kudos

Dear Expert,

I use function  REUSE_ALV_GRID_DISPLAY to display an ALV, and I want to select all the line before showing the tab to the user.

By default, I want all my lines selected.

Thanks for your help.

1 ACCEPTED SOLUTION

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Try  creating additional field  in alv grid  output as check box. assign the values to the field  with the value as 'X'.

View the link.

ALV Grid Display with checkbox to process selected records at runtime - Code Gallery - SCN Wiki

Hope it helpful,

Regards,

Venkat.

3 REPLIES 3

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Try  creating additional field  in alv grid  output as check box. assign the values to the field  with the value as 'X'.

View the link.

ALV Grid Display with checkbox to process selected records at runtime - Code Gallery - SCN Wiki

Hope it helpful,

Regards,

Venkat.

0 Kudos

Hello Venkat,

I want to select line like if user click on standard buton select all.

Best regards

François

0 Kudos

Hi Francois,

In User command.

" Select all'.

loop at itab assigning  <fs>.

<fs>-checkbox = 'X'.

endloop.

Hope it helpful,

Regards,

Venkat.