ALV: Selection-Infos automatically in ALV-Header

Question:
hi sapfans
i'm looking for a function to integrate automatically the selections done on the selection-screen in the alv-header.
i thought there is an easy way, but can't find it anymore.
thx
michael
Answer:
Set field GET_SELINFOS = 'X' in the ALV Layout.
KRK
Answer:
it seems to be the coding i was looking for, but it doesn't work...
my coding...
...
* Layout festlegen
alv_layout-get_selinfos = 'X'.
* ALV anzeigen
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'ZMER0060'
it_fieldcat = i_fieldcat[]
i_save = 'A'
it_events = alv_event
is_layout = alv_layout
TABLES
t_outtab = tab
EXCEPTIONS
program_error = 1
OTHERS = 2.
...
i get the correct alv-list, but without the selection-options...
do you send me an example?
michael
Answer:
.. rather than the GRID,
practically the same parameters but,
REUSE_ALV_LIST_DISPLAY instead of GRID,
then selection linking works for free!
Regards,
Paul McCartan,
pmccartan@waterford.ie

Answer:
how can this be modified if i'm using the class CL_GUI_ALV_GRID with the method set_table_for_first_display ??
Answer:
@Paul McCartan: but i want to show the grid...
the next thing i've found: on the list, it's also not displayed, but it's printed on the page where also the hother alv-statistic is...
so it's anyway not really that what i thought it is...
thx anyway

More Articles:

How could I get the deleted date for a deleted user?
Basic list width problem with printing - help me plz?
Drag/Drop between trees and pictures, anyone?
How to accelerate the speed of selecting data from BSEG?
ADDITIONAL SCREEN REQUIRED FOR PO?
How can I prepare for the ABAP developer CERTIFICATE test?