Ansicht
Dokumentation
BAL_TP_RELOAD -
RFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during BackupThis documentation is copyright by SAP AG.
Read log messages as required
=======================================================================
The parameter I_DO_NOT_LOAD_MESSAGES = "X" tells the function module BAL_DB_LOAD to read only the log headers into memory.
The messages in a log are only read into memory at certain events:
- read access to the messages (e.g. to display the log, or by the function module BAL_LOG_MSG_READ)
- change access to the log (e.g. when changing the header data with function module BAL_LOG_HDER_CHANGE, or when adding messages with BAL_LOG_MSG_ADD)
- when the function module BAL_DB_RELOAD is called for this log.
when the messages in a log are all reloaded once. Messages are not reloaded individually, so either only the header, or all of a log is in memory.
I_DO_NOT_LOAD_MESSAGES = "X" has no effect if you have defined statistics with the function module BAL_STATISTICS_GLB_SET
or BAL_STATISTICS_LOG_SET (Application Log statistics tell you how many errors, warnings, etc. there were at a particular time for a specified criterion, e.g. "3 errors for material ABC").
These statistics are based on message data, so the messages must always be read.
I_DO_NOT_LOAD_MESSAGES = "X" is useful if you want to see the log header data first.
It can also be used to display logs:
if the display profile only uses log header data in the tree, you only need to read the log headers into memory. When a log is selected in the tree, the log messages are read for display.
The function module BAL_DSP_LOG_DISPLAY does not automatically know whether the tree only contains log header data, because it can also contain context information, which can be in a message or the header, so the display profile I_S_DISPLAY_PROFILE (structure BAL_S_PROF) must explicitly state that the tree contains no message data, with I_S_DISPLAY_PROFILE-TREE_NOMSG = X.
- Note
I_DO_NOT_LOAD_MESSAGES ,,,,= X
and the display profile option
I_S_DISPLAY_PROFILE-TREE_NOMSG ,,= X
are only meaningful when
I_S_DISPLAY_PROFILE-SHOW_ALL ,,=
in the display profile, otherwise the messages are displayed immediately.
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 2576 Date: 20240520 Time: 181325 sap01-206 ( 41 ms )