Entering content frame

Syntax documentationget_registered_events Locate the document in its SAP Library structure

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.

This graphic is explained in the accompanying text

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

Leaving content frame