cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with page number when more than 10 pages in smartform

Former Member
0 Kudos

Hi,

I am using Pages: &SFSY-PAGE& of &SFSY-FORMPAGES& to print the page number in my smartform.

If I have less than 10 pages, it works correctly

ie : page number printed as follows ...

Pages: 1 of 5

Pages: 2 of 5

Pages: 3 of 5

Pages: 4 of 5

Pages: 5 of 5

If I have more than 10 pages, pages 1 to 9 does not print the total number of pages, but 10 onwards works fine

ie : it prints as follows ...

Pages: 1 of *

Pages: 2 of *

Pages: 3 of *

.

.

.

Pages: 9 of *

Pages: 10 of 12

Pages: 11 of 12

Pages: 12 of 12

Thanks

Lindy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Try this:

&SFSY-PAGE& of &SFSY-JOBPAGES(3ZC)&

U can find the explanation in note [779492|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=779492]

Max

Former Member
0 Kudos

Thanks Max. That solved the problem.

Answers (0)