Entering content frame

Background documentation IF_WD_ACTION Locate the document in its SAP Library structure

The IF_WD_ACTION interface enables you to access information about a controller’s action.

A UI element can be bound to an action. The action is executed when an event occurs that was triggered by a specific UI element. If an event occurs, the event handler implemented within the corresponding view controller is called

Attributes

Central Attributes

Attribute Name

Declaration Type

Description

CONTROLLER

Instance attribute

Controller for this action

IS_ENABLED

Instance attribute

Specifies whether the action is currently active. The attribute’s value is 'X' if the action is currently active, otherwise it is ' '.

IS_VALIDATING

Instance attribute

Specifies whether it is a validating or a non-validating action. The attribute’s value is 'X' if the action is validating, otherwise it is ' '.

IMAGE

Instance attribute

Image URL of the action

PARAMETERS

Instance attribute

Parameter of the action as table of name / value pairs

TEXT_KEY

Instance attribute

Corresponding text for the action

 

Methods

SET

This method optionally sets the attributes of the action. The following optional parameters exist:

·        ENABLED

Determines whether the action is active or inactive

·        VALIDATING

Determines whether the action is validating or not validating

·        IMAGE

Image URL of the action

·        TEXT

Text for the action

Note

For more information about this interface and its method see the interface and method documentation stored in the system under the respective interface or method.

 

 

Leaving content frame