on 08-29-2012 11:14 AM
Hi,
I want to print a text on every page except the last page.
I'm using the variable sfsy-page and sfsy-jobpages, but in debugging it is showing same values for both variables i.e., for first page it showing 1 for both variables for first page and 2 for second page.
So,plz guide me how to get the total number of pages of smartforms.
Thanks
Sonali.
Hi,
In run time the variable returns sfsy-jobpages as current page only.
try out making the window as final window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Try to view more than one page privew and befor see it put condition on that text node
sfsy-page <> sfsy-jobpages
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems that your Output is only one page output. Hence its showing value 1 in both the System variables. Try to generate a out which will spill to multiple pages and then try to print your variables.
Just a Thought
If sfsy-page = sfsy-jobpages And sfsy-page = 1, Print the variable.
If sfsy-page <> sfsy-jobpages, print the variable.
you can build the logic using above details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
moved from SAP ERP - Logistics Materials Management (SAP MM) to Output Management
because I think it is more a general issue about smart forms than a specifc issue regarding MM application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.