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

print continuous pages in sap script

Former Member
0 Likes
728

Hi all,

I am taking the start from and end form twice. The first page has next page and the page numbers are fine, as i am going with the new page I created the page numbers are restarted.

I've tried the option (jobpages and formpages which are giving the spool pages and current pages of the pages I created). I need to find the difference between the pages discussed above or need to use &SAPSCRIPT-COUNTER_x(+)& (need syntax of the same if it works).

can any one Please suggest the solution to get continuous pages even though new start form is called up.

Thanks and Regards

san

Hi all,

I am taking the start from and end form twice. The first page has next page and the page numbers are fine, as i am going with the new page I created the page numbers are restarted.

I've tried the option (jobpages and formpages which are giving the spool pages and current pages of the pages I created). I need to find the difference between the pages discussed above or need to use &SAPSCRIPT-COUNTER_x(+)& (need syntax of the same if it works).

can any one Please suggest the solution to get continuous pages even though new start form is called up.

Thanks and Regards

san

3 REPLIES 3
Read only

Former Member
0 Likes
657

HI San,

page : &page& of &SAPSCRIPT-JOBPAGES&

Regards,

Sravanthi

Read only

Former Member
Read only

Former Member
0 Likes
657

Hi,

When you use Scripts or Smartforms the page counter will be defined by the system with a new page.

we cannot manipulate the pagenumbers it is purely system dependant by which you start a page

If you want to get the page number as needed then :

Write your own logic

1. create a counter and get the count of teh pages irrespective of new or start page

2. declare the value in the form

Hope this helps.

Regards,

Amitteja