cancel
Showing results for 
Search instead for 
Did you mean: 

smart form : item level data needed in two windows.

rohit_goel
Participant
0 Kudos

Hi Experts,

I am working on a smart form.

In that i have to show item details in two places( means in two windows) and data is realated to each other in both of the windows.

If data overflows in one window to second page, then the other windows should behave the same way(means the data in the other window should also be in the second page corresponding to the data in the first window)

how can i achieve this?

Thanks ,

Rohit Goel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rohit,

You can define only one window as a main window in a smartform.The output control of the main window triggers an automatic page break as soon as the main window is full, i.e. as soon as in the main window no space is left for printing, rest of the content will get printed in next page automatically..

There is a solution for ur requirement.U need to do following steps:

1) create a main window in your smartform.

2) u have to show items in two places, for this create Template in above main window ,create columns in that template(4 cols which will appear like two boxes) , if u want its appearence like two different window u can give border if required) .

3) Create text to display item data, here u need to specify line and col number (created in above template) where ur item data will get printed in two different boxes of above template..

Here if the item data is more than the size of ur template of main window then it will get printed automatically in the next page (due to property of main window in smartforms) and both the items of the .

Regards.

Shweta.

Former Member
0 Kudos

Smartforms does not allow two main windows, but you can achieve what you need in one main window using two tables.

rohit_goel
Participant
0 Kudos

As i know smart form allows two main windows.

Former Member
0 Kudos

Sorry to break it to you,

But Raj is right

You can have only one Main Window in Smartforms

You can use the same Main Window in other Pages, but it will work only as an overflow window.

heres what you can do,

Instead of waiting for the Main Window to overflow

You decide the number of records that can be on one page

print these in 2 windows/tables and then force a page break using the command node.

You can use the Main window with tables like Raj said

or use 2 different windows .

Former Member
0 Kudos

Hi,

I think in later releases of SAP it is possible to have multiple main windows in smartforms. I have a system based on webAS 7.00 and this lets me create two different windows and activate the form.

It's not a good idea to have two main windows on one page (I did this and the form never finished), but smartforms won't stop you doing this any more.

Regards,

Nick