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:
|
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:
GET_CONTEXT
Name |
Description |
---|---|
Exporting parameter |
|
CONTEXT |
Structure that is filled with context data |