‎2009 Feb 25 9:33 AM
hi gurus,
i have a problem in displaying my page no.
Page No. &sfsy-page& of &sfsy-formpages&
when &sfsy-page& is a single digit the &sfsy-formpages& displays *(asterisk)
ex. 1 of * -> where * is 31,
however when &sfsy-page& is two digits the &sfsy-formpages& displays properly.
ex. 10 of 31.
can you help me on this one?
<<Do not offer points>>
thanks,
eo
Edited by: Matt on Feb 28, 2009 7:22 PM
‎2009 Feb 25 9:41 AM
Hi,
Use:-
&SFSY-PAGE& for page number
and &SFSY-FORMPAGES(3ZC)& for total pages.
So take Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&
Hope this helps you.
Thanks & Regards,
Tarun
‎2009 Feb 25 9:36 AM
‎2009 Feb 25 9:44 AM
thanks but it seems to have a problem in total pages
it displays
1 of 013.
how can i remove 0?
‎2009 Feb 25 9:38 AM
Hello,
This problem happens every time to every ABAP developer )
Define the window as "Finals Window" & then try like this:
Page No. &sfsy-page(CZ)& of &sfsy-formpages(CZ)&BR,
Suhas
‎2009 Feb 25 9:40 AM
‎2009 Feb 25 9:41 AM
Hi,
Use:-
&SFSY-PAGE& for page number
and &SFSY-FORMPAGES(3ZC)& for total pages.
So take Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&
Hope this helps you.
Thanks & Regards,
Tarun
‎2009 Feb 25 9:46 AM
Hi
it is the problem that can be solved by condensing the total formpages.
You can write it in this way that condenses the total number of pages.
&SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&
This defnitly will solve your problem
regards
Hareesh