cancel
Showing results for 
Search instead for 
Did you mean: 

Page Numbering in Smartforms

Former Member
0 Kudos

I have a Contract Smartform where i am using SFSY-FORMPAGES to get the total no of pages.

If the no pf pages is less that 10, it is displayed properly but once the no exceeds 10, the total no of pages is displayed as * and only after the 10th page, the correct no is displayed. Any idea what can be done?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please use the field &SFSY-FORMAPAGES& in a window making as Final window and also check the additional event in the conditions tab of that window "After End of Main Window' to avoid the issue.

Regards,

Ram

Former Member
0 Kudos

Thanks a lot, It worked

Answers (3)

Answers (3)

Former Member
0 Kudos

hi richa,

u can use following code

&SFSY-PAGE& OF &SFSY-FORMPAGES&

Former Member
0 Kudos

Hi,

You can you this to display page number & Total pages.

&SFSY-PAGE&

OF

&SFSY-FORMPAGES&

Regards,

Joan

Former Member
0 Kudos