Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding stable lines to smartform output

Former Member
0 Likes
806

Hello all,

I have a smartform output which i populate a table inside. Normally the table populates the lines according to the internal table that i loop inside this table. But I want to show 10 lines even this internal table is free. How can i do it?

Do i have to do that with template? I already prepared a table for this. How can i make this with table?

Hello all,

I have a smartform output which i populate a table inside. Normally the table populates the lines according to the internal table that i loop inside this table. But I want to show 10 lines even this internal table is free. How can i do it?

Do i have to do that with template? I already prepared a table for this. How can i make this with table?

5 REPLIES 5
Read only

Former Member
0 Likes
781

any ideas?

Read only

0 Likes
781

any ideas?

Your question is not clear. Please clarify again.

Read only

0 Likes
781

I created a table in my main screen. I have an internal table and i populate datas inside this table.

If i have three lines in internal table my smartform table has three lines. But i want my smartform table has 10 lines even they are filled or empty. if my internal table has four lines then 4 line will be filled and the other 6 will be empty. if internal table has 13 lines, my table will show the first 10 lines only.

Is it clear?

Read only

0 Likes
781

In smartform table where you specify tabel and work area,you can specify lines from 1 to 10.You can create a line type in smartform with empty cells.Then based on condition whether the internal table has values,you can fill values in smartform ( choose line type with cells that print text ) or choose row with line type of empty cells.

Read only

Former Member
0 Likes
781

Hi

If your ITAB is empty then pass ten blanks to ITAB and display

or

You can have a template similar to table and overlay it on the table, set a condition when ITAB is initial.

First is one more easy and not time consuming.

Shiva