cancel
Showing results for 
Search instead for 
Did you mean: 

Page No in SAPSCRIPT

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

check out with this

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

Reward if useful.

Regards

Vachana

former_member196280
Active Contributor
0 Kudos

This will solve your problem.

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

Close the thread once your question is answered.

Regards,

Sairam

Former Member
0 Kudos

hi,

&PAGE& of &SAPSCRIPT-FORMPAGES&:

Regards,

priya

Former Member
0 Kudos

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.

former_member181995
Active Contributor
0 Kudos

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