‎2006 May 26 11:45 AM
how to add page counter variable to title window in a sap script for purchase order layout?
‎2006 May 26 11:46 AM
hii
<b>&page&</b> -- prints the current page no
also check this and use per your functionality
<b>&sapscript-formpages&</b> to print the number of
pages written to the form
<b>&sapscript-jobpages&</b> to print the number of
pages written to the spool list
/: &page& &sapscript-formpages&
/: &page& &sapscript-jobpages&
The first page of the document will take the value of d_page_number
<b>/: ^$PAGE d_page_num</b>
Regards
Naresh
‎2006 May 26 11:46 AM
hii
<b>&page&</b> -- prints the current page no
also check this and use per your functionality
<b>&sapscript-formpages&</b> to print the number of
pages written to the form
<b>&sapscript-jobpages&</b> to print the number of
pages written to the spool list
/: &page& &sapscript-formpages&
/: &page& &sapscript-jobpages&
The first page of the document will take the value of d_page_number
<b>/: ^$PAGE d_page_num</b>
Regards
Naresh
‎2006 May 26 11:48 AM
‎2006 May 26 11:48 AM
you can use following command in sapscript
Page &PAGE& of &SAPSCRIPT-FORMPAGES&
‎2006 May 26 11:52 AM
‎2006 May 26 11:55 AM
Hi,
Use following syntax in window
&page& -> output 1,2,3----
you can use
Page &PAGE& of &SAPSCRIPT-FORMPAGES&
Output of above syntax
page 1 of 10, Page 2 of 10.
Regards,
Amole
‎2006 May 26 12:01 PM
hi shree,
use <b>&PAGE& OF &SAPSCRIPT-FORMPAGES&</b>
thanks,
priya.