cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple smartforms in one spool - Total Pages issue

Former Member
0 Kudos

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'

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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&...