on 05-25-2010 3:24 AM
Hi Expert,
I have an emergency sapscript page issue. Thank you very much for provide suggestion to me.
I want to print page number in each page bottom, like X of Y. X is the current page number, Y is the total page number.
I'm using &PAGE& of &SAPSCRIPT-JOBPAGES&.
This sometimes works. But in some case, when there are a lot of data, the total page variable &SAPSCRIPT-JOBPAGES& goes wrong. In the first page, it prints 1 of 1, in the second page, it print 2 of 2, 3 of 3...
Is there anyone who knows the root cause for this? Thank you
Hi David,
i finally solved this issue.
if the page number is more than 10, the page display correctly. but the pages before 10, it displays incorrectly, like 1 of 1, 2 of 1, 3 of 1...So the page number seems like truncated.
In the form, it used to be ,,,,Page &PAGE& of &SAPSCRIPT-JOBPAGES(C)&, after i removed(C), it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply. But it does not work.
i guess it is related to memory. because in the program i used function module VC_I_GET_CONFIGURATION_IBASE, which occupy a lot of memory. i also used function module CLSE_FREE_MEMORY to free memory. But still does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
First check SAP note:
87312 - SAPSCRIPT: Symbol FORMPAGES not filled
You will find some general information on the following SAP's webpage:
http://help.sap.com/saphelp_erp2004/helpdata/en/d1/
8033ea454211d189710000e8322d00/frameset.htm
Be careful about &SAPSCRIPT-FORMPAGES(C)&. It displays only
1 digit if you omit "(C)" option (note 47035).
Also check in the page definition is the mode set auf INC?
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.