Show TOC

Programming Simple Tables: Full Screen DisplayLocate this document in the navigation structure

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.

Schema of the Principal Procedure
The content of the programmatic creation of an ALV in fullscreen display can be divided into three sections
  1. The IDA ALV must first be instantiated. Example:
    lo_alv_ida = cl_salv_gui_table_ida=>create( 'SFLIGHT' ).
  2. The range of designing the ALV display then follows, for example, selection, presorting, and so on... A GUI status of its own can also be set (if required).
  3. Lastly, the display method is called. Example:
    lo_alv_ida->fullscreen( )->display( ).
Programming Principle Fullscreen_ALV
Note

You can find the complete code in the example report: SALV_IDA_DISPLAY_FULLSCREEN.

Optional Assignment of Toolbar of GUI Status

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
Example:
lo_alv_ida->fullscreen( )->set_pf_status(
	iv_pf_status_name = 'MY STATUS' ).
Responding to User Interaction

To respond to user inputs in the GUI status, you register event function_selected:

Interface Event
IF_SALV_GUI_FULLSCREEN_IDA function_selected
Example
SET HANDLER status_function_selected  FOR lo_alv_ida ->fullscreen (  ).
Note

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