print_end_of_page 

Use

You use this event to output text with the WRITE statement during print output. The text is inserted at the end of each page. During print output, the ALV Grid Control goes to the list output of the classic ALV.

In the print preview (classic ALV), the text for this event is not displayed.

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

Prerequisites

To allow output at the end of each page, you must reserve several lines for these pages. To do this, use field reservelns of a structure of type lvc_s_prnt and pass this structure with method set_table_for_first_display.

 

For an overview, see: Events of Class CL_GUI_ALV_GRID