Get Example source ABAP code based on a different SAP table
Exception Classes in ABAP Release 7.60 ITOC
ABAP_MODIFICATION_NN 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.
ABAP_MODIFICATION_NN 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.