Entering content frame

Syntax documentationset_registered_events Locate the document in its SAP Library structure

Use this method to register the events of the control. See also: Structure link Event Handling

CALL METHOD my_control->set_registered_events
      EXPORTING  events            = events
      EXCEPTIONS cntl_error        = 1
                 cntl_system_error = 2
         illegal_event_combination = 3.

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.

Leaving content frame