get_registered_events

This method returns a list of all events registered for custom control my_control .

CALL METHOD my_control->get_registered_events
      IMPORTING  events     = events
      EXCEPTIONS cntl_error = 1.

Parameters

Description

events

Table of events that you want to register for the custom control my_control .

The table events is a list of the events that you want to register. It is defined with reference to table type CNTL_SIMPLE_EVENTS . The table type is based on the structure CNTL_SIMPLE_EVENT , which consists of the following fields:

Field

Description

EVENTID

Event name

APPL_EVENT

Indicates whether the event is a system event (initial) or an application event (X).

The values that you assign to the field EVENTID are control-specific and therefore described in the documentation of the individual controls.

For general information about event handling, refer to the Event Handling section of the SAP Control Framework documentation.