Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tcodes

Former Member
0 Likes
632

Hi,

What is the specific use of following tcodes.

1. SLG1(Application Log)?

2.SM21(System Log).

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

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

6 REPLIES 6
Read only

Former Member
0 Likes
610

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

Read only

Former Member
0 Likes
611

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

Read only

Former Member
0 Likes
610

\[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

Read only

Former Member
0 Likes
610

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.

Read only

Former Member
0 Likes
610

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