Skip to Content
0
Former Member
Feb 23, 2009 at 06:42 PM

how to change last page header under TOP-OF-PAGE in a report

64 Views

hi,

there are 20 pages in the report for which same header is diplayed for 20 pages by using follow.

TOP-OF-PAGE.

PERFORM write_doc_header.

now the requirement is to change the last page heading. for this i've another perform statement.

so plz let me know the syntax sh be to place this perform statment.

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

TOP-OF-PAGE.

if sy-index = last page.

perform lastpage_header.

else

PERFORM write_doc_header.

endif.