The contents of
<n> are added to the contents of <m> and the results are stored in <m>.
This is equivalent to: <m> = <m> + <n>.
ADD for field
sequences
Adds sequences of
fields in storage.
Syntax
ADD <n1> THEN <n2>
UNTIL <nz> GIVING <m>.
ADD <n1> THEN <n2>
UNTIL <nz> ACCORDING TO <sel> GIVING <m>.
ADD <n1> THEN <n2>
UNTIL <nz> TO <m>.
ADD <n1> FROM <m1>
TO <mz> GIVING <m>.
If <n1>, <n2>, , <nz>
is a sequence of fields with the same distance to one another and if
they have the same type and length, these fields are added and the
result is stored in <m>. Different variants allow you to limit fields to
a subsequence, to include <m> in the sum, and to perform the operation
on a sequence of fields that directly follow one another.
ADD-CORRESPONDING
Adds subfields of
structures.
Syntax
ADD-CORRESPONDING
<struc1> TO <struc2>.
All the subfields
of the structures <struc1> and <struc2> having the same name are added
and the results are stored in <struc2>.
ALIASES
Defines
class-specific alias names for an interface component in ABAP objects.
Syntax
ALIASES <alias>
FOR <intf~comp>.
<alias> is defined
within a class or interface as synonymous with the interface component
<intf~comp>.
APPEND
Appends a line or
multiple lines to the end of an index table.
Syntax
APPEND
<line>|LINES OF <jtab> TO <itab>
[ASSIGNING <FS> | REFERENCE INTO <dref>].
A line <line> or
multiple lines of an internal table <jtab> are appended to index table
<itab>. If you use ASSIGNING or INTO REFERENCE, field symbol <FS> refers
to the appended line or the relevant data reference is stored in <dref>
after the statement.
Data object <f> is
assigned to field symbol <FS>. <FS> now points to the data object. After
the addition INCREMENT <n>, the storage area that is offset <n> times by
a length of <f> starting with <f> is assigned to the field symbol.
Pointed brackets are part of the syntax for field symbol names. The
CASTING addition permits you to cast data objects when assigning field
symbols. The RANGE addition defines the storage area in which either
offset/length accesses or the INCREMENT addition are allowed. In Unicode
programs, standard access is only allowed within the field limits of
<f>, but this can be extended with RANGE. In non-Unicode programs,
standard access is possible up to the boundary of the data segment and
can be limited with RANGE.
Syntax
ASSIGN <dref>->*
TO <FS> [CASTING ].
Dereferencing of
the data reference in <dref>. The data object to which the data
reference refers is assigned to field symbol <FS>.
AT for event
blocks
Syntax
AT
SELECTION-SCREEN
AT LINE-SELECTION.
AT USER-COMMAND.
User actions on a
selection screen or on a list trigger certain events in the ABAP runtime
environment. The event keywords define event blocks that are called when
events occur.
AT for group
change
Syntax
AT NEW <f>.
AT END OF <f>.
AT FIRST.
AT LAST.
AT <fg>.
The statements are
used to process group levels within a loop using an extract dataset or
an internal table. They introduce statement blocks that must be closed
with ENDAT. The statements between AT and ENDAT are only executed if the
corresponding group change occurred.
AUTHORITY-CHECK
Checks user
authorization.
Syntax
AUTHORITY-CHECK
OBJECT <object> ID <name1> FIELD <f1>
ID <name2> FIELD <f2>
ID <name10> FIELD <f10>.
There is a check
if the program user has all the authorizations defined in authorization
object <object>. <name1>, , <name10> are the authorization fields of the
authorization object. <f1>, <f1>, , <f10> are data objects of the
program. The value of the data objects is checked against the
authorization fields.