cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms

Former Member
0 Kudos

Hi , guru

I have designed a Z smartform and it working fine , but it hgas one issue in it

To print <page.no> of <tot.pages>

i used sfsy-page of sfsy-jobpages it is working fine when the total number of pages are less than 10 . The values are displayed correctly , but when the total page are more than 10 then it is priting * at total pages . like 1 of *

How is print the total number of pages.

thanks & regards,

Raju s

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi raju

Just change the window type as FINAL WINDOW.

then it will works fine.

Regards,

KP

Former Member
0 Kudos

Hi raju

Change that particular window type as FINAL WINDOW.Then the problem will be resolved.

Regards,

Sravanthi

Former Member
0 Kudos

Increase your window size and give &sfsy-formpages& in final window

Former Member
0 Kudos

There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)&

eg&SFSY-FORMPAGES(3ZC)&---outputlen,c-condense,z-delete leading zeroes

Other options:

&symbol(Z)& Omit Leading Zeros

&symbol(S)& Omit Leading Sign

&symbol(<)& Display Leading Sign to the Left

&symbol(>)& Display Leading Sign to the Right

&symbol(C)& Compress Spaces

&symbol(.N)& Display upto N decimal places

&symbol(T)& Omit thousands separator

&symbol(R)& Right justified

&symbol(I)& Suppress output of the initial value

bpawanchand
Active Contributor
0 Kudos

HI

Instead of &SFSY-JOBPAGES& use &SFSY-FORMPAGES& and you write this text symbol in the FINAL WINDOW then your problem is solved.

Regards

Pavan

Former Member
0 Kudos

Hi,

I appreciate it's difficult to search then your question involves *, but this question is asked often.

I searched with 'page of 10' and found a number of answers.

Essentially you need to change to the following Page&SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

Regards,

Nick