cancel
Showing results for 
Search instead for 
Did you mean: 

windows in smartforms

Former Member
0 Kudos

Hi,

Can anyone tell me about the types of windows in smartforms?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

There are 4 types of windows in smartform

1.Main window

2.Secondary Window

3.Copies Window

4.Final Winow

regards

Sandipan

Former Member
0 Kudos

what are the differences and uses of these windows?

Former Member
0 Kudos

Hi,

The main difference between main and secondary window is

the page break behavior: While in a main window a page break automatically occurs as soon as the end of the window is reached, in a secondary window the remaining output is truncated; there is no page break.

The window types final window and copies window have the same characteristics as a secondary window. Final windows are processed only after all the nodes in the tree have been processed. Copies windows can be used to explicitly print a particular content only on the copy or only on the original.

Copies Window

Use

You use the copies window to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed.

Final Window

Use

You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.

In such a case, you use the final window: Processing first skips all windows of this type in the tree and works its way to the end of the tree. Only after the actual processing is finished, the final windows are processed in the order in which they appear in the tree (from top to bottom). Now any information is available that is known only at the end of the form processing.

For further details see the link below:-

[http://help.sap.com/saphelp_47x200/helpdata/en/b1/243fe0beee11d4b633006094192fe3/frameset.htm]

Reward if helpful

Regards

Sandipan

Edited by: Sandipan Ghosh on Apr 1, 2008 4:00 PM

Former Member
0 Kudos

hi,

Main Window

In a main window you display text and data, which can cover several pages (flow text). As soon

as a main window is completely filled with text and data, the system continues displaying the text

in the main window of the next page. It automatically triggers the page break.

You can define only one window in a form as main window.

The main window must have the same width on each page, but can differ in height.

A page without main window must not call itself as next page, since this would trigger

an endless loop. In such a case, the system automatically terminates after three

Secondary window

In a secondary window you display text and data in a predetermined output area. There is no flow text

display with page break. If you position a subwindow with the same name on several pages, the system displays the contents of this subwindow on each page.

Final window

You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.

In such a case, you use the final window: Processing first skips all windows of this type in the tree and works its way to the end of the tree. Only after the actual processing is finished, the final windows are processed in the order in which they appear in the tree (from top to bottom). Now any information is available that is known only at the end of the form processing.

/people/vinod.chandran/blog/2005/08/23/using-final-window-in-smartforms

Copies window

You use the copies window to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed.

You use this window type only if you want to print copies of your form. In the spool dialog in the Number input field of the Copies group box enter the number of copies (including the original).

You can determine where to print the inferior nodes of a copies window:

Both on the original and on the copies ( Original and Copies )

Only on the original ( Only Original )

Only on the copies ( Only Copies )

Hope this helps, Do reward.