Skip to Content
author's profile photo Former Member
Former Member

Problem with Tables in Preprinted Stationary


I am facing a problem with Preprinted Stationary:

I have created a smart form for receipt printing. according to the preprinted stationary I have to print 10 line item in one page. <b>If there is more line items then it should me printed on next page. Also, I need to print Total on the bottom of page.</b>

Now, I have used Table for the this problem and it works fine if I have more then 10 line items.

<b>BUT when there is less then 10 line items it prints Total in the middle of page instead of bottom</b> <u>because I have specified it in footer</u>.


I have also tried to use Template for this but it doesn't print line items on the next page if the length of current page is over.</u>

Please, help me...


Alok Mehta

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 03:43 PM


    Try to keep a condition based on the number of lines in the Internal table9which contains lines data)

    fetch the no of lines in ITAB using describe

    then keep a condition such that if the lines are less then skip some extra blank lines and then write the totals...

    Reward points for useful Answers



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.