SAP AT LINE-SELECTION ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• AT LINE-SELECTION ABAP Statement

AT LINE-SELECTION
Short Reference

ABAP_SYNTAX
AT LINE-SELECTION.

What does it do?
This statement defines an event block whose event is raised by the ABAP runtime framework when a screen list is displayed if the screen cursor is on a list line and a function is selected using the function code PICK. By defining this event block, the standard list status is enhanced automatically in such a way that the function code F2 and, with it, the double-click mouse functionality is linked with the function code PICK.



Latest notes:

If the function key F2 is linked with a function code other than PICK, each double click raises its event, usually AT USER-COMMAND, and not AT LINE-SELECTION.
ABAP_HINT_END



Example ABAP Coding

If the following section of an executable program is executed with the standard list status, selecting a line with the left mouse key raises the event AT LINE-SELECTION and creates details lists.
ABEXA 00045
ABAP_EXAMPLE_END

Return to menu