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

Page number in SapScipt

Hi experts,

Good Day to you.

I would like to ask regarding SAPscript. If you have 1 main window and declare a code like this: Page &page&. does it automatically generate page number? if there are condition in the code that would dynamicaly change the page, does &page& would also change?

Thank you so much.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:11 PM

    Hi Don,

    Welcome to SDN....

    The &PAGE& will implicitly increment by 1 after filling the content in main window or with NEW-PAGE control command.

    Thanks,

    Vinay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 06:16 PM

    Hi Don,

    &PAGE&

    You can use this symbol to insert into the text the page number that the current page will have when printed. You can specify the formatting option for the page number in the form for each page type.

    It will always give the page number of the page you are actually in. That means, if you trigger a page using /: NEW-PAGE command, it will increment the page count.

    Note: &NEXTPAGE&

    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .

    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.

    Regards,

    Clemens

    P.S.: All this is from SE71, HELP->Application Help; system Symbols.

    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.