SAP application log is a great method to display/save messages that occur when executing a SAP application. For custom applications, you can create your own application log object, which will enable user to see the log of the specific application in the future easily filtering using the object. Purpose of application log object is to logical segregation of messages.
With application log you can either save the messages in the system or show the messages as a popup to the user.
There are few important transactions when it comes to application log.
-
Create application log object – SLG0
-
Display application log – SLG1
Step 3:
Add the messages to the application log at run time of the program.
Step 4:
Show messages as a popup or save for later reference.
Top Include:
if you run the program in the background you can check the log using SLG1. To view the log specify the log object. You can also specify other parameters such as date, time of execution, user name, program name if you need to check the past logs or narrow down the selection.
If the program is run on foreground the application log will be shown as a popup below.
Nice article!
Thanks a lot
Thank you Bruno.
Very Clear
Thank u