Hello,
I made a custom copy of the standard SAP Print program RLE_DELNOTE for printing delivery notes.
In that copy i added a loop for printing several different smartforms into on spool job.
Like this:
Loop
No_open = ‘X’
No_close = ‘X’
First loop no_open = ‘ ’
Last loop no_close = ‘ ‘
Call function (smartform function module name)
Endloop
This all seems to work just fine when we open the print preview for the first time. The different smartforms are printed correctly in one spool job.
But when we open the print preview the second time or do the actual print out after the print preview, without leaving the transaction first, the pages add up.
So if the print job has 4 pages for instance, in the second preview the job now has 8 pages, in the third preview 12 pages and so on. Like some memory not had been cleared.
Someone any idea what could be causing that?
Michael