cancel
Showing results for 
Search instead for 
Did you mean: 

Using of PAGE &PAGE& of &SAPSCRIPT-JOBPAGES&

Former Member
0 Kudos

hi!

I think &PAGE& is for SAPSCRIPT-FORMPAGES. It is not counting. How will I get the page number for SAPSCRIPT-JOBPAGES?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

page is for form current page

form pages for total pages in the form

job pages is for total pages for printing

Former Member
0 Kudos

&page& prints the current page no

&sapscript-formpages& prints the no of pages written to the form

&sapscript-jobpages& prints the no of pages written to the spool list

Former Member
0 Kudos

Thanks! is there a command to get the current page number for printing?

Former Member
0 Kudos

&page& is the command u use

Former Member
0 Kudos

In my code start_form and end_form is in the loop and &FORMPAGES& will not work. I am using SAPSCRIPT-JOBPAGES so I can't use &PAGE&.

Former Member
0 Kudos

hi,

im expecting this question. remember that ur form pages ,page and job pages are SYST table fields and do apply values at run time and not at compilation so any validation based on these fields fail.so, do not run any validation based on these fields.

Former Member
0 Kudos

Thank you...

I will just revised my loop statement

Answers (0)