Skip to Content
0
Former Member
Apr 20, 2007 at 12:02 PM

HOW TO DISPLAY END OF PAGE IN ALV.

17 Views

HOW TO DISPLAY END OF PAGE IN ALV.

Hi iam unable to display end of page in alv.

im able to display end of list. but end of page is not getting displayed.

this is my code.

CLEAR: ls_event.

ls_event-name = 'END_OF_LIST'.

ls_event-form = 'END_OF_LIST'.

APPEND ls_event TO gt_events.

CLEAR: ls_event.

ls_event-name = 'END_OF_PAGE'.

ls_event-form = 'END_OF_PAGE'.

APPEND ls_event TO gt_events.

----


  • FORM END_OF_PAGE *

----


  • ........ *

----


FORM end_of_list.

DATA: listwidth TYPE i,

ld_pagepos(10) TYPE c,

ld_page(10) TYPE c.

WRITE: sy-uline(50).

SKIP. WRITE:/40 'Page:', sy-pagno .

ENDFORM. "end_of_list

----


  • FORM END_OF_LIST *

----


  • ........ *

----


FORM end_of_page.

DATA: listwidth TYPE i,

ld_pagepos(10) TYPE c,

ld_page(10) TYPE c.

SKIP. WRITE:/ 'Page:', sy-pagno .

ENDFORM. "end_of_page

in display print mode i can only see page number displayed by end of list.