‎2007 Apr 24 10:51 AM
Hai,
here is one requirement in classical report that,suppose there are 10 pages in the output of a classical report. Of these 10 pages i have to display header information in the 1st page only not on all the pages..... can anybody help me out.....
Thanks & Regards.
Laxman.
‎2007 Apr 24 10:54 AM
Hi,
Instead of writing the headers in TOP-OF-PAGE event, write them separately once and they wont be repeated.
Only the data written under TOP-OF-PAGE and END-OF-PAGE events gets carried to all the pages.
Regards,
Himanshu
‎2007 Apr 24 10:54 AM
Hi
U can insert the header data in the TOP-OF-PAGE and print it once only:
TOP-OF-PAGE.
IF FIRST = SPACE.
FIRST = 'X'.
WRITE: 'First page'.
ENDIF.Max
‎2007 Apr 24 10:54 AM
Set a flag in the top-of-page header, then check this flag before you write anything out.
TOP_OF_PAGE.
CHECK W_FLAG IS INITIAL.
WRITE HEADERS.
W_FLAG = 'X'.
‎2007 Apr 24 10:55 AM
hi,
u can use the event TOP-OF-PAGE..
or try to use an write stm at the satrt of the pgm so that it wil be deisplayed as an header.
ravi
‎2007 Apr 24 11:00 AM
HI Laxman
For this you just write the Header Information in At first Event of Loop.
like
<b>Loop at Itab into wa
At first.
write <header Information>
Endat.
other code
Endloop</b>
Regards Rk
‎2011 Jan 25 7:33 PM