SAP ABAP Class CL_BS_SOA_MESSAGE_CONTAINER (Message container)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-SOA (Application Component) Enterprise SOA
⤷
BS_SOA_REUSE_COMMON_OBJECTS (Package) Business Suite SOA: Reuseable Tools and Objects
⤷
⤷
Properties
| Class | CL_BS_SOA_MESSAGE_CONTAINER | |
| Short Description | Message container | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BS_SOA_REUSE_COMMON_OBJECTS | Business Suite SOA: Reuseable Tools and Objects |
| Created | 20081024 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_BS_SOA_MESSAGE_CONTAINER has no forward declaration.
Interfaces
Class CL_BS_SOA_MESSAGE_CONTAINER has no interface implemented.
Friends
Class CL_BS_SOA_MESSAGE_CONTAINER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | XFLAG | SPACE | false | 20081024 | ||
| 2 | Constant | Protected | Type reference (TYPE) | XFLAG | 'X' | true | 20081024 | ||
| 3 | Constant | Public | See coding | 20090326 | |||||
| 4 | Instance attribute | Protected | Type reference (TYPE) | APPLMSGTAB | Message table | 20081024 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090810 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add application message to container | 20081024 | |
| 2 | Instance method | Public | Method | Add BAPI message to container | 20081121 | |
| 3 | Instance method | Public | Method | Add message of type SMESG to container | 20090202 | |
| 4 | Instance method | Public | Method | Add system message to container | 20081024 | |
| 5 | Instance method | Public | Method | Append table of application messages to container | 20081024 | |
| 6 | Instance method | Public | Method | Append table of BAPI messages to container | 20081024 | |
| 7 | Instance method | Public | Method | Append table of SMESG to container | 20090202 | |
| 8 | Instance method | Public | Method | Get BAPI messages | 20090202 | |
| 9 | Instance method | Public | Method | Get main error from memory | 20090810 | |
| 10 | Instance method | Public | Method | Get maximum severity code 1<2<3<4 | 20090326 | |
| 11 | Instance method | Public | Method | Retrieve messages from container | 20081024 | |
| 12 | Instance method | Public | Method | Get first message for severity code | 20090408 | |
| 13 | Instance method | Public | Method | Get first message for maximum severity code | 20101129 | |
| 14 | Static method | Public | Method | Static: Get text from system message | 20090807 | |
| 15 | Instance method | Public | Method | Check if container has messages | 20081024 | |
| 16 | Instance method | Public | Method | Refresh message container | 20081024 | |
| 17 | Instance method | Public | Method | Remove message from container | 20090618 | |
| 18 | Instance method | Protected | Method | Set error category to applmsg | 20090810 | |
| 19 | Instance method | Protected | Method | Set main error to memory | 20090810 | |
| 20 | Static method | Protected | Method | Sort messages by severity code | 20110208 | |
| 21 | Static method | Public | Method | Static: split message text into message variables | 20101126 | |
| 22 | Static method | Public | Method | Static: get sy message as applmsg or bapireturn | 20090401 |
Events
Class CL_BS_SOA_MESSAGE_CONTAINER has no event.
Types
Class CL_BS_SOA_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 | IS_MESSAGE | Call by reference | Type reference (TYPE) | APPLMSG | Application message | 20081024 | |||
| 2 | IV_MAIN_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | ' ' | Boolean Variable (X=True, -=False, Space=Unknown) | 20090810 |
Method ADD_APPLICATION_MESSAGES on class CL_BS_SOA_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 | IS_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRET2 | BAPI message | 20081121 | |||
| 2 | IV_ERR_CATEGORY | Call by reference | Type reference (TYPE) | STRING | 20090810 | ||||
| 3 | IV_MAIN_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | ' ' | Boolean Variable (X=True, -=False, Space=Unknown) | 20090810 |
Method ADD_BAPI_MESSAGE on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method ADD_SMESG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SMESG | Call by reference | Type reference (TYPE) | SMESG | Message collector | 20090202 | |||
| 2 | IV_ERR_CATEGORY | Call by reference | Type reference (TYPE) | STRING | 20090810 | ||||
| 3 | IV_MAIN_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | ' ' | Boolean Variable (X=True, -=False, Space=Unknown) | 20090810 |
Method ADD_SMESG on class CL_BS_SOA_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 | IV_ERR_CATEGORY | Call by reference | Type reference (TYPE) | STRING | 20090213 | ||||
| 2 | IV_MAIN_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | ' ' | Boolean Variable (X=True, -=False, Space=Unknown) | 20090810 |
Method ADD_SY_MESSAGE on class CL_BS_SOA_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 | IT_MESSAGE | Call by reference | Type reference (TYPE) | APPLMSGTAB | Table of application messages | 20081024 |
Method APPEND_APPLICATION_MESSAGE on class CL_BS_SOA_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 | IT_BAPIRET | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table of BAPI messages | 20081024 |
Method APPEND_BAPI_MESSAGE on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method APPEND_SMESG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SMESG | Call by reference | Type reference (TYPE) | TSMESG | Message table message collector | 20090202 |
Method APPEND_SMESG on class CL_BS_SOA_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 | IV_SORTED_BY_SEVTY_CODE | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20110208 | ||
| 2 | RT_BAPI_MESSAGE | Value transfer | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090202 |
Method GET_BAPI_MESSAGES on class CL_BS_SOA_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 | RS_MAIN_ERROR | Value transfer | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090810 |
Method GET_MAIN_ERROR on class CL_BS_SOA_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 | RV_MAX_SERVCODE | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20090326 |
Method GET_MAX_SERVCODE on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SORTED_BY_SEVTY_CODE | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20110208 | ||
| 2 | RT_MESSAGE | Value transfer | Type reference (TYPE) | APPLMSGTAB | Table for messages | 20081024 |
Method GET_MESSAGES on class CL_BS_SOA_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 | IV_SERVCODE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20090408 | |||
| 2 | RS_MESSAGE | Value transfer | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090408 |
Method GET_MESSAGE_BY_SERVCODE on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method GET_MESSAGE_FOR_MAX_SERVCODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WITH_TEXT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Boolean Variable (X=True, -=False, Space=Unknown) | 20101129 | ||
| 2 | RS_MESSAGE | Value transfer | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20101129 |
Method GET_MESSAGE_FOR_MAX_SERVCODE on class CL_BS_SOA_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 | IS_APPLMSG | Call by reference | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20101125 | |||
| 2 | RV_TEXT | Value transfer | Type reference (TYPE) | BAPI_MSG | Message Text | 20090807 |
Method GET_MSG_TEXT on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method HAS_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NO_INFORMATION | Call by reference | Type reference (TYPE) | XFLAG | ignore information messages | 20081024 | |||
| 2 | I_NO_SUCCESS | Call by reference | Type reference (TYPE) | XFLAG | Ignore success messages | 20081024 | |||
| 3 | I_NO_WARNING | Call by reference | Type reference (TYPE) | XFLAG | Ignore warning messages | 20081024 | |||
| 4 | R_RESULT | Value transfer | Type reference (TYPE) | XFLAG | Return indicator | 20081024 |
Method HAS_ERROR on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method REFRESH Signature
Method REFRESH on class CL_BS_SOA_MESSAGE_CONTAINER has no parameter.
Method REFRESH on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method REMOVE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | SYMSGID | 20090618 | ||||
| 2 | IV_MESSAGE_V1 | Call by reference | Type reference (TYPE) | SYMSGV | 20090618 | ||||
| 3 | IV_MESSAGE_V2 | Call by reference | Type reference (TYPE) | SYMSGV | 20090618 | ||||
| 4 | IV_MESSAGE_V3 | Call by reference | Type reference (TYPE) | SYMSGV | 20090618 | ||||
| 5 | IV_MESSAGE_V4 | Call by reference | Type reference (TYPE) | SYMSGV | 20090618 | ||||
| 6 | IV_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | 20090618 | ||||
| 7 | IV_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | 20090618 |
Method REMOVE_MESSAGE on class CL_BS_SOA_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 | CS_MESSAGE | Call by reference | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090810 | |||
| 2 | IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | STRING | 20090810 |
Method SET_ERROR_CATEGORY on class CL_BS_SOA_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 | IS_MAIN_ERROR | Call by reference | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090810 |
Method SET_MAIN_ERROR on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method SORT_BY_SERVCODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_APPLMSG | Call by reference | Type reference (TYPE) | APPLMSGTAB | Return Table for Messages | 20110208 | |||
| 2 | RT_APPLMSG | Value transfer | Type reference (TYPE) | APPLMSGTAB | Return Table for Messages | 20110208 |
Method SORT_BY_SERVCODE on class CL_BS_SOA_MESSAGE_CONTAINER has no exception.
Method SPLIT_MSG_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LOST_TEXT | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101126 | |||
| 2 | EV_MSG_VAR1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101126 | |||
| 3 | EV_MSG_VAR2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101126 | |||
| 4 | EV_MSG_VAR3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101126 | |||
| 5 | EV_MSG_VAR4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20101126 | |||
| 6 | IV_MSG_TEXT | Call by reference | Type reference (TYPE) | BAPI_MSG | Message Text | 20101126 |
Method SPLIT_MSG_TEXT on class CL_BS_SOA_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 | ES_APPLMSG | Call by reference | Type reference (TYPE) | APPLMSG | Return Structure for Messages | 20090401 | |||
| 2 | ES_BAPIRETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20090401 | |||
| 3 | IV_ERR_CATEGORY | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Integration: Application Error | 20090401 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |