on 11-21-2006 2:58 PM
Hi Friends,
I ahve to include oage numbers in the form. I have created a VAr window as page for that and included in the form layout. Then I am using Page &PAGE& of &SAPSCRIPT-FORMPAGES& . Whats its doing is its printing the pages as 1 0f 1 and 1 of 1 if there is two pages. Its not populating it correctly. Can somebody help me with this.
Regards,
Kiran
Hi
How have you defined the page counter in the page paramters?
It should be START for the first page and and INC for the next one.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
&PAGE& will give current page no.
&FORMPAGES& will give total no of pages.
To display page nos in each page ,
PAGE &PAGE&( &FORMPAGES& )
this will display PAGE 1( 3 )
To display TOTAL PAGE no ONLY IN last Page, then you have to use the below logic.
/: if &NEXTPAGE& = 0
PAGE &PAGE&( &FORMPAGES& )
/: ENDIF
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ur code is correct but u have increement the page numbers within the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.