SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Classic Lists → Processing Lists in the List Buffer → SCROLL LIST →
SCROLL LIST - vertical
Syntax
... {TO {{FIRST PAGE}|{LAST PAGE}|{PAGE pag}} [LINE lin]}
| {{FORWARD|BACKWARD} [n PAGES]} ... .
Alternatives:
1. ... TO FIRST PAGE
2. ... TO LAST PAGE
3. ... TO PAGE pag
4. ... {FORWARD|BACKWARD} [n PAGES]
Addition:
Effect
These additions are used to scroll vertically in the list.
... TO FIRST PAGE
Effect
The addition TO FIRST PAGE defines the top page in the screen segment on the first page in the list.
... TO LAST PAGE
Effect
The addition TO LAST PAGE defines the top page in the screen segment on the last page in the list.
... TO PAGE pag
Effect
The addition TO PAGE pag defines the top page in the screen segment on the
page specified in pag; a type i data object is
required for pag. If the value in pag is 0 or
less, it is processed as 1, while if it is greater than the number of pages, it is processed as if it were the same and the system enters a value of 4 for sy-subrc.
... LINE lin
Effect
The addition LINE controls which line is displayed first on the pages selected
with PAGE. Without the addition LINE, the list
is displayed starting with the first line on the selected page. If the addition LINE is specified, the line on the selected page specified in lin is displayed under the
page header, not counting
the page header. A type i data object is required for lin.
If the value in lin is 0 or less, it is processed as 1, while if it is greater
than the page length, it is processed as if it were the same as this length and the system enters a value of 4 for sy-subrc.
... {FORWARD|BACKWARD} [n PAGES]
Effect
The additions FORWARD and BACKWARD without n PAGES move the current screen segment up or down by the current number of lines in the window (sy-srows). The page header of the top page displayed is always displayed first.
The additions FORWARD and BACKWARD with n PAGES define the top page in the screen segment on the page derived by adding or subtracting the value in n from the current top page, where a type i data object is required for n. If the resulting value is 0 or less or is greater than the number of pages, it is processed as 1 or as if it were the same as the number of pages, in which case the system enters a value of 4 for sy-subrc. The resulting page is displayed starting with the first line.