S_EXTRACT_MESSAGES SAP Method Extracts Messages from an Exception Object
Below is documentation, parameters and attributes of ABAP Method S_EXTRACT_MESSAGES within SAP class /BA1/CL_AL_C0_MSG_HELPER. 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 /BA1/CL_AL_C0_MSG_HELPER 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 S_EXTRACT_MESSAGES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method S_EXTRACT_MESSAGES
.| Name | Type | Data Type | Description | Default Value |
| I_REF_EXCEPTION | Importing | TYPE REF TO CX_ROOT | Abstract Superclass for All Global Exceptions | |
| R_TAB_MESSAGE | Returning | TYPE /BA1/IF_AL_C0_MSG_HANDLER=>TY_TAB_BAL_MSG | Message Table |
Exceptions of Method S_EXTRACT_MESSAGES
This method does not have any exceptionsExample ABAP coding
DATA: lv_I_REF_EXCEPTION TYPE CX_ROOT,
lv_R_TAB_MESSAGE TYPE /BA1/IF_AL_C0_MSG_HANDLER=>TY_TAB_BAL_MSG,
lv_other TYPE c.
CALL METHOD /BA1/CL_AL_C0_MSG_HELPER=>S_EXTRACT_MESSAGES(
EXPORTING
I_REF_EXCEPTION = lv_I_REF_EXCEPTION
RECEIVING
R_TAB_MESSAGE = lv_R_TAB_MESSAGE )
"Alternate coding for Method Call with returning parameter
lv_R_TAB_MESSAGE = /BA1/CL_AL_C0_MSG_HELPER=>S_EXTRACT_MESSAGES(
EXPORTING
I_REF_EXCEPTION = lv_I_REF_EXCEPTION ).
Links to Related Class(s)
/BA1/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects