cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict height of table in smartform without using template

Former Member
0 Kudos

Hi Gurus,

I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because page-breaks are used in the form .

Your solutions are highly appreciated.

Thanks and regards,

Meenakshi

View Entire Topic
Former Member
0 Kudos

Hi,

As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.

A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.

If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...

This way all time the table will take the height of 5 rows.

As i said earlier this could be a temporary solution.

Thanks,

Hari Prasad.

Former Member
0 Kudos

Thanks Hari for the quick solution,but i think it will insert lines also between the rows,can we do something to avoid it.