[adsenseyu2]
In this tutorial, we will add TOP-OF-PAGE to the ALV report created using factory class CL_SALV_TABLE.
To add Top Of Page to the ALV report,
we need to create instance for the class CL_SALV_FORM_LAYOUT_GRID.
Create Label and Text to add content to the Top Of Page.
Call the method SET_TOP_OF_LIST to set the Top of page.
Let see with an example. Create a program in SE38-ABAP编辑器 (ABAP Editor) and copy the below code.
https://gist.github.com/prakash13t/e05208e4fb1165c87d90#file-topofpage_oop_alv-abap
[adsenseyu1]