Skip to Content
author's profile photo Former Member
Former Member

How to print pageno ex: 1/10, 2/10.... in layouts

hi guys,

how to print the page no in layout?please provide solution..

examle: 1/10, 2/10...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07:39 AM

    Hello,

    &Page&/&SAPSCRIPT-FORMPAGES&

    Hope this helps,let me know if u face any problem

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07: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..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07:47 AM

    Hi Joseph,

    You can use -

    &PAGE&/&SAPSCRIPT-FORMPAGES&

    Regards,

    Saurabh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07:48 AM

    &PAGE& : Stores current page no

    &SAPSCRIPT-FORMPAGES& : Stores total no of pages.

    so you can use like,

    • &page& / &SAPSCRIPT-FORMPAGES&

    Regards

    Srikanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07: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.)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 07:52 AM

    TO PRINT PAGE NO &PAGE& AND TO PRINT NO OF PAGES &FORMPAGES&

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.