Ansicht
Dokumentation

ABAPRAISE_SHORTDUMP_MESSAGE - RAISE SHORTDUMP MESSAGE

ABAPRAISE_SHORTDUMP_MESSAGE - RAISE SHORTDUMP MESSAGE

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

RAISE SHORTDUMP, message

Short Reference



... ${ MESSAGE tn(id)
            $| ${ ID mid TYPE mtype NUMBER num $}
              $[WITH dobj1 ... dobj4$] $}
  $| ${ USING MESSAGE $} ...




Effect

The addition MESSAGE of the statement RAISE SHORTDUMP and of the addition THROW SHORTDUMP in a conditional expression passes the specification of a message to the exception object. Syntax and semantics are the same as in the addition MESSAGE of the statement RAISE EXCEPTION.

Note

The addition MESSAGE cannot be specified after the variant RAISE SHORTDUMP oref.

Example

Raising of a runtime error with an exception object of the exception class CX_DEMO_DYN_T100, which implements the interface IF_T100_DYN_MSG. The addition MESSAGE is used to pass the properties of a message that determines the exception text.

Example

Raising of a runtime error with an exception object of the exception class CX_DEMO_T100, which implements the interface IF_T100_MESSAGE. The additions MESSAGE and EXPORTING are used to pass the properties of a message that determines the exception text.

Example

Raising of a runtime error with an exception object of the exception class CX_DEMO_DYN_T100, which implements the interface IF_T100_DYN_MSG. The addition USING MESSAGE is used to pass the properties of a previously sent message that determines the exception text.






PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3437 Date: 20240416 Time: 145247     sap01-206 ( 44 ms )