on 07-12-2007 9:30 AM
Hello,
I have a small Problem. I need the number of page in a window on the first site. SAPSCRIPT-FORMPAGES isn't helpful because its not fully filled until the end of the document. Is there a possibilty to get the total number of pages? Depending on number of pages is a window filled with special code.
THX for your answers.
Sven
It is not possible to capture the value of number of pages in the first page itself.
But if you have driver program in your control, try to read number of lines in the internal table that is passed to the main window.
For example your each main window is holding 16 line items and your internal table is having 25 line items.
page = 25 / 16. "1.56
page = CEIL ( page ). "2 pages
I hope this will helpyou.
Reward points if useful.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) &SAPSCRIPT-FORMPAGES& using the total number of pages
2) To add a graphical window and place it at you want the logo
<b>Reward points</b>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think you can't capture the total number of pages of script in the first page itself.
As you said the varaible SAPSCRIPT-FORMPAGES is not filled by that time.
The avialble variables for page numbers are
&PAGE&
&NEXTPAGE&
&SAPSCRIPT-FORMPAGES&
&SAPSCRIPT-JOBPAGES&
You have to use them
<b>Reward points for useful Answers</b>
Regards
Anji
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.