‎2008 Mar 27 3:07 PM
Hi All,
How can i display header data in a simple report(its not an ALV report).
i am planning to use event TOP-OF-PAGE for this.is this correct?
Can anyone explain me through a piece of code.
Thanks,
Rupesh
‎2008 Mar 27 3:11 PM
‎2008 Mar 27 3:11 PM
Hi,
NO U R WRONG DONT USE TOP OF PAGE FOR HEADER TEXT
USE FIELD CATALOG
Regards,
V.Balaji
Reward if Usefull...
‎2008 Mar 27 3:12 PM
Hi,
Top-of-page is an event which will produce a static header that is even you scroll the list the header will be displayed. But when you not use the top-of-page event You will notget the static header.
say for example,
data : itab like mara occurs 0 with header line.
select * from mara into table itab upto 100 rows.
loop at itab.
write : /1 itab-matnr.
endloop.
top-of-page.
write : /1 'header'.
also use the code,
data : itab like mara occurs 0 with header line.
select * from mara into table itab upto 100 rows.
write : /1 'header'.
loop at itab.
write : /1 itab-matnr.
endloop.
see the difference in the header.
Regards,
Sanki.