Ansicht
Dokumentation
BAL_DSP_LOG_TEXTFORM - Display application log as text
BAL Application Log Documentation General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
You can use this function module to display application logs as a text (using the ABAP list processor) or write them to a spool request (print mode).
You can specify one or more logs using the parameters I_LOG_HANDLE and/or IT_LOG_HANDLE.
All the logs are displayed and for each log the header data is shown first, followed by the message table.
If text was produced before the function module was called, using the ABAP list processor, the function module uses the page width set here. Any lines that are longer are truncated on the right. In other cases, the function module defines the page width as follows:
- If one log is displayed, the page width matches the log width.
- If more than one log is displayed, the maximum page width is set.
In print mode, a new spool request is always created and the page width is always defined using the rules above. After the log is displayed, the spool request is closed. In this way, it only contains the logs specified.
If you need to call the function module more than once to write multiple logs to a spool request, open the spool request outside the function module and do not call it in print mode.
Example
Notes
Further information
Parameters
E_SPOOL_NUMBERIF_LOAD
IF_LT
IF_PRINT
IS_PRINT_PARAMETERS
IT_LOG_HANDLE
I_LOG_HANDLE
LS_MESSAGE_FILTER
Exceptions
LOG_NOT_FOUNDPRINT_ERROR
Function Group
SBAL_DISPLAYGeneral Data in Customer Master RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 2101 Date: 20240523 Time: 104812 sap01-206 ( 35 ms )