Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

number pages in sapscript layout

Former Member
0 Likes
1,403

Hi experts,

What type of variables normally used in sap script to output data?

How do you number pages in sapscript layout outputs?

Thanks and Regards,

Logu.

Hi experts,

What type of variables normally used in sap script to output data?

How do you number pages in sapscript layout outputs?

Thanks and Regards,

Logu.

4 REPLIES 4
Read only

Former Member
0 Likes
676

You can print the page number as X of Y

&PAGE& / &SAPSCRICT-FORMPAGES&

Hope this Helps.

Regards

Vinayak

Read only

Former Member
0 Likes
676

Hi,

No. of pages - &PAGE& / &SAPSCRICT-FORMPAGES&

Reward if helpful.

Regards,

Ramya

Read only

Former Member
0 Likes
676

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

‘Page x of y’ 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.

&PAGES& current page.

Thanks,

Arunprasad.P

Reward if useful.

Read only

Former Member
0 Likes
676

hi,

no of pages:&PAGE& / &SAPSCRICT-FORMPAGES&

&PAGE& - current page.

&SAPSCRICT-FORMPAGES&- total number of pages.