cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the Priority in SAP system trace (TCODE SM21)

0 Kudos

Hello,

There are some changes need to do in SAP system trace log. There is the "priority" we have for each log traced but for some log there is some high priority log. We can get the system trace using TCODE - SM21 using SAP GUI.

- Is there any way we can change the "Priority" level assigned. Kindly Suggest how can we change or some other way to eliminate for a specific trace.

- Can we change the Syslog entry in a type with a green symbol (at the moment sap standard type is marked with a red symbol), but this is only cosmetic?

We use the function module DEST_DELETE to delete the destination. I gave my best to resolve this issue. I debugged the delete destination function module ( DEST_DELETE) from the below code SAP the delete method adds the syslog entry.

* create syslog-entry

CONCATENATE sy-uname '&' name INTO l_syslog.

CALL 'C_WRITE_SYSLOG_ENTRY'

ID 'TYP' FIELD space

ID 'KEY' FIELD 'Q0W'

ID 'DATA' FIELD l_syslog.

I can understand that this will cause the some issues if there SAP system is monitored by some Monitoring tools.

I checked the delete destination using T Code SM59. If we delete the destination using SM59 the syslog entry for delete destination also logged. The behavior is the same in SAP 70 and 750.

sap-Hana-sm21-trace.png

0 Kudos

Hello Sachin,

You tagged your question under 'SAP Global Track & Trace'. This tag relates an SAP solution of tracking and tracing materials / products in supply chain. So, I think you need to edit the tag to either 'ABAP' or 'Basis'.

Accepted Solutions (0)

Answers (0)