S_GET_SY_MESSAGE SAP Method Static: get sy message as applmsg or bapireturn
Below is documentation, parameters and attributes of ABAP Method S_GET_SY_MESSAGE within SAP class CL_BS_SOA_MESSAGE_CONTAINER. 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 CL_BS_SOA_MESSAGE_CONTAINER 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_GET_SY_MESSAGE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method S_GET_SY_MESSAGE
.| Name | Type | Data Type | Description | Default Value |
| IV_ERR_CATEGORY | Importing | TYPE CSEQUENCE | ||
| ES_APPLMSG | Exporting | TYPE APPLMSG | Return Structure for Messages | |
| ES_BAPIRETURN | Exporting | TYPE BAPIRET2 | Return Parameter |
Exceptions of Method S_GET_SY_MESSAGE
CX_AI_APPLICATION_FAULT - Application Integration: Application ErrorExample ABAP coding
DATA: lv_ES_APPLMSG TYPE APPLMSG,
lv_ES_BAPIRETURN TYPE BAPIRET2,
lv_IV_ERR_CATEGORY TYPE CSEQUENCE,
lv_other TYPE c.
CALL METHOD CL_BS_SOA_MESSAGE_CONTAINER=>S_GET_SY_MESSAGE(
EXPORTING
IV_ERR_CATEGORY = lv_IV_ERR_CATEGORY
IMPORTING
ES_APPLMSG = lv_ES_APPLMSG
ES_BAPIRETURN = lv_ES_BAPIRETURN ).
Links to Related Class(s)
CL_BS_SO...Full list of available SAP object classes
Search for further information about these or an SAP related objects