cancel
Showing results for 
Search instead for 
Did you mean: 

Question about main window in smartform

Former Member
0 Kudos

Hi, i have three different pages, i know that i can have only one main window.

But the data in the main window will be different for each page.

I copy the main window in the three pages.

But when i try to write abap code in the main window copy ( page 3 )

The smartform refresh the abap code in the page 1 and page 2.

So the 3 pages have the same code.

I want to have different abap code in each page ( in the main window copie for each page). Because i have three internal tables one table for each page.

Thanks

Reward Points

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

We can have more than 1 main window in smartforms.

First create 3 pages and create separate main windows for 3 different pages.

Aftter completion of 1st page to go to next page create a 'command' at the end of the page 1.

(Right click on window --> create --> flow logic --> command)

In the command general attributes tab check the 'Go to next page' and give the page name.

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

u do one thing U create two secondary window with two Table for two Pages

and One Main Window For Last Page.It will work.

Regards

Sandipan