Entering content frame

Background documentation IF_WD_CONTROLLER Locate the document in its SAP Library structure

Overview

The IF_WD_CONTROLLER interface enables you to access information using a Web Dynpro controller.

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

data:

    l_api   type ref to if_wd_controller.

    l_api = wd_this->wd_get_api( ).

 

Methods

GET_MESSAGE_MANAGER

This method returns a reference to the message manager. The result is an object of type F_WD_MESSAGE_MANAGER.

GET_COMPONENT

This method returns a reference to the component that belongs to this controller. The result is an object of type IF_WD_COMPONENT.

GET_CONTEXT

This method returns a reference to the context that belongs to this controller. The result is an object of type IF_WD_CONTEXT.

GET_MESSAGE

This method returns the text of a message to a message key.

GET_ACTION

This method returns a reference to an action for this controller. The result is an object of type IF_WD_ACTION.

GET_CONTROLLER_INFO

This method returns a reference to this controller’s metadata. The result is an object of type IF_WD_RR_CONTROLLER.

 

Leaving content frame