Application Logging Example Programs [SAP]
SAP ECC 6.0 [SAP_BASIS 700]
Application logging is one of the best ABAP tools I like too much. To learn the application logging programming and the function modules check this package / development class:
SZAL - R/3 Central Basis Development: Application Log
Check the programs starts with SBAL_*
These programs use the function modules which were released since SAP 4.6. All these new function module starts BAL*.
Old function modules start with APPL*. They are still active function modules and can be used, but it is better to use BAL* ones.
Especially if you have a program needs to be run in background, you have to use application logging. So you can collect all message in application logging, then the person is responsible to run the program can use SLG1 transaction to monitor the results.
Not only for background programs but also dialog programs, the application logging is a very good tool to show all messages.
The application logging not only shows the messages - as MESSAGE statements does - but also you can add and display extra information to users. Check the example program SBAL_DEMO_02
Enjoy… I like to use it, use it!
Tags: application, example, logging, program, SLG1