on 11-15-2011 1:43 PM
Dear All,
I have an issue on the total pages printed from my smartforms.
In the program, I have called twice the Function Module of the Smartform in order to create only one spool.
To do that before the first call, I set the following options:
NO_OPEN = u201C u201C
NO_CLOSE = u201CXu201D
Before the second call, I have:
NO_OPEN = u201CXu201D
NO_CLOSE = u201C u201C
With this parameter, one spool is correctly generated grouping the two smartforms.
My problem now is concerning the Page numbering.
Currently I use: Page &SFSY-PAGE& / &SFSY-FORMPAGES(3ZC)&
In my first call I have 3 pages, and only 2 pages in the second time, and I print:
Page 1 / 5
Page 2 / 5
Page 3 / 5
Page 1 / 2
Page 2 / 2
If I use JOBPAGES instead of FORMPAGES, I have:
Page 1 / 5
Page 2 / 5
Page 3 / 5
Page 1 / 5
Page 2 / 5
I would like to have:
Page 1 / 3
Page 2 / 3
Page 3 / 3
Page 1 / 2
Page 2 / 2
or
Page 1 / 5
Page 2 / 5
Page 3 / 5
Page 4 / 5
Page 5 / 5
Do you have any clue to do that?
Thanks for all,
Tip'
My bad!!
In fact I'm just stupid.
During the first call, the smartform was called with a different language. And the translation was managed for the language from SE63.
But in this translation, I had &JOBPAGES& and not &FORMPAGES&...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.