Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

new

Former Member
0 Likes
322

does "New-page" and "new-window" have the same functionality as in scripts in smartforms also ???? if not wat replaces it

2 REPLIES 2
Read only

Former Member
0 Likes
301

AFAIK they both achieve the same goal -:) So you can use them on either SapScripts and SmartForms...

Greetings,

Blag.

Read only

Former Member
0 Likes
301

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