This statement can be specified in the global declaration part of a program or in the local declaration part of a
procedure. It creates a structured data type, local to the program, which can be used to create an instance of the
con, the name of a context defined in the current
AS ABAP can be specified.
The name of the new data type is made up of the prefix
context_ and the name
con of the specified context.
If the data type
context_con (created using
is used after the addition
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 new 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.