cancel
Showing results for 
Search instead for 
Did you mean: 

regarding page no's

Former Member
0 Kudos

hai ,

i have one doubt how to print page no's from total page no's in a form.

for example

sheet 1 of 5.

like this i have to print on my form how to print.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

In Scripts : &PAGE&(Current Page) OF &SAPSCRIPT-FORMPAGES&(Total No.Of Pages)

In Smartforms : &SFSY-PAGE& OF &SFSY-FORMPAGES&

Former Member
0 Kudos

that's fine but it doesn't displaying total no of pages

my total oages were 5 it show 1 of 1.

and one more doubt when i declare this &pageno& &script-formpages& in text element and executing it shows 1 0f 1.

but when iam calling in driver program with the text element here it is not showing page no's

Former Member
0 Kudos

HI,

For total no.of pages use &SAPSCRIPT-FORMPAGES&.. I have already checked and gave solution.

In Debugg mode it shows 1 of 1 like that.After completion it will displayed.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi ajay,

[Sapscript Page |http://help.sap.com/saphelp_45b/helpdata/en/6c/897415dc4ad111950d0060b03c6b76/content.htm]

Regards,

Sravanthi

Former Member
0 Kudos

Close the thread if issue is resolved.

former_member585060
Active Contributor
0 Kudos

Hi,

For SAPScript use

P1 &SYST-PAGNO& of &SAPSCRIPT-JOBPAGES&

Regards

Bala Krishna

Former Member
0 Kudos

Hi,

Try with this

&SFSY-PAGE& of &SFSY-FORMPAGES.

Best Regards,

Narasimha Rao.

Former Member
0 Kudos

Hi

Use the following in the text element: &SFSY-PAGE& of &SFSY-FORMPAGES.

It will give output as required.

Vishwa.

Former Member
0 Kudos

Hi,

In smartforms you have "Field list on/ of" button (CTRLSHIFTF4) Use system fiels

SFSY-PAGE and SFSY-FORMPAGES

Regards