2006 Sep 25 8:33 AM
hi guys,
how to print the page no in layout?please provide solution..
examle: 1/10, 2/10...
2006 Sep 25 8:39 AM
Hello,
&Page&/&SAPSCRIPT-FORMPAGES&
Hope this helps,let me know if u face any problem
Regards
2006 Sep 25 8:41 AM
In the page give Mode as INC
and in textelements of the window give as...
use &formpages& to get the total number of pages..
2006 Sep 25 8:44 AM
2006 Sep 25 8:47 AM
Hi Joseph,
You can use -
&PAGE&/&SAPSCRIPT-FORMPAGES&
Regards,
Saurabh
2006 Sep 25 8:48 AM
&PAGE& : Stores current page no
&SAPSCRIPT-FORMPAGES& : Stores total no of pages.
so you can use like,
&page& / &SAPSCRIPT-FORMPAGES&
Regards
Srikanth
2006 Sep 25 8:49 AM
Hi,
Is it for a simple report? Or for a Smartform?.
For <b>Report</b> you can write system variable in a event
TOP OF PAGE :
sy-pagno
to see current page number and function DISPLAY_PAGENUMBER to count total pages using
lines.
While for <b>Smartform</b> :
You can write in a text element
PAGE &sfsy-page& OF &sfsy-formpages(4ZCR)&
( so you'll see PAGE 1 OF 10 for ex.)
2006 Sep 25 8:52 AM