cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Tables in Preprinted Stationary

Former Member
0 Kudos

Hi,

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

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

Thanks,

Alok Mehta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

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

Regards

Anji

Answers (0)