‎2007 Jun 26 6:29 PM
does "New-page" and "new-window" have the same functionality as in scripts in smartforms also ???? if not wat replaces it
‎2007 Jun 26 8:08 PM
AFAIK they both achieve the same goal -:) So you can use them on either SapScripts and SmartForms...
Greetings,
Blag.
‎2007 Jun 26 8:25 PM
Both are same :
Next Main Window: NEW-WINDOW
Each page can consist of up to 99 main windows. Each main window is assigned a consecutive identifying number (0..98), and the windows are filled in this order. This feature enables SAPscript to print labels and to output multi-column text. When one main window fills up, the next main window on that page is taken, if there is a next one. A page break is inserted after the last main window.
You can use the NEW-WINDOW command to call the next main window explicitly, even if the current main window is not yet full. If you are in the last main window of the page, the command has the same effect as the NEW-PAGE command.
Syntax:
/: NEW-WINDOW
We use new-window and new-page command in FM Called CONTROL_FORM
Thanks
Seshu