Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change report header

Former Member
0 Likes
3,694

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,600

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,600

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

Read only

Former Member
0 Likes
1,600

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

Read only

Former Member
0 Likes
1,601

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

Read only

Former Member
0 Likes
1,600

hi,

just use event - 'TOP-OF-PAGE'.

WRITE what ever hedaer u want using syntax write.

regards

Read only

Former Member
0 Likes
1,600

Thanks to everyone. It really helped!

BR,