Skip to Content
0
Former Member
May 11, 2010 at 08:53 AM

end-of-page event in alv report

170 Views

Hi all,

I want to create end-of-page in alv report i have used event also

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * "

EXPORTING *

i_callback_program = sy-repid * "

i_callback_user_command = 'USER_COMMAND' * "

i_callback_top_of_page = 'TOP_OF_PAGE' * "

  • I_STRUCTURE_NAME = * "

it_fieldcat = fcat[] * "

it_events = it_event[] * "

TABLES

t_outtab = gtbl_pohead * "

EXCEPTIONS

program_error = 1 * "

OTHERS = 2 "

FORM end_of_page. *

DATA: listwidth TYPE i, *

ld_pagepos(10) TYPE c, *

ld_page(10) TYPE c. *

WRITE: sy-uline(50). "

SKIP 3.

WRITE:/40 'Page No',sy-pagno. "

ENDFORM. "END_OF_PAGE "