Show TOC

 IF_WD_COMPONENTLocate this document in the navigation structure

The IF_WD_CONTROLLER interface enables you to access information using an active Web Dynpro component. It is implemented by CL_WDR_COMPONENT, the base class for all Web Dynpro components.

The following method call returns an object of type IF_WD_COMPONENT within the component controller of a Web Dynpro component:

data:
    l_componentcontroller_api type ref to if_wd_component.
    l_componentcontroller_api = wd_this->wd_get_api( ).
Methods

GET_ID

This method returns a unique ID for the component.

REMOVE_PENDING_INPUT

This method deletes all user input that have not yet been transported to the context.

GET_WINDOW_MANAGER

This method gets a reference to the window manager.

The result is an object of type IF_WD_WINDOW_MANAGER.

GET_COMPONENT_INFO

This method returns the metadata description of the component.

The result is an object of type IF_WD_RR_COMPONENT.

GET_PORTAL_MANAGER

Method to get a reference to the portal manager. The result is an object of type IF_WD_PORTAL_INTEGRATION .

GET_CONFIGURATION_KEY

Method to get the current configuration key (or the method is set to initial).

ADD_EVENT_HANDLER

Method to register an event handler for an event.

REMOVE_EVENT_HANDLER

Method to deregister an event handler from an event.

CANCEL_NAVIGATION

Method to prevent navigation within the entire application.

GET_PERSONALIZATION_MANAGER

Method to get a reference to the personalization manager. The result is an object of type IF_WD_PERSONALIZATION .

GET_APPLICATION

Method to get a reference to the application object. The result is an object of type IF_WD_APPLICATION .

GET_CMP_USAGE_GROUP

Method to get a reference to the component usage group. The result is an object of type IF_WD_COMPONENT_USAGE_GROUP.

CREATE_CMP_USAGE_GROUP

This method creates a component usage group. The result is an object of type IF_WD_COMPONENT_USAGE_GROUP .

HAS_CMP_USAGE_GROUP

This method determines whether a component usage group exists.