Reference Variable WD_CONTEXT

Use

WD_CONTEXT

The WD_CONTEXT attribute is a reference to the root node of the controller context. Regardless of the edited controller, it is always a reference variable of type IF_WD_CONTEXT_NODE. You can use WD_CONTEXT and the interface methods to edit the content of a context node in your controller method.

Example

The controller context contains node MY_TABLE_NODE. You can use the method INVALIDATE_TABLE_NODE to invalidate the values of the node elements.

GET_CHILD_NODE and INVALIDATE are methods of the interface IF_WD_CONTEXT_NODE. Other frequently used methods are, for example, GET_ATTRIBUTE and BIND_ELEMENT. For a complete list of methods and their functions, refer to the reference section of this documentation (link is above).