
print_top_of_list
Use
You use this event to output text with the
WRITE statement during print output. The event is triggered once before the print_top_of_page event. The text is inserted at the beginning of the entire list and is displayed in the print preview. In this context, the ALV Grid Control goes to the list output of the classic ALV.
At the beginning of the print output, the ALV Grid Control first outputs the title of the list, provided you have determined a title with field

Demo program
BCALV_GRID_01 in development class SLIS illustrates how print_top_of_list is used.
For an overview, see:
Events of Class CL_GUI_ALV_GRID