## 4.2.15.9.2.3.12  IF\_BALI\_ITEM\_GETTER
If an item like a message or exception is read from an application log, its object instance contains the interface IF\_BALI\_ITEM\_GETTER . So, interface IF\_BALI\_ITEM\_GETTER contains all attributes and methods which are available for all items which are read from the log.
## Public Attributes
| Name                   | Description                                                                                                                                                                                                                     |
|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CATEGORY               | Category of the item Possible values: • IF_BALI_CONSTANTS=>C_CATEGORY_MESSAGE: Item is a message • IF_BALI_CONSTANTS=>C_CATEGORY_FREE_TEXT: Item is a free text • IF_BALI_CONSTANTS=>C_CATEGORY_EXCEPTION: Item is an exception |
| LOG_ITEM_NUMBER        | Serial number which is the position of the item in the log                                                                                                                                                                      |
| SEVERITY               | Severity of the item ('Error', 'Warning', etc)                                                                                                                                                                                  |
| DETAIL_LEVEL           | Detail level of the item (number between '1' and '9' or ' ')                                                                                                                                                                    |
| TIMESTAMP              | UTC time stamp of the item creation                                                                                                                                                                                             |
| CONTEXT_STRUCTURE_NAME | Data dictionary name of the context structure                                                                                                                                                                                   |
## Public Methods
Get the message text of the item. It is:
- The output of ABAP command MESSAGE for a message item
- The text of a free text item
- The output of method GET\_TEXT of the ABAP exception object for an exception item
GET\_MESSAGE\_TEXT
| Name                              | Description                                   |
|-----------------------------------|-----------------------------------------------|
| Returning parameter               |                                               |
| MESSAGE_TEXT                      | ext of the item message in the logon language |
| Get the context data of the item: |                                               |
| Name                              | Description                                   |
| Exporting parameter               |                                               |
| CONTEXT                           | Structure that is filled with context data    |