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

regarding script

Former Member
0 Likes
445

how do u represent current page in script

could u plz explain

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
418

If u want the page number to be displayed as (page 1 of 2) (page 2 of 2).

use the system variable sapscript-formpages.

go to se11, look at the structure sapscript, thre field name is formpages.

this field will have the page number details,

call this in your script.

Regards,

4 REPLIES 4
Read only

Former Member
0 Likes
418

Hi Rajesh,

&page& prints the current page no

This gives the current page in the script.The page is in SYST table field and do apply values at run time and not at compilation so any validation based on this field fail.so, do not run any validation based on this field.

Pls mark if it helps.

Priyanka.

Message was edited by:

Priyanka Neelam

Read only

Former Member
0 Likes
418

Current page is represented using &PAGE&

Here is a link for SAPScript , please go through this , you will get ans for most of your questions.

<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/80342b454211d189710000e8322d00/frameset.htm">SAP Script</a>

Regards

Arun

Read only

Former Member
0 Likes
419

If u want the page number to be displayed as (page 1 of 2) (page 2 of 2).

use the system variable sapscript-formpages.

go to se11, look at the structure sapscript, thre field name is formpages.

this field will have the page number details,

call this in your script.

Regards,

Read only

0 Likes
418

thanks