ZCL_EUI_LOGGER Class
Small wrapper on BAL log
The purpose of the class is clear from the name\
Capabilities:
- IS_HEADER - Log lifetime, object - subobject and other tech. customization
- IV_MSG_TYPES - What messages to add to the log. By default all kinds of messages
- Adding messages
Accordingly, wrappers for standard FMs 1) CALL FUNCTION ‘BAL_LOG_MSG_ADD’ 1) CALL FUNCTION ‘BAL_LOG_MSG_ADD_FREE_TEXT’ 1) CALL FUNCTION ‘BAL_LOG_EXCEPTION_ADD’
with passing standard parameters
- ADD_BATCH accepts any table with logs
The table type is determined by sequential searches for the following fields
- Basic methods for working with logs
- SHOW( ) uses ‘BAL_DSP_PROFILE_SINGLE_LOG_GET’ FM to get a profile
2nd parameter is needed to “refine” the profile
SHOW_AS_BUTTON( ) shows the GOS button, which itself can show the log window in POPUP mode
It is possible to show unique log entries and ignore certain messages