cancel
Showing results for 
Search instead for 
Did you mean: 

Two main windows are not running in smartform !! why ??

Former Member
0 Kudos

Hello Friends,

I have two main windows in my smartform.win_main1 and win_main2.

I have created a standard text for main window win_main1

and win_main2 windows conatins data from internal table ITAB.

1 . Standard text doesn't fit in win_main1 size. so it should be go on next page.

2 . I have condition like that if records from ITAB is more than 3 then it should be display on next page else on first page.

I have already made code for above requirement but.....

While executuing program, it runs only for win_main1 not for win_main2.

Why this is happning .

Note:

If both are main windows then point 1 is running successfully but not point 2 is running

If i make win_main1 as secondary window then point 2 is runnig fine but then problem with point 1 occurrs.

I want both main winows runnning sucessfully.

Please help. Full points will be given.

Regards

RH

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

solved my self !!

Former Member
0 Kudos

Hi,

You can create one single main window and keep the texts and table in the same window. Also create a next page and copy the main window to the next page. So the contents will flow to next page after finishing printing page1.

Former Member
0 Kudos

Hi,

Why are you creating two different main window.

You can do it in single main window.

Or else.

Define only one main window on one page and another one on second page.

It will work...

REWARD IF USEFUL