cancel
Showing results for 
Search instead for 
Did you mean: 

Smart forms--In different pages i require two different main windows

Former Member
0 Kudos

In one smartform, I am having two pages. and two pages are having different formats

First page will print repeatedly till the completion of main window1.

Now i want to add another main window(2) to second page, it will also should print repeatedly till the completeion of main window(2).

But in first page main window contains 5 coloumns with subtotal

in second page main window contains 3 columns without subtotal

Both main windows are using same internal table.

can anybody help me in this issue.

If i copy first page main window into second page as main window with diferrent name, then it is showing blank window with out any text why?

pls hepl me

Madhavi T

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Its not possible so i need to create two smartforms for this requirement

Madhavi

Former Member
0 Kudos

THANK you so much Sai Ram Reddy N, and Mohammed Sajid

I have tried with two internal tables with two pages and two page formats in a single smartform but still it is not working..

if any other way is there to solve this problem, pls let me know

Bye

Madhavi

Former Member
0 Kudos

design a page with main window...

in main window design 1st table and put second itab after that...

it should solve your problem...

Former Member
0 Kudos

Hi

use one page only and make ur data in two internal table and in main window use two loops for two internal table. between the two loop use command next page.

Use different line type for both loop.

hope this will solve ur problem.

M Sajid

former_member196280
Active Contributor
0 Kudos

Try to do it like this, separate the data in internal table to two different tables, since data should be printed on two different formats...

Design two page in your smartform according to the requirment. now goto first page and set the next page as FIRST

now goto second page that you have created and set the next page as SECOND.

loop the first internal table in first page and once all the entries are finished, try to goto second page for doing this place command and tick the check box in command, goto next page and select the page as Second...

I guess this will solve your issue.

close the thread once your question is answered.

Regards,

SaiRam