Using Hyperlinks and Buttons as Cell Editors 
You can use UI elements in the cells of the ALV output that allow the user to trigger certain actions. The following UI elements do not automatically lead to data changes:
Hyperlink LINK_TO_ACTION
Hyperlink LINK_TO_URL
Button
ToggleButton
Classes for Interactive UI Elements
UI Element |
Class |
Hyperlink LINK_TO_ACTION |
CL_SALV_WD_UIE_LINK_TO_ACTION |
Hyperlink LINK_TO_URL |
CL_SALV_WD_UIE_LINK_TO_URL |
Button |
CL_SALV_WD_UIE_BUTTON |
ToggleButton |
CL_SALV_WD_UIE_TOGGLE_BUTTON |
You can find these classes in the system in package SALV_WD_CONFIG.
For information about displaying one of the UI elements in a cell, see Assigning Properties to Columns and Cells.
Note
Users can also use the UI elements listed here in a write-protected ALV output. However, if you deactivate the ALV output then the interface elements are also deactivated.
More information: Activating and Deactivating the ALV Output.
You can use the event ON_CLICK to handle user actions for the following UI elements:
Hyperlink LINK_TO_ACTION
Button
ToggleButton
However, the UI element LINK_TO_URL is only for displaying a URL in an Internet browser. You cannot catch any events.