Entering content frame

Object documentation Context Locate the document in its SAP Library structure

Definition

The data used in the component or in the view is stored in the context. Read-write access to this data is available using the controllers as a starting point.

Structure

The data from the contexts is managed in a hierarchical structure. Each context has a root node, underneath which the individual data fields (attributes) are stored in a tree structure. You create this tree structure according to the structure of your application.

This graphic is explained in the accompanying text

Each node contains data fields, which represent either an individual instance of an object type or a table of instances. This property of a node is known as its cardinality. The following table summarizes the possible cardinalities for a node:

Cardinality

Description

1:1

The node contains only one instance, which must always be instantiated.

0:1

The node contains only one instance, which does not need to be instantiated.

1:n

The node can contain multiple instances, of which at least one must always be instantiated.

0:n

The node can contain multiple instances, of which none have to always be instantiated.

 

 

Leaving content frame