ALV mit CL_GUI_ALV_GRID erzeugen

Einfachstaufruf von CL_GUI_ALV_GRID um eine ALV Tabelle darzustellen.

Like it? Share it!
DATA: lo_alv type ref to cl_gui_alv_grid, lt_tab type table of t001. selection-screen begin of screen 1100. selection-screen end of screen 1100. select * from t001 into table lt_tab. * ALV Objekt instanziieren CREATE OBJECT lo_alv exporting i_parent = cl_gui_container=>screen0. * Datenstruktur für ALV Tabellen mitgeben CALL METHOD lo_alv->set_table_for_first_display exporting i_structure_name = 'T001' changing it_outtab = lt_tab. * Selection Screen anzeigen call selection-screen 1100.

>_ Author

>_ last updated 4 yearss ago

>_ Language: ABAP