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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IV_MSGIDImportingTYPE
SY-MSGID
Message Class
IV_MSGNOImportingTYPE
SY-MSGNO
Message Number
IV_MSGV1ImportingTYPE
CLIKE
Message Variable 1
IV_MSGV2ImportingTYPE
CLIKE
Message Variable 2
IV_MSGV3ImportingTYPE
CLIKE
Message Variable 3
IV_MSGV4ImportingTYPE
CLIKE
Message Variable 4
IV_PREVIOUSImportingLIKE
PREVIOUS
Exception Mapped to the Current Exception
IV_TEXTIDImportingLIKE
TEXTID
Key for Access to Message Text



Exceptions of Method RAISE_EXCEPTION

CX_T100_MSG - Exception Class with Error Messages from Table T100

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!