Entering content frame

Background documentation Structure of the View Context Locate the document in its SAP Library structure

Every view contains a data container with the data to be displayed in the view. This data container is called context of a view.

In the context of a view, the application data to be used by the view layout is structured and stored. This data, for example, is provided by the back-end and to be displayed in the view. It can also be predefined, empty data elements to be filled by user input. Other context elements are used for the internal structure of the context.

Each context has a hierarchical structure. It contains a root node CONTEXT and the different context elements are arranged below it. You can create new context nodes and individual context attributes below each context node.

Editing the Context Structure

Switch to the Context tab in the View Editor to edit the view context. You create a new context node or context attribute using the context menu of the corresponding embedded node.

This graphic is explained in the accompanying text

Below the tree structure of the context, the properties of the selected context element are listed in a table. The table contains obvious labels like node name or attribute type but also several important properties which make the context a powerful part of the Web Dynpro concept.

Context Node

For a detailed description of the context node creation and a listing of properties with their meanings, refer to Creating and Maintaining Context Nodes. In the Architecture Manual for Web Dynpro, refer to a detailed description of the topic Structure linkProperties of Context Nodes.   

Context Attributes

Since the concept of the context attributes is relatively simple, only a name and data type must be specified for them. Several other properties are available for optional use. For further information, refer to Creating and Maintaining Context Attributes.

 

 

Leaving content frame