SAP NEWS-40-SYSEXC



Get Example source ABAP code based on a different SAP table
  



Catchable Runtime Errors in ABAP Release 4.0
From ABAP_RELEASE 4.0, runtime errors can be caught using CATCH SYSTEM-EXCEPTIONS ... ENDCATCH.
Previously, the occurrence of a runtime error always terminated the ABAP program. Special tests had to be programmed at critical locations in programs to ensure that the program would always execute without problems.
CATCH SYSTEM-EXCEPTIONS ... ENDCATCH can now be used to wrap these critical program spots. After ENDCATCH, it is then possible to query whether the program block was ended correctly or whether a runtime error occurred that was caught.