SAP ABAP Class /IWBEP/CL_MGW_MSG_CONTAINER (Message Container (for Client messages))
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷
/IWBEP/MGW_GSR_CORE (Package) OData Channel - Service Interface - Core
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWBEP/IF_MESSAGE_CONTAINER | Message Container Interface | 20110707 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWBEP/IF_MGW_MICROFORMAT_READ | Error Details Read Interface | 20110715 |
Properties
| Class | /IWBEP/CL_MGW_MSG_CONTAINER | |
| Short Description | Message Container (for Client messages) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWBEP/MGW_GSR_CORE | OData Channel - Service Interface - Core |
| Created | 20110706 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /IWBEP/IF_MESSAGE_CONTAINER | Message Container Interface | 20110707 | ||
| 2 | /IWBEP/IF_MGW_MICROFORMAT_READ | Error Details Read Interface | 20110715 |
Friends
Class /IWBEP/CL_MGW_MSG_CONTAINER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | /IWBEP/CL_COS_LOGGER | Logger for AppsLog | 20110706 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | /IWBEP/CL_MGW_MSG_CONTAINER | Message Container | 20110712 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER_H | Header information of Message Container | 20110713 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/T_MGW_ODATA_INNER_ERROR | OData Inner Error | 20110715 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/T_MESSAGE_CONTAINER | Message Container Data Table | 20110706 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | 20140402 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Logs a message container message | 20110707 | |
| 2 | Static method | Private | Method | Converts the key table into a concatenated key string | 20110714 | |
| 3 | Instance method | Private | Method | Converts message container into micro format | 20110715 | |
| 4 | Instance method | Public | Method | Returns the severity for an error type | 20131016 | |
| 5 | Static method | Public | Method | INTERNAL USE ONLY - Container for CS operation in defer mode | 20140402 | |
| 6 | Instance method | Private | Method | Returns the XPATH expression for the property | 20110718 | |
| 7 | Static method | Public | Method | Returns the message ID | 20110714 | |
| 8 | Instance method | Public | Method | Get message details | 20131017 | |
| 9 | Static method | Public | Method | Factory method | 20110712 | |
| 10 | Static method | Public | Method | DO NOT USE | 20110712 | |
| 11 | Instance method | Private | Method | Logs a message container message | 20110707 | |
| 12 | Static method | Private | Method | Returns the system alias | 20110714 | |
| 13 | Instance method | Private | Method | Logs a message container message | 20110707 | |
| 14 | Instance method | Public | Method | Reset at end of request processing (framework use only) | 20130612 | |
| 15 | Instance method | Private | Method | Set the text for a message ID and its variables | 20110707 |
Events
Class /IWBEP/CL_MGW_MSG_CONTAINER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_EPP | Public | See coding | 20110718 | BEGIN OF ty_epp,
tid TYPE string,"transaction id
cid TYPE string,"context id
END OF ty_epp
|
Method Signatures
Method APPEND_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER | Message Container Data Structure | 20110707 |
Method APPEND_MESSAGE on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method CONVERT_KEY_TAB_TO_ID_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | Entity key as name-value pair | 20110714 | |||
| 2 | RV_KEY | Value transfer | Type reference (TYPE) | STRING | Concatenated key | 20110714 |
Method CONVERT_KEY_TAB_TO_ID_STRING on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method CONVERT_MSG_TO_MICROFORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MICRO_FORMAT | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_ODATA_INNER_ERROR | OData Inner Error | 20110715 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_CONTEXT | 20110718 | ||||
| 3 | IS_REQUEST_CONTEXT | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_CORE_SRV_RUNTIME=>TY_S_MGW_REQUEST_CONTEXT | 20110718 | ||||
| 4 | IT_MSG_CONTAINER | Call by reference | Type reference (TYPE) | /IWBEP/T_MESSAGE_CONTAINER | Message Container Data Table | 20110715 |
Method CONVERT_MSG_TO_MICROFORMAT on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method CONVERT_TYPE_TO_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ERROR_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Message Type (A, E, I,...) | 20131016 | |||
| 2 | RV_SEVERITY | Value transfer | Type reference (TYPE) | /IWBEP/IF_MESSAGE_CONTAINER=>TY_DETAIL_SEVERITY | Message Severity (Info, Warning, Error) | 20131016 |
Method CONVERT_TYPE_TO_SEVERITY on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method CREATE_CSOP_MSG_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OPERATION_NO | Call by reference | Type reference (TYPE) | I | Number einer Changeset Operation in defer mode | 20140402 | |||
| 2 | RO_MSG_CONTAINER | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MESSAGE_CONTAINER | Message Container Interface | 20140402 |
Method CREATE_CSOP_MSG_CONTAINER on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method FIND_PROPERTY_TO_ABAP_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_CONTEXT | MGW Context | 20110718 | |||
| 2 | IS_REQUEST_CONTEXT | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_CORE_SRV_RUNTIME=>TY_S_MGW_REQUEST_CONTEXT | Request Context | 20110718 | |||
| 3 | IV_ENTITY_TYPE | Call by reference | Type reference (TYPE) | STRING | Entity Type | 20110718 | |||
| 4 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | BAPI_FLD | ABAP Field Name | 20110718 | |||
| 5 | RV_XPATH_PROPERTY | Value transfer | Type reference (TYPE) | STRING | Path to Property | 20110718 |
Method FIND_PROPERTY_TO_ABAP_NAME on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GENERATE_MSG_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MSG_CONTAINER | Call by reference | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER | Message Container Data Structure | 20110714 | |||
| 2 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | Entity key as name-value pair | 20110714 | |||
| 3 | IV_ENTITY_TYPE | Call by reference | Type reference (TYPE) | STRING | Entity type/name | 20110714 |
Method GENERATE_MSG_ID on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GET_MESSAGE_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE_DETAIL | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_ODATA_INNER_ERROR | OData Inner Error | 20131017 | |||
| 2 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_CONTEXT | 20131017 | ||||
| 3 | IS_REQUEST_CONTEXT | Call by reference | Type reference (TYPE) | /IWBEP/IF_MGW_CORE_SRV_RUNTIME=>TY_S_MGW_REQUEST_CONTEXT | 20131017 |
Method GET_MESSAGE_DETAILS on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GET_MGW_MSG_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_MSG_CONTAINER | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MESSAGE_CONTAINER | Message Container Interface | 20110712 |
Method GET_MGW_MSG_CONTAINER on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GET_MSG_CONTAINER_FROM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_CONTEXT | MGW Context | 20110712 | |||
| 2 | RO_MSG_CONTAINER | Value transfer | Object reference (TYPE REF TO) | /IWBEP/IF_MESSAGE_CONTAINER | Message Container Interface | 20110712 |
Method GET_MSG_CONTAINER_FROM_CONTEXT on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GET_ONE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20110707 | |||
| 2 | RS_MESSAGE | Value transfer | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER | Message Container Data Structure | 20110707 |
Method GET_ONE_MESSAGE on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method GET_SYSTEM_ALIAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SYSTEM_ALIAS | Value transfer | Type reference (TYPE) | CHAR16 | System Alias | 20110714 |
Method GET_SYSTEM_ALIAS on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method LOG_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER | Message Container Data Structure | 20110707 | |||
| 2 | IV_LOG_MSG_TEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110720 |
Method LOG_MESSAGE on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method RESET Signature
Method RESET on class /IWBEP/CL_MGW_MSG_CONTAINER has no parameter.
Method RESET on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
Method SET_MESSAGE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MESSAGE | Call by reference | Type reference (TYPE) | /IWBEP/S_MESSAGE_CONTAINER | Message Container Data Structure | 20110707 | |||
| 2 | IV_PROVIDE_TEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Get text in any case | 20110722 |
Method SET_MESSAGE_TEXT on class /IWBEP/CL_MGW_MSG_CONTAINER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 200 |