Write Application Log


Application Log can be written using couple of function modules. Below is a code snippet with collection of all the function modules to write the application log. Just pass the Object and Sub-object along with the log message and call the below code, application log would be written.


Object and Sub-object is to be created using T-code SLG0 and the application log written can be view using T-code SLG1.

Please note: There are also other FMs like ‘BAL_LOG_MSG_ADD‘, ‘BAL_DB_SAVE‘ etc to write application log. SAP supports all the FMs mentioned in this post.

The custom function module snippet written above is just for easy reference for the developers.

If you want to get such practical issues and resolutions straight to your inbox, please SUBSCRIBE. We respect your privacy and take protecting it seriously.

If you liked this post, please hit the share button at the left side of your screen.

Thank you very much for your time!!


Image source : global.rakuten.com


Please enter your comment!
Please enter your name here