Entering content frameScrolling in Lists Locate the document in its SAP Library structure

From within the program, you can scroll through lists vertically and horizontally. Use the SCROLL keyword. Scrolling from within the program makes sense, for example, if you want to scroll to certain pages as a reaction to user input.

You can only use the SCROLL statement for completed lists. If you use SCROLL before the first output statement of a list, it does not affect the list. If you use SCROLL after the first output statement of a list, it affects the entire list, that is, all subsequent output statements as well.

After each SCROLL statement, you can query SY-SUBRC to see whether the system succeeded. SY-SUBRC is 0 if the system successfully scrolled, and 4 if scrolling was not possible, because it would exceed the list boundaries. If you are working with several list levels, SY-SUBRC may also be 8, indicating that the list level you specified does not exist (see Scrolling Through Interactive Lists ).

The SCROLL statement allows the following options:

Vertical Scrolling

Scrolling Window by Window

Scrolling by Pages

Horizontal Scrolling

Scrolling to the List's Margins

Scrolling by Columns

 

Leaving content frame