2007 Sep 28 1:47 PM
Hi,
I am printing the Process orders with operation details. The internal table has 4 records(say for e.g.). Each record should be printed on a new page. To ensure that I trigerreed a new page after every loop. However, this results in a blank page being also printed after the 4th record. How can I avoid the last blank page from geting printed ??
Thanks in adavance,
Anand
Hi,
I am printing the Process orders with operation details. The internal table has 4 records(say for e.g.). Each record should be printed on a new page. To ensure that I trigerreed a new page after every loop. However, this results in a blank page being also printed after the 4th record. How can I avoid the last blank page from geting printed ??
Thanks in adavance,
Anand
2007 Sep 28 2:28 PM
you should remove the trigger, and just place a folder node that will contain everything about a process order - then in this node you set the checkbox "Page protection" in tabstrip Output options
2007 Sep 28 3:05 PM
in the initialization phase, count the number of lines of the table (g_lines).
in the table, data tab, tick event on sort end.
under the event on sort end, add a command new page.
set value for goto page to your next page.
while looping, count the number of lines (g_count).
in the conditions tab for the command, set condition to g_lines ne g_count.
i hope it helps.