Thursday, 29 August 2024

#SAP Basis Administrator - Trace Functions / Analysis in SM50

 Selected menu entries and functions of the process overview, and available system-wide process overview functions are described below:

Note

To use these functions, you first need to select at least one work process.

  • Write stack:

Administration  Work Process  Write Stack

To find out the current status of a process, you can write the ABAP and C stacks. The ABAP stack is written only if the process is currently running an ABAP program and can identify the ABAP stack.

  • Display trace file:

Administration  Trace  Display File  Current/Previous 

All components that were selected under Active Components are displayed in the trace file.

  • Download trace file:

Administration  Trace  Save as Local File

With this function, you can download one or more trace files to your local PC.

See saving trace files locally

  • Reset trace file:

Administration  Trace  Reset  All Files/Work Process Files

You can reset all trace files or just trace files for individual work processes. All Files means all dev*files on this server. As well as work process traces, traces from the gateway, dispatcher, ICM, RFC, and so on, are also reset. Caution: After the trace files have been reset, the information contained in them is lost and cannot be retrieved.

  • Create snapshot:

Administration  Snapshot  Create.

Here you can create a snapshot to use for error analysis, which is then managed in the $(DIR_GLOBAL)/sapcontrol/snapshots directory of the system.

  • Manage snapshot and saving locally:

Administration  Snapshot  Administration.

Here you can jump to transaction SNAPSHOTS. Here you can manage snapshots and save them to your local PC.

  • Manage dispatcher trace file:

Administration  Trace  Dispatcher  Change Trace Level / Display File / Save as Local File / Reset File

Here you can change the trace level of the dispatcher trace file, display the trace file, save the file locally, and reset the trace file.