Full Screen ALV Create With CL GUI ALV GRID Class

[Solved] Full Screen ALV Create With CL GUI ALV GRID Class | Abap - Code Explorer | yomemimo.com
Question : Full screen ALV create with CL_GUI_ALV_GRID class

Answered by : denizhan-sekin

SELECT * FROM sbook INTO TABLE @DATA(bookings).
TRY. DATA(lo_grid) = NEW cl_gui_alv_grid(  i_parent = cl_gui_container=>default_screen ). lo_grid->set_table_for_first_display(            EXPORTING i_structure_name = 'SBOOK'            CHANGING  it_outtab        = bookings ). CALL SCREEN 100. CATCH cx_root.    MESSAGE 'Error in ALV creation' TYPE 'E'.
ENDTRY.

Source : https://discoveringabap.com/2021/09/24/abap-code-samples-create-alv-without-using-a-custom-container/ | Last Update : Wed, 29 Jun 22

Answers related to Full screen ALV create with CL GUI ALV GRID class

Code Explorer Popular Question For Abap