Skip to Content
0
Former Member
Nov 10, 2008 at 05:17 PM

Capture total count of pages in variable

15 Views

Hi all,

How i capture the total count of pages in Smartform .

When i put the following code it works fine .

SFSY-PAGE OF SFSY-FORMPAGES

but when i check internal table SFSY then it displays 1 for first page and so on .

i.e. Let us suppose there are 4 pages then while displaying it displays correctly.

1 of 4 , 2 of 4

but when i check the internal table then it displays me wrong value ??

i.e. for 1 page it displays

SFSY-PAGE = 1

SFSY-JOBPAGES = 1

SFSY-FORMPAGES = 1

how we come to know that how many pages does this smartform has?

Regards,