ā2013 Dec 30 5:19 AM
Hi, I have created a classical report, in that as per requirement they don't want header which is coming in the report..in screen shot I have highlighted the line..so please advice me how to remove that line.. Thanks and Regards Abhay Manna
ā2013 Dec 30 5:27 AM
Give no standard page heading addition in the report statement
REPORT zreport NO STANDARD PAGE HEADING.
If you only want to delete the page-no, just before first write statement add the following.
(If you dont want the entire heading, the above statement would be sufficient)
READ LINE 1 OF PAGE sy-pagno.
CLEAR sy-lisel.
MODIFY LINE 1 OF PAGE sy-pagno.
ā2013 Dec 30 5:23 AM
hey Abhay,
Are you passing any header in the FM which is calling your ALV? If yes then just remove that.
Also it would be great if you can post the code snippet of your FM REUSE_ALV.
Thanks
Siddarth
ā2013 Dec 30 5:23 AM
hiii,
Remove the PAGE-COUNT 30 and add the NO STANDARD PAGE HEADING to the report.
i.e.
Report report ZTEXT NO STANDARD PAGE HEADING.
ā2013 Dec 30 5:27 AM
Give no standard page heading addition in the report statement
REPORT zreport NO STANDARD PAGE HEADING.
If you only want to delete the page-no, just before first write statement add the following.
(If you dont want the entire heading, the above statement would be sufficient)
READ LINE 1 OF PAGE sy-pagno.
CLEAR sy-lisel.
MODIFY LINE 1 OF PAGE sy-pagno.
ā2013 Dec 30 5:43 AM
Hi Susmitha, Thanks ,my problem solved. Thank you very much for sharing your knowledge.. Thanks Abhay Manna
ā2013 Dec 30 6:04 AM
Good to hear it is solved.
Though, there is a small mistake in my second suggestion.
Just want to correct my second suggestion, in case anyone else may require it. You should include it after the write statements, preferrably after write statement on header details.
READ LINE 1 OF PAGE sy-pagno.
CLEAR sy-lisel. " This would clear the entire header line. ..same effect as adding
NO STANDARD PAGE HEADING addition.
* For partial clearing, specify the offset and length.
* Eg. if the page-size in report statement is 100, clear sy-lisel+96(4) would clear the page number.
MODIFY LINE 1 OF PAGE sy-pagno.
ā2013 Dec 30 5:27 AM
Have you used any write statement for the same..Try to find in report. Else try to add Report with no standard page heading
ā2013 Dec 30 7:08 AM
Hi Nabheet, My problem solved by no standard page heading. Thanks for sharing your knowledge.. Thanks Abhay Manna.
ā2013 Dec 30 6:25 AM
hi Abhay,
only before start your program instant of only
REPORT < report name > use
REPORT <report name > NO STANDARD PAGE HEADING.
Thank you.
Shrikant
ā2013 Dec 30 6:38 AM
Hi Manna,
Try with below sample code.
Report <Report Name > NO STANDARD PAGE HEADING.
Regards,
Rajesh.