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

doubt in classical report

Former Member
0 Likes
1,124

hi,

I am created one classical report in this report, i am displaying the content with classical report top of the page i need page no... in which place can i give( event) how to i display the pageno already i tryed sy-uzeit.. ..

plz give soln..point will be sure..

Gowri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,103

hi,

In end-of-page u have to give .its like this.

end-of-page.

write :/10 system date:', sy-datum, 30 'page no:', sy-pagno.

just give this statement n u will get the page no as well as date displayed in ur output.

let me know if ur dout has been cleared n if so then dont forget to reward them with points.

with regaards,

madhuri.

hi,

I am created one classical report in this report, i am displaying the content with classical report top of the page i need page no... in which place can i give( event) how to i display the pageno already i tryed sy-uzeit.. ..

plz give soln..point will be sure..

Gowri

9 REPLIES 9
Read only

Former Member
0 Likes
1,103

Use the event end-of-page to write page number

sy-pageno

Read only

Former Member
0 Likes
1,103

use sy-lsind

regds

anjali

Read only

Former Member
0 Likes
1,103

hi,

write sy-pagno in end-of-page event.

END-OF-PAGE .

write:/ sy-pagno.

Check this link to get something like

PAGE X of Y.

Read only

Former Member
0 Likes
1,103

In top-of-page event ...

IN write statement please write the system comany...

  • In Standard report.

sy-pagno.

  • In SAP SCRIP *

&SFSY-PAGE&

Inserts the number of the current print page into the text. You determine the format of the page number

Message was edited by:

JAYANT KUMAR

Read only

Former Member
0 Likes
1,103

Hi Sankar,

Use SY-PAGNO.

ex;

REPORT ZSAMPLE2 line-count 20(2). .

Tables mara.

data itab like mara occurs 0 with header line.

Start-of-selection.

select * from mara into table itab.

Top-Of-Page.

write:/ sy-pagno.

uline.

End-of-selection.

loop at itab.

write:/ itab-matnr.

endloop.

- Satuish

Read only

Former Member
0 Likes
1,103

Hi Gowri,

Use STANDARD PAGE HEADING and LINE COUNT options in the REPORT statement.

Regards,

Hemant.

Read only

Former Member
0 Likes
1,104

hi,

In end-of-page u have to give .its like this.

end-of-page.

write :/10 system date:', sy-datum, 30 'page no:', sy-pagno.

just give this statement n u will get the page no as well as date displayed in ur output.

let me know if ur dout has been cleared n if so then dont forget to reward them with points.

with regaards,

madhuri.

Read only

Former Member
0 Likes
1,103

hi

u can use system field sy-pagno

Regards

shinu

Read only

Former Member
0 Likes
1,103

hi

u have to give line size and line count appropriataley to get value .

Event

TOP-OF-PAGE

write:/ PageNo sy-pagno