SAP ABAP Class CL_SIWT_MESSAGE_CONTAINER (SIW samples: Message container)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-SIW (Application Component) Service Implementation Workbench
     S_SIW_ADAPTER (Package) SIW: Adapter
Properties
Class CL_SIWT_MESSAGE_CONTAINER  
Short Description SIW samples: Message container    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_SIW_ADAPTER   SIW: Adapter 
Created 20110114   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SIWT_MESSAGE_CONTAINER has no forward declaration.
Interfaces
Class CL_SIWT_MESSAGE_CONTAINER has no interface implemented.
Friends
Class CL_SIWT_MESSAGE_CONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ABAP_FALSE Constant Protected Type reference (TYPE) XFLAG SPACE 20110114
2 ABAP_TRUE Constant Protected Type reference (TYPE) XFLAG 'X' 20110114
3 CO_SEVERITY_CODE Constant Public See coding 20110114
4 GT_MESSAGE Instance attribute Protected Type reference (TYPE) APPLMSGTAB 20110114
5 MS_MAIN_ERROR Instance attribute Protected Type reference (TYPE) APPLMSG 20110114
Methods
# Method Level Visibility Method type Description Created on
1 ADD_APPLICATION_MESSAGES Instance method Public Method 20110114
2 ADD_BAPI_MESSAGE Instance method Public Method 20110114
3 ADD_SMESG Instance method Public Method 20110114
4 ADD_SY_MESSAGE Instance method Public Method 20110114
5 APPEND_APPLICATION_MESSAGE Instance method Public Method 20110114
6 APPEND_BAPI_MESSAGE Instance method Public Method 20110114
7 APPEND_SMESG Instance method Public Method 20110114
8 GET_BAPI_MESSAGES Instance method Public Method 20110114
9 GET_MAIN_ERROR Instance method Public Method 20110114
10 GET_MAX_SERVCODE Instance method Public Method 20110114
11 GET_MESSAGES Instance method Public Method 20110114
12 GET_MESSAGE_BY_SERVCODE Instance method Public Method 20110114
13 GET_MSG_TEXT Static method Protected Method 20110114
14 HAS_ERROR Instance method Public Method 20110114
15 REFRESH Instance method Public Method 20110114
16 REMOVE_MESSAGE Instance method Public Method 20110114
17 SET_ERROR_CATEGORY Instance method Protected Method 20110114
18 SET_MAIN_ERROR Instance method Protected Method 20110114
19 S_GET_SY_MESSAGE Static method Public Method 20110114
Events
Class CL_SIWT_MESSAGE_CONTAINER has no event.
Types
Class CL_SIWT_MESSAGE_CONTAINER has no local type.
Method Signatures

Method ADD_APPLICATION_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) APPLMSG 20110114
2 Importing IV_MAIN_ERROR Call by reference Type reference (TYPE) BOOLEAN ' ' 20110114

Method ADD_APPLICATION_MESSAGES on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method ADD_BAPI_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BAPIRET Call by reference Type reference (TYPE) BAPIRET2 20110114
2 Importing IV_ERR_CATEGORY Call by reference Type reference (TYPE) STRING 20110114
3 Importing IV_MAIN_ERROR Call by reference Type reference (TYPE) BOOLEAN ' ' 20110114

Method ADD_BAPI_MESSAGE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method ADD_SMESG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SMESG Call by reference Type reference (TYPE) SMESG 20110114
2 Importing IV_ERR_CATEGORY Call by reference Type reference (TYPE) STRING 20110114
3 Importing IV_MAIN_ERROR Call by reference Type reference (TYPE) BOOLEAN ' ' 20110114

Method ADD_SMESG on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method ADD_SY_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ERR_CATEGORY Call by reference Type reference (TYPE) STRING 20110114
2 Importing IV_MAIN_ERROR Call by reference Type reference (TYPE) BOOLEAN ' ' 20110114

Method ADD_SY_MESSAGE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method APPEND_APPLICATION_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGE Call by reference Type reference (TYPE) APPLMSGTAB 20110114

Method APPEND_APPLICATION_MESSAGE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method APPEND_BAPI_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB 20110114

Method APPEND_BAPI_MESSAGE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method APPEND_SMESG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SMESG Call by reference Type reference (TYPE) TSMESG 20110114

Method APPEND_SMESG on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_BAPI_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_BAPI_MESSAGE Value transfer Type reference (TYPE) BAPIRET2_T 20110114

Method GET_BAPI_MESSAGES on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_MAIN_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_MAIN_ERROR Value transfer Type reference (TYPE) APPLMSG 20110114

Method GET_MAIN_ERROR on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_MAX_SERVCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_MAX_SERVCODE Value transfer Type reference (TYPE) CHAR1 20110114

Method GET_MAX_SERVCODE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_MESSAGE Value transfer Type reference (TYPE) APPLMSGTAB 20110114

Method GET_MESSAGES on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_MESSAGE_BY_SERVCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SERVCODE Call by reference Type reference (TYPE) CHAR1 20110114
2 Returning RS_MESSAGE Value transfer Type reference (TYPE) APPLMSG 20110114

Method GET_MESSAGE_BY_SERVCODE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method GET_MSG_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TEXT Value transfer Type reference (TYPE) BAPI_MSG 20110114

Method GET_MSG_TEXT on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method HAS_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NO_INFORMATION Call by reference Type reference (TYPE) XFLAG 20110114
2 Importing I_NO_SUCCESS Call by reference Type reference (TYPE) XFLAG 20110114
3 Importing I_NO_WARNING Call by reference Type reference (TYPE) XFLAG 20110114
4 Returning R_RESULT Value transfer Type reference (TYPE) XFLAG 20110114

Method HAS_ERROR on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method REFRESH Signature

Method REFRESH on class CL_SIWT_MESSAGE_CONTAINER has no parameter.
Method REFRESH on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method REMOVE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) SYMSGID 20110114
2 Importing IV_MESSAGE_V1 Call by reference Type reference (TYPE) SYMSGV 20110114
3 Importing IV_MESSAGE_V2 Call by reference Type reference (TYPE) SYMSGV 20110114
4 Importing IV_MESSAGE_V3 Call by reference Type reference (TYPE) SYMSGV 20110114
5 Importing IV_MESSAGE_V4 Call by reference Type reference (TYPE) SYMSGV 20110114
6 Importing IV_NUMBER Call by reference Type reference (TYPE) SYMSGNO 20110114
7 Importing IV_TYPE Call by reference Type reference (TYPE) SYMSGTY 20110114

Method REMOVE_MESSAGE on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method SET_ERROR_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MESSAGE Call by reference Type reference (TYPE) APPLMSG 20110114
2 Importing IV_ERROR_CATEGORY Call by reference Type reference (TYPE) STRING 20110114

Method SET_ERROR_CATEGORY on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method SET_MAIN_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MAIN_ERROR Call by reference Type reference (TYPE) APPLMSG 20110114

Method SET_MAIN_ERROR on class CL_SIWT_MESSAGE_CONTAINER has no exception.

Method S_GET_SY_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_APPLMSG Call by reference Type reference (TYPE) APPLMSG 20110114
2 Exporting ES_BAPIRETURN Call by reference Type reference (TYPE) BAPIRET2 20110114
3 Importing IV_ERR_CATEGORY Call by reference Type reference (TYPE) CSEQUENCE 20110114
# Exception Resumable Description Created on
1 CX_AI_APPLICATION_FAULT 20110114
History
Last changed by/on SAP  20110908 
SAP Release Created in