Skip to Content
0
Former Member
Feb 24, 2009 at 02:35 PM

Dont want header in the last page under TOP-OF-PAGE

41 Views

Hi,

there are N no. of pages in the report for which the same header is diplayed for N no. of pages by using following code.

TOP-OF-PAGE.

perform write_header.

now the requirement is i dont want header in the the Nth page i.e., last page.

plz let me know tht am i thinking right by luking at below??

plz provide me the exact syntax.

TOP-OF-PAGE.

if SY-PAGNO = last page.

else

perform write_header.

endif.