cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform - Loop and newpage issue

Former Member
0 Kudos

Hi,

I have multiple records in the internal table and I want to display one line per page. The requirement is in the 2nd loop pass, system will print the data in new page.

Here is what i'm doing.

Passing my inertnal table to smartfom, inside smart form I am looping on this internal table. But the form is only showing one record which is last in one page.

Even if the internal table has 10 records, its only showing one page with last record.

FYI: My internal table is defined as table type in form interface.

Pls help.

Edited by: sapcrm001 on Jul 1, 2011 5:59 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Include the loop in the Main window and Include "Flow logic -> command - Go to New page" inside the loop after displaying the values.

Former Member
0 Kudos

Solved. I put the text attributes outside the loop, thats why it was always showing the last record. I just dragged and put it under the loop.

Thanks,

Answers (0)