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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IV_ERR_CATEGORYImportingTYPE
CSEQUENCE
ES_APPLMSGExportingTYPE
APPLMSG
Return Structure for Messages
ES_BAPIRETURNExportingTYPE
BAPIRET2
Return Parameter



Exceptions of Method S_GET_SY_MESSAGE

CX_AI_APPLICATION_FAULT - Application Integration: Application Error

Example 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



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!