SAP® Documentation

Single view

ABAPAT_LIST_EVENT - AT LIST EVENT

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

AT list_event

Syntax

AT  LINE-SELECTION
  $| USER-COMMAND
  $| PFnn.

Effect

Defines event blocks for interactive list processing. The associated 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 on a line in a list displayed on the screen in an interactive list event, all the values stored using HIDE and belonging to the line in question are assigned the respective variables and the following system fields are filled with data:

System FieldMeaning
sy-cpagePage number of the first displayed page of the list from which the event was raised
sy-cucolPosition of the column in the GUI window from which the event was raised (counting starts with 2)
sy-curowPosition of the line in the GUI window from which the event was raised (counting starts with 1)
sy-lilliNumber of the line from which the event was raised
sy-liselContent of the line that raised the event (is limited to the first 255 characters)
sy-listiIndex of the list from which the event was raised
sy-lsindIndex of the list level that was created in the event block
sy-stacoNumber of the first column displayed in the list from which the event was raised (counting starts with 1)
sy-staroNumber of the first line of the first page displayed of the list from which the event was raised (counting starts with 1)
sy-ucommFunction code to which the user action that raised the event is assigned

After each list event AT LINE-SELECTION, AT PFnn, and AT USER-COMMAND, the statement NEW-PAGE PRINT OFF is executed explicitly.

Note

The list event AT PFnn is obsolete and the other two list events (preferably AT USER-COMMAND) should be used instead.






rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3818 Date: 20191215 Time: 231041     sap01-206 ( 44 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.