Skip to Content
avatar image
Former Member

Problem with page number when more than 10 pages in smartform

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Dec 29, 2009 at 09:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded