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

Classical Report

Former Member
0 Likes
1,346

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,299

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.

9 REPLIES 9
Read only

Former Member
0 Likes
1,299

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

Read only

former_member196157
Active Participant
0 Likes
1,299

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.

Read only

Former Member
0 Likes
1,300

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.

Read only

0 Likes
1,299

Hi Susmitha, Thanks ,my problem solved. Thank you very much for sharing your knowledge.. Thanks Abhay Manna

Read only

0 Likes
1,299

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.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,299

Have you used any write statement for the same..Try to find in report. Else try to add Report with no standard page heading

Read only

0 Likes
1,299

Hi Nabheet, My problem solved by no standard page heading. Thanks for sharing your knowledge.. Thanks Abhay Manna.

Read only

Former Member
0 Likes
1,299

hi Abhay,

only before start your program instant of only

   REPORT < report name > use


REPORT  <report name > NO STANDARD PAGE HEADING.



Thank you.

Shrikant



Read only

former_member188282
Active Participant
0 Likes
1,299

Hi Manna,

Try with below sample code.


Report <Report Name > NO STANDARD PAGE HEADING.


Regards,

Rajesh.