RAISE_EXCEPTION SAP Method Trigger Exception of Class
Below is documentation, parameters and attributes of ABAP Method RAISE_EXCEPTION within SAP class CX_T100_MSG. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CX_T100_MSG into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method RAISE_EXCEPTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RAISE_EXCEPTION
.Name | Type | Data Type | Description | Default Value |
IV_MSGID | Importing | TYPE SY-MSGID | Message Class | |
IV_MSGNO | Importing | TYPE SY-MSGNO | Message Number | |
IV_MSGV1 | Importing | TYPE CLIKE | Message Variable 1 | |
IV_MSGV2 | Importing | TYPE CLIKE | Message Variable 2 | |
IV_MSGV3 | Importing | TYPE CLIKE | Message Variable 3 | |
IV_MSGV4 | Importing | TYPE CLIKE | Message Variable 4 | |
IV_PREVIOUS | Importing | LIKE PREVIOUS | Exception Mapped to the Current Exception | |
IV_TEXTID | Importing | LIKE TEXTID | Key for Access to Message Text |
Exceptions of Method RAISE_EXCEPTION
CX_T100_MSG - Exception Class with Error Messages from Table T100Example ABAP coding
DATA: lv_IV_MSGID TYPE SY-MSGID,
lv_IV_MSGNO TYPE SY-MSGNO,
lv_IV_MSGV1 TYPE CLIKE,
lv_IV_MSGV2 TYPE CLIKE,
lv_IV_MSGV3 TYPE CLIKE,
lv_IV_MSGV4 TYPE CLIKE,
lv_IV_PREVIOUS TYPE PREVIOUS,
lv_IV_TEXTID TYPE TEXTID,
lv_other TYPE c.
CALL METHOD CX_T100_MSG=>RAISE_EXCEPTION(
EXPORTING
IV_MSGID = lv_IV_MSGID
IV_MSGNO = lv_IV_MSGNO
IV_MSGV1 = lv_IV_MSGV1
IV_MSGV2 = lv_IV_MSGV2
IV_MSGV3 = lv_IV_MSGV3
IV_MSGV4 = lv_IV_MSGV4
IV_PREVIOUS = lv_IV_PREVIOUS
IV_TEXTID = lv_IV_TEXTID ).
Links to Related Class(s)
CX_T100_...Full list of available SAP object classes
Search for further information about these or an SAP related objects