Skip to Content

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

Smartform dynamically add pages

Hi everybody,

I have a smartform regarding a company.For each company i have several locations and for each location i have a table with some informations that need to be displayed.

My problem is that i will never know how many locations a company will have,only until runtime when i read some tables.My problem is that i have to display the informations for a location on a different page,so that i have to dynamically add pages in the smartform depending on the number of locations,which will be always different.

Does anybody know how i can do this?


Former Member
Former Member replied


you have to add an extra page in which the data is printed you want.

You have to print this in the MAIN window.

In the MAIN window build in a loop (by loop or TABLE).

Do this at the end of MAIN window.

Inside this loop is the first thing a COMMAND (flow logic)

In this COMMAND your call your next page.

After that print and fill your variables.


Gr., Frank

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question