This website is not affiliated with, sponsored by, or approved by SAP AG.

Invoice Smartforms

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Invoice Smartforms

Postby BRICAR15 » Thu Feb 25, 2010 10:36 am

I have written a bespoke smartforms. The problem I am having is that sometimes the smartform is generating a 'next page' when it does not need to. There is a Footer detail defined within MAIN. The smartform lists the items and then prints the footer detail and then it sometimes prints the next page but with just the general information (i.e logo, title, invoice number, etc). There is no item information so there is no secondary window displayed on the next page.
My question is, how do I stop this additional page from being produced when there are no items to be displayed on this page? I thought that the 'next page' is only suppose to be generated when it cannot fit the items all on the first page.
Has anybody experienced the same problem? Any help would be appreciated.

Thanks in advance.
Posts: 10
Joined: Thu Sep 25, 2008 7:03 am

Re: Invoice Smartforms

Postby YuriT » Thu Feb 25, 2010 10:29 pm

Next page has nothing to do with footer. Check whether you aren't printing empty lines (having empty lines in itab that you loop at). One more cause may be that you have a standard text on item level and this text contains a lot of empty lines after the actual text.
Posts: 885
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga

Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 3 guests

This website is not affiliated with, sponsored by, or approved by SAP AG.