Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Laszlo_Thoma
Product and Topic Expert
Product and Topic Expert
5,953

banner.png

last updated: 2024-02-24

Introduction
The article explains the SAP GUI – TCODE (Transaction Code): SM21 usage in details.

SAP GUI

Description
Transaction Code SM21 is the system log.

Video explanation by SAP Learning Hub
SAP sys logs SM21

Menu
SM21 - Tools -> Administration -> Monitor -> System Log

Screen: Display the system log
Initial screen where the required filters can be selected based on the actual need.
Basic attributes

  • Date – filter the desired date condition
  • Time – filter the desired time condition
  • User – specific user name or user name with * character (e.g. USER001 or USER*)
  • Client – filter the desired client
  • etc.

Extended attributes

  • Extended Instance Name - filter the desired instance
  • Transaction Code - filter the desired trans. code
  • Process No. - filter the desired work process
  • etc.

Screen: Syslog messages
List of the result based on the filtered criteria.

Open the item with double click on the requested row.

Screen: Syslog log details view
Further information.

Note: with "Trace" button we can go directly to the specific development trace file. Same screen than ST11.

Screen: Trace Data
The trace file which belongs to the syslog message.

Based on ‘Date’ and ‘Time’ information the error can be identified.

To export the content use menu: System -> List -> Save -> Save or Local File.

Remark: In most cases, the development trace contains all the information needed to address the issue. No further steps are required. In some cases, a deeper analysis is required and additional steps may be required; for example, when the development trace shows a database-related error message, it may be useful to check the problem from the database perspective.

✍️ Where can I find knowledge and information belongs to SAP HANA? ➡️ Full System Info Dump (FSID)

Which SAP Knowledge Base Article belongs to the topic?

  • 712706 - Program RSLGVIEW - reading the SAP system log without system
  • 2194685 - How to find work process trace for SM21 System Log or ST22 dump
  • 2399990 - How-To: Analyzing ABAP Short Dumps in SAP HANA Environments
Other articles in this series
🔖 
3428763 - Bookmark of frequently used SAP GUI transaction codes for SAP HANA related investigations

Do you have further questions?
Please do not hesitate to contact me if you have question or observation regarding the article.
SAP Community for SAP GUI: https://community.sap.com/topics/gui

Contribution
If you find any missing information belongs to the topic, please let me know. I am happy to add the new content. My intention is to maintain the content continuously to keep the info up-to-date.

Release Information

Release DateDescription
2023.07.10First/initial Release of the SAP Blog Post documentation (Product Information).
2024.01.26SAP Community 2024 optimized content.
2024.02.06Other articles in this series section maintained.
2024.02.24Insert SAP Learning Hub video. - SAP sys logs SM21