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: 

REUSE_ALV_GRID_DISPLAY

Former Member
0 Kudos
106

Hi All,

I am using the FM 'REUSE_ALV_GRID_DISPLAY' to generate a ALV report. I am able to sucessfully generate it but i am able to select just one line item at a time in the ALV grid display. I want to select multiple lines in it.

How is it possible.

The following parameters i am passing to the FM.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = ZXXXX "Program name

it_fieldcat = it_fld_catalog

i_save = 'X'

TABLES

t_outtab = it_final

EXCEPTIONS

program_error = 1

OTHERS = 2.

Also i want to send the selected line items via mail as PDF attachment to a person . How it is possible. Does the selected line items gets stored somewhere?

Please help. Thanks in Advance.

Regards,

Vivek

1 ACCEPTED SOLUTION

Former Member
0 Kudos
70

Hi,

I feel you should be able to select multiple lines if you press Cntrl....

Let me know if it helps.

Vivekanand

3 REPLIES 3

Former Member
0 Kudos
70

Hi Vivek,

For Multiple line selection. You can introduce a CHECK BOX as your first column in your ALV output. You can do this via Field Catalog. In your internal table also you need to have your first column with CHAR 1 to store the check box values.

Later while processing the records, you can process only the records which is checked.

Best Regards,

Ram.

Former Member
0 Kudos
71

Hi,

I feel you should be able to select multiple lines if you press Cntrl....

Let me know if it helps.

Vivekanand

Former Member
0 Kudos
70

Thanks you all