Ansicht
Dokumentation

ABENRAISE_ERROR_MESSAGE_SHRT_ABEXA - RAISE ERROR MESSAGE SHRT ABEXA

ABENRAISE_ERROR_MESSAGE_SHRT_ABEXA - RAISE ERROR MESSAGE SHRT ABEXA

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Converting the Exception error_message to a Class-Based Exception

The example demonstrates the short form of the statement RAISE EXCEPTION with the addition MESSAGE.

Source Code

Execute

Description

The example has exactly the same functionality as the executable example IF_T100_DYN_MSG for the exception error_message. Here, the addition USING MESSAGE is used, which explicitly passes the system fields sy-msgty, sy-msgid, sy-msgno, and sy-msgv1 to sy-msgv4 to the corresponding additions of the statement RAISE EXCEPTION.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1111 Date: 20240426 Time: 164230     sap01-206 ( 28 ms )