Different Types of Windows in SAP Script:
WINDOWS: Windows are defined in the layout of the script at a particular position with desired width and height and only windows are capable of displaying text as well as logo on the page of the script.
1. MAIN Window:- This is a floating window or continuous window. If the text in the main window fills up a page, automatically a new page is created and the main window is extended to that page.
Only one MAIN window can be defined in the script but up to 99 instances (00 to 98) of the MAIN window can be defined in each page.
3. Constant Window:- is capable of displaying only a fixed content.
Here let’s see how the MAIN windows flows to multiple pages automatically based on the run time data.
Step1. Here the script contains only one MAIN window which is added to the page windows. Fix the MAIN window height as 5 CM. Select the MAIN window and click on the TEXT Element button.
Step2. TOP – ENDTOP : is used to display content on the top of the main window while BOTTOM-ENDBOTTOM displays the content at the end of the window.
Also define a text element as :TXT_ELEM_1. Go back and activate the script.