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.

View Entire Topic
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.