
Using methods of interface IF_SALV_GUI_FULLSCREEN_IDA you can display a simple table; the container and the container screen are provided by ALV. Choose the fullscreen display if you do not need direct access to the screen in order to, for example, intergate further input fields or controls. This drastically simplifies the creation of programs.
lo_alv_ida = cl_salv_gui_table_ida=>create( 'SFLIGHT' ).
lo_alv_ida->fullscreen( )->display( ).
You can find the complete code in the example report: SALV_IDA_DISPLAY_FULLSCREEN.
The ALV-specific toolbar can continue to be used; the keys for the ALV services have not been removed, and a separate GUI status can also be defined:
| Interface | Method |
|---|---|
| IF_SALV_GUI_FULLSCREEN_IDA | set_pf_status |
lo_alv_ida->fullscreen( )->set_pf_status( iv_pf_status_name = 'MY STATUS' ).
To respond to user inputs in the GUI status, you register event function_selected:
| Interface | Event |
|---|---|
| IF_SALV_GUI_FULLSCREEN_IDA | function_selected |
SET HANDLER status_function_selected FOR lo_alv_ida ->fullscreen ( ).
Application services that relate to the table and require, for instance the currently selected line, should be added to the toolbar. Other services, general services, and links can be added to the GUI status.
Report example: SALV_IDA_DISPLAY_FULLSCREEN