SAP® Documentation

Single view

ABAPASSERT_SHORTREF - ASSERT SHORTREF

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

ASSERT

Reference



Syntax

ASSERT [ [ID group [SUBKEY sub]]
         [FIELDS val1 val2 ...]
         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 groupgroup that controls its activation and behavior.

  • SUBKEY sub
    Controls the summarization of the log using a subkey sub.

  • FIELDS val1 val2 ...
    Writes the content of data objects val1 val2 ... to the log or the short dump.

  • CONDITION
    Must be specified before log_exp if one of the other additions is specified.





ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1636 Date: 20191213 Time: 063818     sap01-206 ( 28 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.