cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms

Former Member
0 Kudos

Hi,

Please let me know how to print dynamic rows in a smartform each page have only 10 lines and Header, footer must be static for all pages.

Immediate answer can be appreciated and Points also awarded....

Thanks in Advance,

John Vikram V

Accepted Solutions (1)

Accepted Solutions (1)

former_member609120
Contributor
0 Kudos

Use a table in the window to print the dynamic rows..

In the Table..Data tab

loop at internal table into workarea

In the cells of the table, write the name of the field to be printed, e.g &workarea-fieldname&

This will print as many rows that are there in your internal table.

Dont forget to pass the Internal table from your print program to the smartform.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Thanks fo an immediate response..

If my Internal table has 6 rows. I need to print 3 rows in one page and 3 rows in the next page. Please let me know how to do that.

Thanks,

John Vikram V

Former Member
0 Kudos

Hi John,

Use the COMMAND option.You can restrict the number of rows to be printed on each page.So after it prints 3 rows it will call the next page.

Thanks,

Dishant

Former Member
0 Kudos

John,

On your main window right click -->create table.Add your fields to table with col positions.Automatically system will add rows.