On_Select userexit in widget- and edit-menus/button-areas or On_Event userexit in widget state or in query mode of mask edit state.
Example:
In DataView itself the userexit is used for the count item of the edit menu, which is offered in a mask after switching into query mode of mask edit state and after confirming the search terms entered.