CONTEXTS
Short Reference
ABAP Syntax(Obsolete) CONTEXTS con.
What does it do? This statement can be specified in the global declaration
section of a program or in the local declaration section of a
procedure . It creates a structured data
type, local to the program, which can be used to create an instance of
the context con . For con , the
name of a context defined in the current
AS ABAP can be specified. The name of the data type created is
made up of the prefix context_ and the name con of the
specified context.
If the data type context_con (created using CONTEXTS ) is
used after the addition TYPE of the
statement DATA , an instance of the context
con is created to which the declared data object points. The data
object cannot be declared as a component of a structure. The content of
the created data object is interpreted as a reference. After an
assignment to another data object of the same data type, this data
object points to the same context instance.
In addition to the data type context_con , another structured
data type context_t_con is created. For each field of the
context, this data type contains an identically named component with its
relevant data type.
Latest notes: Data objects declared with the data type context_con
should only be used in the statements SUPPLY
and DEMAND .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved