Hi,
I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' to get the spool data to the PDF file and this PDF file is send to the user through email.
Now I need to add the page numbers to the PDF so that once the users opens the PDF file he gets the page numbers in the PDF document.
Hi,
while writing report at top-of-page event
write sy-pagno this will be printed on spool
and also PDF will have page count .
report ztest
line-count 65.
*after 65 lines top-of-page is triggered and pageno is
incremented
top-of-page.
write sy-pagno.
Regards
amole
Add a comment