Show TOC

Programming Simple Tables: In-Container Display Locate this document in the navigation structure

For the in-container display, the screen is first constructed in which the ALV with IDA is then embedded.

The following example shows how you can display the content of a table from an in-memory database using the ALV with IDA in a report.

Schema of the Principal Procedure
The content of the programmatic creation of an ALV in in-container display can be divided into three sections
  1. In the PBO module of the screen you instantiate the custom container in which the ALV is to be displayed. Example:
    lo_container_d0555 =  NEW #(  'D0555_CONTAINER'  ) .
  2. Then you instantiate the ALV with IDA. Example:
    lo_alv_display = cl_salv_gui_table_ida=>create( iv_table_name = 'SFLIGHT'
                                                 io_gui_container = lo_container_d0555 ).
  3. Then you can specify the criteria for data selection and display.

    The data retrieval and display are copied from the ALV with IDA.

In_Container_Display
Note

You can see the whole example in the system in the report SALV_IDA_DISPLAY_DATA.