SAP RAISE SHORTDUMP MESSAGE ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• MESSAGE RAISE SHORTDUMP
• ID RAISE SHORTDUMP MESSAGE
• TYPE RAISE SHORTDUMP MESSAGE
• NUMBER RAISE SHORTDUMP MESSAGE
• WITH RAISE SHORTDUMP MESSAGE
• USING RAISE SHORTDUMP MESSAGE
• ID THROW SHORTDUMP
• TYPE THROW SHORTDUMP
• NUMBER THROW SHORTDUMP
• WITH THROW SHORTDUMP
• USING THROW SHORTDUMP

RAISE SHORTDUMP, message
Short Reference

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

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



Latest notes:

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

ABAP_EXAMPLE_VX5
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.
ABEXA 00516
ABAP_EXAMPLE_END

ABAP_EXAMPLE_VX5
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.
ABEXA 00517
ABAP_EXAMPLE_END
VX_EXA_ONLY



Example ABAP Coding

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.
ABEXA 00518
ABAP_EXAMPLE_END

Return to menu