Hi ,
I m trying to print page number at every end of my page, below is my code snippet.
1) The problem is when i put the code at TOP-OF-PAGE it will display correctly. But what i want is to print at end of every page,
2) How to print it at every end of page ?
Any advice and suggestion will help me to clear this . Thanks in advance.
Below is the code snippet.
START-OF-SELECTION.
loop at itab.
MOVE itab to WA_ITAB.
bil = bil + 1.
count1 = count1 + 1.
even = count1 mod 2.
REFRESH i_outlines.
write:/ sy-vline, (03) bil,
sy-vline, (10) WA_ITAB-bankaccount
sy-vline, (30) WA_ITAB-bankno.
endloop
WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
DO SY-PAGNO TIMES.
READ LINE 1 OF PAGE SY-INDEX.
REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
MODIFY CURRENT LINE.
ENDDO.
TOP-OF-PAGE.
WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
DATA: l_name like title1.
write s_delfz-low to date1 dd/mm/yyyy.
write s_delfz-high to date2 dd/mm/yyyy.
END-OF-PAGE.
WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
Edited by: badz lee on Apr 15, 2010 5:21 AM