Code: Alles auswählen.
CREATE OBJECT ergebnis_container
EXPORTING
CONTAINER_NAME = 'ALV_CONTAINER'.
CREATE OBJECT ergebnis_grid
EXPORTING
I_PARENT = ergebnis_container.
CALL METHOD ergebnis_grid->set_table_for_first_display
CHANGING IT_FIELDCATALOG = gt_fieldcat
IT_OUTTAB = itab_alv.
CALL METHOD ergebnis_grid->set_frontend_layout
EXPORTING IS_LAYOUT = l_is_layout.
CALL METHOD ergebnis_grid->refresh_table_display.