You are on page 1of 1

ABAP Tutorials

There are some events that are invoked by the user when the system is displaying an output list
from a report program. These are called "User Events"

User Event: AT PF##


The AT PF## event is triggered by when the system detects a PF## function code. This
function code can be assigned to a function key, push-button, or menu item.
Most often, programmers assign a PF## function code to a function key on the keyboard, where
## corresponds to the number of the function key.  
To use function keys above 12, (13-24), the user must hold down the shift key on the keyboard. 
For example, to initiate AT PF14, the user holds down the shift key and presses F2.

User Event: AT LINE-SELECTION


The event AT LINE-SELECTION is triggered when the user selects a line and invokes the PICK
function code. This can occur when the user:

- Double-clicks on a line

- Single clicks on a line and presses F2

- Single clicks on a line and presses a PICK push-button on the list

User Event: AT USER-COMMAND


The AT USER-COMMAND event is triggered when the user invokes any function code except
PICK and PF##.
The function code can be up to 20 characters long. This function code can be assigned to a
push-button, menu item, or function key on the keyboard.

These user events will be explained in the further chapters in detail as these will be used by the
ABAP programmers more frequently.

1/1

You might also like