Step1. Here we have the script with MAIN window. Click on the Text Elements.
Step4. So all the flight information are displayed in a single page . As a need of we want to display only 10 records in a single page main window body.
Step5. Let’s achieve this requirement by using the CONTROL_FORM function module. This FM generally accepts some commands like- NEW-PAGE, NEW-WINDOW etc. Execute this program that calls the script above mentioned.
Step6. So here we restricted the number of lines equal to 10 in each page.