ABAP Keyword Documentation → ABAP - Reference → program editing → Testing and Checking Programs → Checkpoints
Checkpoints and checkpoint groups
This example demonstrates the differentcheckpoints and their connection to a checkpoint group.
Other versions: 7.31 | 7.40 | 7.54
Source Code
Description
The example includes the following:
- A logpoint
- An assertion
All of these are linked with the DEMO_CHECKPOINT_GROUPcheckpoint group.
For example, you choose the following settings:
- Break for breakpoints
- Log for logpoints
- Abort for assertions
You adopt the default values for the parameters. This has the following results:
- The
LOG-POINT
statement writes an entry to a log that you analyze following the execution of the program in transaction SAAB.
- The program stops at the
BREAK-POINT
statement in the ABAP Debugger.
- An ASSERTION_FAILED runtime error occurs for the
ASSERT
statement becausefield2
is initial.
If the activation settings are all inactive, none of the checkpoints has an effect.