Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPRAISE_SHORTDUMP_MESSAGE - RAISE SHORTDUMP MESSAGE

ABAPRAISE_SHORTDUMP_MESSAGE - RAISE SHORTDUMP MESSAGE

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
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.






BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3437 Date: 20230207 Time: 095356     sap01-206 ( 41 ms )