Professional Documents
Culture Documents
The name itself indicates that the output view of a report is in the form of a list. This
list can be displayed in two forms
1. CL_GUI_ALV_GRID
2. CL_GUI_CUSTOM_CONTANIER
3. CL_GUI_SPLITTER_CONTAINER
4. CL_GUI_CONTAINER
5. CL_DD_DOCUMENT
6. CL_GUI_HTML_VIEWER
7. CL_ALV_CHANGED_DATA_PROTOCAL
8.
CL_GUI_ALV_GRID: This class contains all the methods required to create an ALV and
holds the events required for the generated ALV. The methods in this class are useful for:
Process Flow
If you have created the internal data table and the instance of the ALV main class, you are able to
generate an object for each class used and make the settings as well. To do this, proceed as follows:
• You declare an object variable for each type of class that you want to use
(such as data: gr_display type ref to cl_salv_display_settings. )
• You use the respective Get method the main ALV class to get the objects of the corresponding
type
(for example gr_display = gr_table->get_display_settings ( ). )
• You use the methods of the class used to assign the desired properties to the object.
(For example
gr_display->set_striped_pattern(
value = 'X').
gr_display->set_vertical_lines(
value = 'X').)
When you have made the settings you display the ALV output with the display method.