This article answers following queries:
- What is System log? How it will be useful?
- How to check system log in SAP?
- How to check all remote systems log in SAP?
---------------------------------------------------------------------
System Log:
In an SAP system, for every important action system log will get updated. So, in case of any issues with the system, basis administrators need to check the system log first to identify any errors or warnings.
Many times, we can resolve system issues by checking the system log and searching for relevant notes in the market place using keywords found in the system & applying them.
In case of issues like update failure, lock table overflow, spool overflow, operating system issues, network issues, table space full issues and other database issues system log will get updated with the error message and the relevant time stamp. By using this timestamp and error message, basis administrator can identify the cause for the issue and can fix the issue.
Based on the issue and the time stamp in system log, in many cases, you can find out relevant ABAP runtime dumps in ST22 (which provides much more detail about the issue) and the issue can be tackled accordingly.
How to check System Log?
System log can be checked using SM21 transaction code. Login to SAP system and goto SM21 which results in the similar screen as below:
As shown in the above screen, we can mention From date/time and To date/time and we can view system log based on problem classes.
As shown in the above screen there are 3 problem classes
- Problems Only
- Problems and warnings
- All message
Based on the requirement, any one of the above problem classes can be selected.
By default, User text box is left empty. It means it displays system log related to all the users. In case you would like to view system log of any specific user, you can mention the user id there.
After providing these input selections, to view the system log of the application server on which you have logged on, please click “Reread system log” pushbutton (which was highlighted in red). It displays similar screen as below:
As shown in the above screen, in the system log you can view following information:
- Time Stamp
- Type of work process
- System Number
- Client Number
- User id (who executed the transaction)
- Tcode executed
- Priority
- Text related to the issue
Based on al l the above details, basis administrator can figure out the issue. In most cases, if additional details are required related to dumps, they can check in ST22 transaction.
How to check All remote system logs?
Please note the above process of checking system log is for only one application server (i.e. dialog instance) in which we have logged in.
If your sap system is a distributed system comprising of many instances/application servers, it would be difficult to log in to every instance separately and checking system log. To overcome this, SAP has provided an option of checking all remote system logs (i.e. logs of all instances of an SAP system) in SM21. So, using this by logging into any instance of an SAP system, logs of all other remote instances can be checked. By default, this option is not enabled.
To view “All remote system logs”, navigate as shown in below figure in transaction code SM21
After choosing “All remote system logs” option as above, pls provide selection criteria and click on Reread system log pushbutton to view logs of all instances of an SAP system as shown below
Wonderful............
ReplyDeleteGood job done. keep it up..
ReplyDeleteThanks my friend
ReplyDeleteNice work mate! If u r in Melbourne let me know
DeleteCheers,
Jigneshjani21@hotmail.com
Excellent Posts , please keep up the good work.
ReplyDeleteRegards,
Vamsi
Thanks much Vamsi
DeleteBut in 'All rempote system logs' , how to identify which log is for which instane ?
ReplyDeletevery nice ...
Deletei think "it is very useful for me"
DeleteHi Manoj...In All remote system logs, we can identify which instance that log belongs based on "sap instance" column which is also part of that log.
ReplyDeleteFor example: In the last screenshot of this article, 2nd column indicates the sap instance for which the log belongs.
Keep up the good work..
ReplyDeleteSyed
Thanks dude. Certainly will keep it up
DeleteHi Durga,
ReplyDeleteThanks for showing system logs error.
can please explain what the actions should taken when system logs error come.
All also explain some real time error(System Logs)and solution for those errors
Hi Dude,
DeleteAction we take depends on the type of issue we encounter in system log.
For eg: If spool overflow error, we may need to run spool cleanup related work
If update deactivated, you may need to activate the update
If communication problems, you may need to check network for any connectivity issues
If license expired, you may need to apply new license etc
Hi Durga,
ReplyDeleteYou Rock, Just seeing your tutorials I've learnt a lot about Basis Administration.
Thanks & keep up the good work.
God Bless You :)
Thanks once again
Regards,
Soheb Patanwala.
Thanks for your sweet comments and blessings Soheb
DeleteHI
ReplyDeletecan u post some document on solution manger 7.1.
Regards,
liku
Certainly Biswa! Will post
DeleteThanks Masood
ReplyDeletecan you pls explain type of N(which is showing in result)
ReplyDeleteVery helpful, thanks a lot !!!
ReplyDeleteVery Helpful doc.Thanks a lot....
ReplyDeleteMany thanks for sharing this wonderful work. Keep the good work going!
ReplyDeleteplzzzzz start BasisLabs branch in Kolkata too..
ReplyDeleteM a die_hard fan of your work...got a lot to learn through these tutorials,..really very helpful..keep up the good work..plz start a branch of BasisLabs in kolkata too..:)
ReplyDeletevery helpful blog my friend especially like me as a beginner.....Cheers!!!
ReplyDeleteHi Durga Prasad,
ReplyDeleteReally appreciate your efforts. It is very helpful for all. :)
Yes Durga Prasad. Your posts are so very helpful.
ReplyDeleteWhat is the process of checking 8/10 months old system logs?
ReplyDeleteDoes SLOG** automatically gets backed up?
if so where can i find those old SLOG** logs?
Thank you in advance.
very good information
ReplyDelete