Skip to Content
0
Former Member
May 05, 2009 at 09:01 AM

End-of-page event not fired

26 Views

end-of-page event not fired.

how can i use end-of-page event.

REPORT zdummy.
TABLES : mara.
DATA : itab LIKE mara OCCURS 0 WITH HEADER LINE.

SELECT-OPTIONS: s_matkl FOR mara-matkl.

START-OF-SELECTION.
  SELECT * FROM mara INTO TABLE itab
  WHERE matkl IN s_matkl.

END-OF-SELECTION.
  LOOP AT itab.
    WRITE :/ itab-matnr.
  ENDLOOP.

TOP-OF-PAGE.
  WRITE:/ 'This is top of page'.

END-OF-PAGE.
  WRITE:/60 sy-pagno.