ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 4.0 and 4.5
Catchable Runtime Errors in Release 4.0
With Release 4.0 runtime errors can be caught with CATCH SYSTEM-EXCEPTIONS ... ENDCATCH
.
In the past the occurrence of a runtime error always resulted in termination of the ABAP
program. Special tests had to be programmed at critical locations in programs to ensure that the program would always execute without problems.
With CATCH SYSTEM-EXCEPTIONS ... ENDCATCH
such critical program locations can now be caught. After ENDCATCH
you can query if the program block was ended correctly or if a runtime error occurred that was detected.