AT LINE-SELECTION
| USER-COMMAND
| PF##.
Definition of event blocks for interactive list processing. The appropriate events occur if the screen cursor is positioned on a line in a displayed list and the user chooses an appropriate function. Each interactive list event increases the system field sy-lsind by one.
If the cursor is positioned, in an interactive list event, on a line in a list displayed on the screen, all the values stored with HIDE belonging to the line in question are assigned the respective variables and the following system fields are filled with data:
System field | Meaning |
sy-cpage | Page number of the uppermost displayed page in the list that triggered the event |
sy-cucol | Position of the column in the window that triggered the event (count begins with 2) |
sy-curow | Position of the line in the window that triggered the event (count begins at 1) |
sy-lilli | Number of the line that triggerd the event |
sy-lisel | Content of the line that triggered the event (is limited to the first 255 characters) |
sy-listi | Index of the list that triggered the event |
sy-lsind | Index of the list level that was created in the eventblock |
sy-staco | Number of the first displayed column of the list that triggered the event (count begins at 1) |
sy-staro | Number of the uppermost line of the uppermost displayed page of the list that triggered the event (count begins at 1) |
sy-ucomm | Function code to which the user action that triggered the event is assigned |
With each list event AT LINE-SELECTION,
AT PF##, and AT USER-COMMAND, the statement
NEW-PAGE PRINT OFF is explicity executed.