SAP CATCH SYSTEM-EXCEPT - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for CATCH_SYSTEM_EXCEPTION

CATCH SYSTEM-EXCEPTIONS

ABAP Reference
ABAP Code Snippet


ABAP Syntax CATCH SYSTEM-EXCEPTIONS [exc1 = n1 exc2 = n2
...]
[OTHERS = n_others].
[statement_block]
ENDCATCH.
ABAP Code Snippet

What does it do? 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.

Return to menu