Link Search Menu Expand Document

ZCL_EUI_LOGGER Class

Small wrapper on BAL log

image

The purpose of the class is clear from the name\

Capabilities:

  • IS_HEADER - Log lifetime, object - subobject and other tech. customization

image

  • IV_MSG_TYPES - What messages to add to the log. By default all kinds of messages

image

  • Adding messages

image

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

image

  • ADD_BATCH accepts any table with logs
    The table type is determined by sequential searches for the following fields

image

  • Basic methods for working with logs

image

  • SHOW( ) uses ‘BAL_DSP_PROFILE_SINGLE_LOG_GET’ FM to get a profile image

2nd parameter is needed to “refine” the profile

image

  • 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