‎2008 Jun 24 11:31 AM
Hi,
What is the specific use of following tcodes.
1. SLG1(Application Log)?
2.SM21(System Log).
Thanks in advance.
‎2008 Jun 24 11:52 AM
Hi Hosmath,
SLG1 is the Business Application Log (BAL) where applications can log error messages or status messages. You can use it for your own applications by using BAL* function modules. It is a very usefull thing. I use it at some points of my web applications for writing error messages in background which didn't concern the user directly.
Look at the following weblog for more details:
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5507] [original link is broken] [original link is broken] [original link is broken];
SM21 shows errors logs which are thrown by the system itself (e.g. A report gets a timeout.).
Regards
Mark-Andru00E9
‎2008 Jun 24 11:46 AM
Hi,
you can find information for
1. [Application Logging|http://help.sap.com/saphelp_nw70/helpdata/EN/c7/69bcc9f36611d3a6510000e835363f/frameset.htm]
2. [System log|http://help.sap.com/saphelp_nw70/helpdata/EN/1f/8311784bc511d189750000e8322d00/frameset.htm]
Regards Rudi
‎2008 Jun 24 11:51 AM
‎2008 Jun 24 11:52 AM
Hi Hosmath,
SLG1 is the Business Application Log (BAL) where applications can log error messages or status messages. You can use it for your own applications by using BAL* function modules. It is a very usefull thing. I use it at some points of my web applications for writing error messages in background which didn't concern the user directly.
Look at the following weblog for more details:
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5507] [original link is broken] [original link is broken] [original link is broken];
SM21 shows errors logs which are thrown by the system itself (e.g. A report gets a timeout.).
Regards
Mark-Andru00E9
‎2008 Jun 24 11:59 AM
\[removed by moderator as it was just a copy and paste answer of someone else's work without giving a source\]
Edited by: Jan Stallkamp on Jun 24, 2008 1:10 PM
‎2008 Jun 24 12:06 PM
Hi Hosmath,
SAP Application Log, transaction SLG1, is the most common way to store messages. Log entries are created and stored using a set of functions. Logs are grouped by log objects and subobjects. For example, you have log group for object PPORDER (production order) and you can further classify logs with production order subobjects HEADER and OPERATION. Those are selections that you use on the initial screen of SLG1, along with others like: free text name / ID, date/time, user name and transaction code.
SM21 View the system log, very useful when you get a short
dump. Provides much more info than short dump
Thanks,
Keerthi.
‎2008 Sep 16 10:31 AM
Hi Hosmath,
SAP Application Log, transaction SLG1, is the most common way to store messages. Log entries are created and stored using a set of functions. Logs are grouped by log objects and subobjects. For example, you have log group for object PPORDER (production order) and you can further classify logs with production order subobjects HEADER and OPERATION. Those are selections that you use on the initial screen of SLG1, along with others like: free text name / ID, date/time, user name and transaction code.
SM21 View the system log, very useful when you get a short
dump. Provides much more info than short dump
Thanks,
samba