print_top_of_page 

Use

You use this event to output text with the WRITE statement during print output. The text is inserted at the beginning of each page and is displayed in the print preview. In this context, the ALV Grid Control goes to the list output of the classic ALV.

Demo program BCALV_GRID_01 in development class SLIS illustrates how print_top_of_page is used.

 

For an overview, see: Events of Class CL_GUI_ALV_GRID