cancel
Showing results for 
Search instead for 
Did you mean: 

main windows in a smartform

Former Member
0 Kudos

cant we put more than 2 windows in a smartform?

If possible how?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

u can put 2 main windows in a single smartform but each in separate pages.

We use main window when data can flow in the next page also. in that case we create 1 main window in the 1st page and another main window in the following page(next page).

Always keep the width of the 2 maindows same otherwise it will give u a dump.

Former Member
0 Kudos

You can identify only one window of a form as main window. You use the main window to spread output over several print pages, which is a prerequisite for printing tables. The output control of the main window triggers an automatic page break as soon as the main window is full, that is as soon as in the main window no space is left for printing outout.

However, the main window "keeps in mind" the exact location at which the output was interrupted. On the next page, the output control resumes printing at exactly this position as soon as in the processing tree the main window is reached again. The subsequent print pages may also include other windows or output areas; they are printed unless a condition suppresses them.

Depending on your needs, it may make sense to use the main window either only on one draft page or on several draft pages.

Reward if helpful.

Thanks,

Dishant

Former Member
0 Kudos

Hello,

U can create two main windows inside a page or in a smartform withour error while activating.

But it will raise an exception and will give a runtime error while executing it.

Neeraj

Former Member
0 Kudos

u cannot create two main windows in a single smartform.