Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Loop in Smartform

Dear fellow ABAPers

I've created a SMARTFORM with one page and the next page is itself.

i need to make a loop with in a loop. The outer loop is based on the number of entries in the internal table passed in the FM, within that ,the inner loop is based on a value in a field in the structure of outer loop.

ie DO <n> times....ENDDO within a LOOP...ENDLOOP.

<n> will flow from the field in the outerloop.

my SF structure is

First page

Main window




for evey iteration of DO a new page to be triggered and details to be printed.

Please give me a solution



Former Member
Not what you were looking for? View more on this topic or Ask a question