Show TOC

Procedure documentationDisplaying Trace Files Locate this document in the navigation structure

Procedure

You can display developer traces from within the SAP System and from the operating system level.

Trace Display in the SAP System

Choose transaction ST11. Here, you see all the trace files in the work directory. Double-click on a file to display there. If you want to save the file locally, choose   System   List   Save   Local file  .

The following trace types have their own transactions.

Component

Transaction

More information

Work process

SM50

Displaying and Controlling Work Processes

Gateway

SMGW

Using SAP Gateway Monitor in SAP System

Message server

SMMS

Message Server Monitor

ICM

SMICM

ICM Monitor

SAP Web Dispatcher

You can now use the Web Administration Interface.

SAP Web Dispatcher

You can also download the trace files onto your local computer. This can be done in the ABAP report RSMON000_DOWNLOAD_TRACES.

More information: Downloading Trace Files.

Trace Display at Operating System Level

You need to access the work directory work of the SAP application server whose traces you wish to see. This directory is always local, located on the host on which an SAP application server is running.

  1. Log on to the application server on which the application server is running.

  2. Change to the work directory of the SAP application server.

    Typical menu path (UNIX; other systems analogous): /usr/sap/<SYSTEM-ID>/<INSTANZ>/work, for Example /usr/sap/CLP/D01/work

  3. Display the list of files in the directory. (The names of the files are listed below.) Use an operating system command like more to display the files.

Recommendation Recommendation

Always display trace files from within the SAP System if you can. The files are presented in the SAP System in an easier-to-read format than they are at the operating system level.

End of the recommendation.

You can also display the startup and instance profiles used by an SAP application server as well as developer traces. Server start-ups are recorded in the sapstart<n>.trc files.

Other Files

Should one of the work processes of an application server terminate abnormally with core dump, you will also find the core files in the work directory.

Note Note

The names of the core files can be configured. On UNIX platforms, they are usually called core or core_<pid>, where <pid> is the process ID. Under Microsoft Windows, this behavior is different for core dumps. For more information, see SAP Notes 33772 (Windows versions older than Windows 2008) and 1399014 (Windows 2008).

End of the note.

You can also find profile and start traces in this directory.

More Information

You can also use the following SAP administration tools to display traces: