SAP CL_BS_SOA_MESSAGE_CONTAINER OO Class - Message container









CL_BS_SOA_MESSAGE_CONTAINER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_BS_SOA_MESSAGE_CONTAINER including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_BS_SOA_MESSAGE_CONTAINER SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADD_APPLICATION_MESSAGESAdd application message to containerPublic
CALL METHOD cl_bs_soa_message_container=>ADD_APPLICATION_MESSAGES...more details

ADD_BAPI_MESSAGEAdd BAPI message to containerPublic
CALL METHOD cl_bs_soa_message_container=>ADD_BAPI_MESSAGE...more details

ADD_SMESGAdd message of type SMESG to containerPublic
CALL METHOD cl_bs_soa_message_container=>ADD_SMESG...more details

ADD_SY_MESSAGEAdd system message to containerPublic
CALL METHOD cl_bs_soa_message_container=>ADD_SY_MESSAGE...more details

APPEND_APPLICATION_MESSAGEAppend table of application messages to containerPublic
CALL METHOD cl_bs_soa_message_container=>APPEND_APPLICATION_MESSAGE...more details

APPEND_BAPI_MESSAGEAppend table of BAPI messages to containerPublic
CALL METHOD cl_bs_soa_message_container=>APPEND_BAPI_MESSAGE...more details

APPEND_SMESGAppend table of SMESG to containerPublic
CALL METHOD cl_bs_soa_message_container=>APPEND_SMESG...more details

GET_BAPI_MESSAGESGet BAPI messagesPublic
CALL METHOD cl_bs_soa_message_container=>GET_BAPI_MESSAGES...more details

GET_MAIN_ERRORGet main error from memoryPublic
CALL METHOD cl_bs_soa_message_container=>GET_MAIN_ERROR...more details

GET_MAX_SERVCODEGet maximum severity code 1<2<3<4Public
CALL METHOD cl_bs_soa_message_container=>GET_MAX_SERVCODE...more details

GET_MESSAGESRetrieve messages from containerPublic
CALL METHOD cl_bs_soa_message_container=>GET_MESSAGES...more details

GET_MESSAGE_BY_SERVCODEGet first message for severity codePublic
CALL METHOD cl_bs_soa_message_container=>GET_MESSAGE_BY_SERVCODE...more details

GET_MESSAGE_FOR_MAX_SERVCODEGet first message for maximum severity codePublic
CALL METHOD cl_bs_soa_message_container=>GET_MESSAGE_FOR_MAX_SERVCODE...more details

GET_MSG_TEXTStatic: Get text from system messagePublic
CALL METHOD cl_bs_soa_message_container=>GET_MSG_TEXT...more details

HAS_ERRORCheck if container has messagesPublic
CALL METHOD cl_bs_soa_message_container=>HAS_ERROR...more details

REFRESHRefresh message containerPublic
CALL METHOD cl_bs_soa_message_container=>REFRESH...more details

REMOVE_MESSAGERemove message from containerPublic
CALL METHOD cl_bs_soa_message_container=>REMOVE_MESSAGE...more details

SET_ERROR_CATEGORYSet error category to applmsgProtected
CALL METHOD cl_bs_soa_message_container=>SET_ERROR_CATEGORY...more details

SET_MAIN_ERRORSet main error to memoryProtected
CALL METHOD cl_bs_soa_message_container=>SET_MAIN_ERROR...more details

SORT_BY_SERVCODESort messages by severity codeProtected
CALL METHOD cl_bs_soa_message_container=>SORT_BY_SERVCODE...more details

SPLIT_MSG_TEXTStatic: split message text into message variablesPublic
CALL METHOD cl_bs_soa_message_container=>SPLIT_MSG_TEXT...more details

S_GET_SY_MESSAGEStatic: get sy message as applmsg or bapireturnPublic
CALL METHOD cl_bs_soa_message_container=>S_GET_SY_MESSAGE...more details



CL_BS_SOA_MESSAGE_CONTAINER attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
ABAP_FALSEConstantfalseSPACELIKE
XFLAG
Protected
ABAP_TRUEConstanttrue'X'LIKE
XFLAG
Protected
CO_SEVERITY_CODEConstantLIKE
Public
GT_MESSAGEInstance AttributeMessage tableLIKE
APPLMSGTAB
Protected
MS_MAIN_ERRORInstance AttributeReturn Structure for MessagesLIKE
APPLMSG
Protected


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!