ASSERT
Reference
Syntax
ASSERT [ [ID group [SUBKEY sub]]
[FIELDS dobj1 dobj2 ...]
CONDITION ] log_exp.
Effect
Defines an assertion. If the logical expression
log_exp is false, either the program terminates with a runtime error, or processing switches to the ABAP debugger, or a log entry is created.
Additions
-
ID group
Assigns the assertion to a
checkpoint group group that controls its activation and behavior.
-
SUBKEY sub
Controls the summarization of the log using subkey sub.
-
FIELDS dobj1 dobj2 ...
Writes the content of data objects dobj1 dobj2 ... to the log or the
short dump.
-
CONDITION
Must be specified before log_exp if one of the other additions is specified.