2009 Jul 07 11:38 AM
Hi there.
Hope anyone can help me solve my little problem.
I have created a Z program that in the end writes a bunch of things on the screen, and for each page in the output, the header of the page consists on the program name (left-side of the screen) and page (rigth-side of the screen).
How can I change the program name in the header? Is it possible? I have created a GUI TITLE and I use it on the Initialization event. But this didn't solve my problem since it only changed the title in the bar under the status bar.
Hope anyone can help!.
BR,
Tabrez
2009 Jul 07 11:57 AM
Hello,
if it's a classical report - means that you do your listing with WRITE ... -
then you could use the following :
REPORT ..... NO STANDARD PAGE HEADING .
That turns off the standard header.
To write your own heading you could use the report-event TOP-OF-PAGE:it's an Report event like START-OF_SELECTION.
E.g.
Page-heading.
TOP-OF-PAGE.
Write: SY-DATUM DD/MM/YYYY
10 SY_UNAME ,
.....
Regards Wolfgang
Hi there.
Hope anyone can help me solve my little problem.
I have created a Z program that in the end writes a bunch of things on the screen, and for each page in the output, the header of the page consists on the program name (left-side of the screen) and page (rigth-side of the screen).
How can I change the program name in the header? Is it possible? I have created a GUI TITLE and I use it on the Initialization event. But this didn't solve my problem since it only changed the title in the bar under the status bar.
Hope anyone can help!.
BR,
Tabrez
2009 Jul 07 11:43 AM
Hi Tabrez,
I think you are talking about Report(classical).
If you are passing variable lik SY-REPID to ouptut for Header then
Just pass any name you want for the report to variable which you are using for writing as header.
Regards
Vijay
2009 Jul 07 11:57 AM
Use NO STANDARD PAGE HEADING with the report statement at the top first line as follows:
REPORT ZGOREP100
LINE-COUNT 65
LINE-SIZE 200
NO STANDARD PAGE HEADING.
Regds,
Anil
2009 Jul 07 11:57 AM
Hello,
if it's a classical report - means that you do your listing with WRITE ... -
then you could use the following :
REPORT ..... NO STANDARD PAGE HEADING .
That turns off the standard header.
To write your own heading you could use the report-event TOP-OF-PAGE:it's an Report event like START-OF_SELECTION.
E.g.
Page-heading.
TOP-OF-PAGE.
Write: SY-DATUM DD/MM/YYYY
10 SY_UNAME ,
.....
Regards Wolfgang
2009 Jul 07 12:15 PM
hi,
just use event - 'TOP-OF-PAGE'.
WRITE what ever hedaer u want using syntax write.
regards
2009 Jul 07 12:24 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |