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

Page No in SAPSCRIPT

Hi ,

In SAPSCRIPT, how we canw write code for page <x> of <y>

where x = current page

y = Totol No of page.

which systems variables , will have to be used.

Regards

Mohit

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Jun 16, 2008 at 06:50 AM

    Mohit,

    <S>&PAGE& of &SAPSCRIPT-FORMPAGES&</>.

    Where S is the char formate.

    mohit above answer is right am not sure why it is coming in cross line oer my ans.

    Amit.

    Edited by: Amit on Jun 16, 2008 8:50 AM

    Edited by: Amit on Jun 16, 2008 8:50 AM

    Edited by: Amit on Jun 16, 2008 8:51 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:06 AM

    Hi,

    &SAPSCRIPT-FORMPAGES&:

    This field contains a number representing the total number of pages of the currently formatted form (any output between START_FORM and END_FORM). The page counter mode (START, INC, HOLD) of the individual pages is ignored. You can use this symbol to formulate information like

    u2018Page x of yu2019 for your output.

    &SAPSCRIPT-JOBPAGES&:

    This field contains a number representing the total number of pages of all forms contained in the currently formatted print request, in other words, of all forms created using the OPEN_FORM, START_FORM.. ENDFORM, START_FORM.. END_FORM,..., CLOSE_FORM function modules.

    If help fule reward.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:11 AM

    hi,

    &PAGE& of &SAPSCRIPT-FORMPAGES&:

    Regards,

    priya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 16, 2008 at 07:34 AM

    This will solve your problem.

    Page: &page(C)&/&sapscript-formpages(3CZ)&

    Close the thread once your question is answered.

    Regards,

    Sairam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 09:41 AM

    Hi

    check out with this

    &SFSY-PAGES& of &SFSY-FORMPAGES(3ZC)&

    Reward if useful.

    Regards

    Vachana

    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.