Context APIs

The interfaces and a structure in the ABAP Dictionary in the table below are provided for the Web Dynpro context in which the data is stored: For more information, see the documentation defined for each object in the system.

The context methods always trigger CX_WD_CONTEXT if there is an error, but this is not declared.

Context APIs
Technical Name Description
IF_WD_CONTEXT

Provides a reference to the controller context. Methods are provided for recording user input.

IF_WD_CONTEXT_NODE

Enables a single context node to be filled, or data to be retrieved from a context node.

IF_WD_CONTEXT_NODE_2D

Enables a 2-D context node to be filled, or data to be retrieved from a 2-D context node.

IF_WD_CONTEXT_NODE_INFO

Describes the meta properties of a context node.

IF_WD_CONTEXT_ELEMENT

Enables a single context element to be filled, or data to be retrieved from a context element.

WDR_CONTEXT_ATTRIBUTE_INFO

This structure provides meta information for a Context node attribute.

The most important components are:
  • NAME

  • DEFAULT_VALUE

  • IS_READ_ONLY

  • TYPE_NAME

  • NODE_INFO

IF_WD_CONTEXT_NODE_RANGE

See Programming Interface of a Range Context Node.