on 11-10-2008 5:17 PM
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,
When using the fields &SFSY-FORMPAGES& or &SFSY-JOBPAGES& , all output pages are kept in the main memory till the end of the form or the print job to allow these fields to be replaced with their respective values.
So create a final window and display &SFSY-FORMPAGES& u can notice the total no of pages when this window gets trigerred.
&SFSY-FORMPAGES& - Displays the total number of pages for the currently processed form.
&SFSY-JOBPAGES& - Contains the total page number of all forms in the currently processed print request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Define one "Final Window" and use variable SFSY-FORMPAGES.
This triggers at end of the form and gives the count of total pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change your window type as "Final Window" and use variable SFSY-FORMPAGES. This triggers at end of the form and gives the count of total pages.
Thanks,
Rama Juluru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.