Ansicht
Dokumentation

ABAPTRY_SHORTREF - TRY SHORTREF

ABAPTRY_SHORTREF - TRY SHORTREF

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

TRY

Reference



Syntax

TRY.
    [try_block]
  [CATCH [BEFORE UNWIND] cx_class1 cx_class2 ... [INTO oref].
    [catch_block]]
    ...
  [CLEANUP [INTO oref].
    [cleanup_block]]
ENDTRY.


Effect

Defines a monitored area try_block, whose class-based exceptions cx_class1, cx_class2, ... can be handled in CATCH blocks catch_block. The CLEANUP block cleanup_block is executed if a class-based exception is raised in the TRY block and is not caught in a separate CATCH block but in a parent TRY control structure instead.

Additions

  • BEFORE UNWIND
    Is given the context of the exception until the end of the exception handling
  • INTO oref
    Assigns oref a reference to the exception object.
    Assigns oref a reference to the exception object.





PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1390 Date: 20240420 Time: 103115     sap01-206 ( 26 ms )