AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.50 →
Exception Classes in ABAP Release 7.50
New System Interface for Messages
The new system interface IF_T100_DYN_MSG
adds predefined attributes for the message type and the placeholders of the message to the interface IF_T100_MESSAGE.
IF_T100_DYN_MSG makes it possible to associate any message with exception classes.
MESSAGE Addition for RAISE EXCEPTION and THROW
The new addition MESSAGE of the statement RAISE EXCEPTION and of the addition THROW in a conditional expression associates any message with an exception object. The exception class in question must include the new system interface IF_T100_DYN_MSG. It is also possible to use the addition with exception classes that include only the system interface IF_T100_MESSAGE, but with restrictions.