SAP ABAP Class /IWFND/IF_MESSAGE_CONTAINER (GW Message Container Interface)
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | /IWFND/CL_MESSAGE_CONTAINER | Message Container | 20090723 |
Properties
Class | /IWFND/IF_MESSAGE_CONTAINER | |
Short Description | GW Message Container Interface | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | ||
Created | 20090723 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWFND/IF_MESSAGE_CONTAINER has no interface implemented.
Friends
Class /IWFND/IF_MESSAGE_CONTAINER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | See coding | Constants for the error category | 20090723 | |||
2 | ![]() |
Constant | Public | See coding | Constants for the message type | 20090723 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Adds an error message | 20090723 |
2 | ![]() |
Instance method | Public | Method | Adds messages of type BAPIRET2 to the message container | 20090811 |
3 | ![]() |
Instance method | Public | Method | Adds messages of another Message Container | 20090811 |
4 | ![]() |
Instance method | Public | Method | Adds the exception text as error message | 20090723 |
5 | ![]() |
Instance method | Public | Method | Adds a Webservice LOG Item to the message container | 20090824 |
6 | ![]() |
Instance method | Public | Method | Adds an error message text without a corresponding message | 20100126 |
7 | ![]() |
Instance method | Public | Method | Returns if there is a leading message or not | 20100430 |
8 | ![]() |
Instance method | Public | Method | Returns the text of leading message if exists, else INITIAL | 20090902 |
9 | ![]() |
Instance method | Public | Method | Returns the list of all messages - Message text can be empty | 20090727 |
10 | ![]() |
Instance method | Public | Method | Returns the list of all messages in log item format | 20090915 |
11 | ![]() |
Instance method | Public | Method | Returns the type of the "worst" message (A > E > W > I > S) | 20090902 |
Events
Class /IWFND/IF_MESSAGE_CONTAINER has no event.
Types
Class /IWFND/IF_MESSAGE_CONTAINER has no local type.
Method Signatures
Method ADD_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20090728 | ||
2 | ![]() |
IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | CHAR15 | GCS_ERROR_CATEGORY-PROCESSING | Error category - defined by GCS_ERROR_CATEGORY | 20090723 | |
3 | ![]() |
IV_IS_EXTERNAL_MESSAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110718 | ||
4 | ![]() |
IV_IS_LEADING_MESSAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Flags this message as the leading error message | 20090723 | |
5 | ![]() |
IV_MESSAGE_CREATOR | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | Name of the Component which created the message | 20090811 | ||
6 | ![]() |
IV_MSG_ID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20090723 | ||
7 | ![]() |
IV_MSG_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20090723 | ||
8 | ![]() |
IV_MSG_TEXT | Call by reference | Type reference (TYPE) | BAPI_MSG | Message Text | 20090723 | ||
9 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type - defined by GCS_MESSAGE_TYPE | 20090723 | ||
10 | ![]() |
IV_MSG_V1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20090723 | ||
11 | ![]() |
IV_MSG_V2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20090723 | ||
12 | ![]() |
IV_MSG_V3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20090723 | ||
13 | ![]() |
IV_MSG_V4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20090723 |
Method ADD_MESSAGE on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method ADD_MESSAGES_FROM_BAPI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20090811 | ||
2 | ![]() |
IT_BAPI_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Table of BAPIRET2 messages | 20090811 | ||
3 | ![]() |
IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | CHAR15 | GCS_ERROR_CATEGORY-PROCESSING | Error category - defined by GCS_ERROR_CATEGORY | 20090811 | |
4 | ![]() |
IV_MESSAGE_CREATOR | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | Name of the Component which created the message | 20090811 |
Method ADD_MESSAGES_FROM_BAPI on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method ADD_MESSAGES_FROM_CONTAINER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_MESSAGE_CONTAINER | Call by reference | Object reference (TYPE REF TO) | /IWFND/IF_MESSAGE_CONTAINER | IWF Message Container Interface | 20090811 |
Method ADD_MESSAGES_FROM_CONTAINER on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method ADD_MESSAGE_FROM_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | /IWFND/CX_BASE | IWFND Base Exception | 20090723 | ||
2 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20090728 | ||
3 | ![]() |
IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | CHAR15 | GCS_ERROR_CATEGORY-PROCESSING | Error category - defined by GCS_ERROR_CATEGORY | 20090723 | |
4 | ![]() |
IV_IS_LEADING_MESSAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flags this message as the leading error message | 20090917 | |
5 | ![]() |
IV_LOG_TO_ERROR_LOG | Call by reference | Type reference (TYPE) | XSDBOOLEAN | ABAP_TRUE | 'X': Always write to Error Log | 20121204 | |
6 | ![]() |
IV_MESSAGE_CREATOR | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | Name of the Component which created the message | 20090811 |
Method ADD_MESSAGE_FROM_EXCEPTION on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method ADD_MESSAGE_FROM_LOG_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_LOG_ITEM_FIELDS | Call by reference | Type reference (TYPE) | /IWFND/S_MECO_LOG_ITEM | Fields of a Log Item | 20090824 | ||
2 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20090824 | ||
3 | ![]() |
IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | CHAR15 | GCS_ERROR_CATEGORY-PROCESSING | Error category - defined by GCS_ERROR_CATEGORY | 20090824 | |
4 | ![]() |
IV_MESSAGE_CREATOR | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | Name of the Component which created the message | 20090824 |
Method ADD_MESSAGE_FROM_LOG_ITEM on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method ADD_MESSAGE_TEXT_ONLY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20100126 | ||
2 | ![]() |
IV_ERROR_CATEGORY | Call by reference | Type reference (TYPE) | CHAR15 | GCS_ERROR_CATEGORY-PROCESSING | Error category - defined by GCS_ERROR_CATEGORY | 20100126 | |
3 | ![]() |
IV_IS_LEADING_MESSAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Flags this message as the leading error message | 20100126 | |
4 | ![]() |
IV_MESSAGE_CREATOR | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | Name of the Component which created the message | 20100126 | ||
5 | ![]() |
IV_MSG_TEXT | Call by reference | Type reference (TYPE) | BAPI_MSG | Message Text | 20100126 | ||
6 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type - defined by GCS_MESSAGE_TYPE | 20100126 |
Method ADD_MESSAGE_TEXT_ONLY on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method GET_HAS_LEADING_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_HAS_LEADING_MESSAGE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE if there is leading message, ABAP_FALSE otherwise | 20100430 |
Method GET_HAS_LEADING_MESSAGE on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method GET_LEADING_MESSAGE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_MESSAGE_TEXT | Value transfer | Type reference (TYPE) | BAPI_MSG | Message Text | 20090902 |
Method GET_LEADING_MESSAGE_TEXT on class /IWFND/IF_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_PROVIDE_TEXT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | If true the message texts will be filled | 20090825 | |
2 | ![]() |
RT_MESSAGES | Value transfer | Type reference (TYPE) | /IWFND/T_MECO_MESSAGE | Message table for "Message Container" | 20090727 |
Method GET_MESSAGES on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method GET_MESSAGES_AS_LOG_ITEMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_LOG_ITEMS | Value transfer | Type reference (TYPE) | /IWFND/T_MECO_LOG_ITEM | Log item table for "Message Container" | 20090915 |
Method GET_MESSAGES_AS_LOG_ITEMS on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
Method GET_WORST_MESSAGE_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_MESSAGE_TYPE | Value transfer | Type reference (TYPE) | SYMSGTY | Message Type - defined by GCS_MESSAGE_TYPE | 20090902 |
Method GET_WORST_MESSAGE_TYPE on class /IWFND/IF_MESSAGE_CONTAINER has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in |