‎2007 Apr 25 4:50 AM
Hi,
1> In a classical report i want to display a different top-of-page for every page. How to achieve this ?
2> How to use new-page, i want every new-page triggered to have a different top-of-page ( or header data ) how to achive this ?
If possible provide me a sample code for the above scenarios ..
regards,
Navneeth.K
‎2007 Apr 25 4:53 AM
HI,
Use "TOP-OF-PAGE during line selection" event..
example:
write: 'welcome to sap interactive reporting'.
write: / ' you are in ', sy-lsind, 'index page'.
top-of-page during line-selection.
if sy-lsind = 1.
write: 'this is first page heading'.
if sy-lsind = 2.
write: 'this is second page heading'.
if sy-lsind = 3.
write: 'this is third page heading'.
reward if useful,
regards,
nazeer
Message was edited by:
nazeer shaik
‎2007 Apr 25 4:54 AM
Hi Nazeer,
will this work for classical reports.?
regards,
Navneeth.K
‎2007 Apr 25 4:58 AM
‎2007 Apr 25 5:09 AM
Hi,
Is your problem solved?
Close the thread if so..
Dont forget to reward points if useful
regards,
nazeer
‎2007 Apr 25 5:10 AM
Hi,
DATA : v_num type i.
start-of-selection.
do 12 times.
v_num = v_num + 1 .
write:/ sy-index.
IF v_num = 3.
clear v_num.
NEW-PAGE.
endif.
enddo.
top-of-page.
Write:/ 'Heading'.
Don't forget to reward if useful