Application Development 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: 

Removing automatic report headers

Former Member
0 Kudos

Hi Guys,

The date, program name and page number system fields have begun appearing at the top of my report even though I have not got them in a write statement, does any one know how to turn this off?

Thanks

Stu

1 ACCEPTED SOLUTION

abdul_hakim
Active Contributor
0 Kudos

include NO STANDARD PAGE HEADING statement to your REPORT statement..

Eg: REPORT REP1 NO STANDARD PAGE HEADING.

Cheers,

Abdul

12 REPLIES 12

Former Member
0 Kudos

Hi,

Look at the code in your TOP-OF-PAGE event.

It should be coming from there, remove them.

regards,

Ravi

abdul_hakim
Active Contributor
0 Kudos

include NO STANDARD PAGE HEADING statement to your REPORT statement..

Eg: REPORT REP1 NO STANDARD PAGE HEADING.

Cheers,

Abdul

Former Member
0 Kudos

REPORT YDEMO <b>NO STANDARD PAGE HEADING</b>.

this removes the header

hymavathi_oruganti
Active Contributor
0 Kudos

while creating report, what is the short text u have given?

add NO STANDARD PAGE HEADING option with report statement.

how u will get page number with out specifying?

is the report created by u, or else check in the event top_of_page.

Former Member
0 Kudos

hi,

write as Report Zxxxxxxxx with no standard page heading.

thanks,

priya.

Former Member
0 Kudos

Hi Ravi

Just checked my top of page at line-selection and i have not referred to these system fields. Even searched for sy-pagno and its every is where it should be

could it be to do with something in the report attributes?

0 Kudos

Did you place the NO STANDARD PAGE HEADING like suggested by others?

Regards,

Ravi

Former Member
0 Kudos

Hai Stuart

REPORT ZSSSS1 LINE-SIZE 120

LINE-COUNT 25(3)

MESSAGE-ID ZSAN.

TOP-OF-PAGE.

PERFORM WRITE_HEADER.

PERFORM WRITE_FOOTER.

&----


*& Form WRITE_HEADER

&----


  • HEADER DISPLAY

----


form WRITE_HEADER.

FORMAT COLOR 3.

WRITE:/1 SY-VLINE,

(10) 'PUR.ORDER',

SY-VLINE,

(10) 'VENDOR',

SY-VLINE,

(15) 'NAME',

SY-VLINE,

(10) 'COMP.CODE',

SY-VLINE,

(15) 'COMP.DESC',

75 SY-VLINE.

WRITE:/1(75) SY-ULINE.

FORMAT COLOR OFF.

endform. " WRITE_HEADER

&----


*& Form WRITE_FOOTER

&----


  • FOOTER OF LIST

----


form WRITE_FOOTER.

FORMAT COLOR 4.

WRITE: /1 'USER:',SY-UNAME,

45 'DATE:', SY-DATUM.

FORMAT COLOR OFF.

endform. " WRITE_FOOTER

Thanks & Regards

Sreenivasulu P

MichaelTe
Contributor
0 Kudos

Hello Stu,

try to supress the standard page header with the following command:

REPORT xyz NO STANDARD PAGE HEADING.

Regards,

Michael

Former Member
0 Kudos

NO STANDARD PAGE HEADING solved the problem, thanks guys!

0 Kudos

hi stuart..

why you have reassigned my points from 10 to 2?

anything wrong with my answer?

Cheers,

Abdul

Former Member
0 Kudos

Sorry Abdul...my mistake - points correctly allocated