SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Short Reference →
CATCH SYSTEM-EXCEPTIONS - Short Reference
Syntax
CATCH SYSTEM-EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
[OTHERS = n_others].
[statement_block]
ENDCATCH.
Effect
Obsolete: Catches catchable runtime errors in the statement block . The catchable runtime errors are specified individually or as exception groups exc1, exc2, ... If one of the specified runtime errors occurs, the number n1, n2, ... is assigned to the system field sy-subrc and program execution is continued after ENDCATCH. Using OTHERS, it is possible to catch all catchable runtime errors.