SAP Appl LOG Creation
SAP Appl LOG Creation
transaction
Application LOG
When we need to display all messages together then this set of messages is a log. Logs usually also contain
general header information (log type, creator, creation time, etc.). Several logs can be created in a transaction.
The Application Log provides a comprehensive infrastructure for collecting messages, saving them in the
database and displaying them as logs. It has also traffic icons for the messages based on the message type.
Important Transactions
The important transactions codes used for application log are as following:
When we want to save the List/Log for the long time: Generally, we have the spool retention period
of 8 days. So, the list or log will be deleted automatically.
When we want more information compared to Log generated with WRITE: Application Log has
more information like User, date of creation, Severity of the message.
In ALE / EDI Processing: When we do the cross client processing (IDoc Processing), we can
generate the Application log to keep track of the generated errors or the messages.
2) 2) The program where you want to create the LOG call the FMs:
BAL_LOG_CREATE
BAL_LOG_MSG_ADD
BAL_DB_SAVE
3) 3) For viewing the logs go to SLG1 transaction and give the object name, sub object name (if any) and
other related information like the Username and date etc.
4) Then click on Execute. You will be able to see the logs. Double click on any one of them to see the detailed
error message.
4) One can even view the logs through the program itself by using the FM BAL_DSP_LOG_DISPLAY.