SAP NEWS-610-EXCEPTIONS

Get Example source ABAP code based on a different SAP table
  



Exception Handling in Release 6.10

Since Release 6.10 it has beenpossible to catch class based exceptions in TRY...CATCH... ENDTRYblocks. This replaces exception handling using either catchable runtime errors or EXCEPTIONS parameters of function modules and methods.

The keyword CLEANUP has been newly introduced for a program area that helps to create a consistent state after an exception or runtime error has occured within the protected area. Across the call hierarchy, runtime errors are caught at a higher level, so that if a method terminates, for instance, a consistent object state remains and global resources are released in accordance with regulations.

For a detailed description of this topic refer to Exception Handling.