Entering content frame

Procedure documentation Displaying Trace Files Locate the document in its SAP Library structure

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

Within 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 a 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 Processessapurl_link_0004_0003_0007

Gateway

SMGW

Using SAP Gateway in SAP Systemsapurl_link_0006_0002_0005

Message server

SMMS

Message Server Monitorsapurl_link_0001_0002_0007

ICM

SMICM

Structure linkMonitoring the ICM with the ICM Monitorsapurl_link_0007_0005_0008

SAP Web Dispatcher

-

Structure linkSAP Web Dispatchersapurl_link_0007_0006_0008

You can also download the trace files onto your local computer. To do this use the ABAP report RSMON000_DOWNLOAD_TRACES. For more information see Downloading Trace Files.

From the operating system:

...

       1.      You need to access the work directory 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. You’ll therefore need to log on to the host system of the SAP application server.

       2.      Change to the workdirectory of the SAP application server. 

Typical menu path (UNIX; other systems similar):  /usr/sap/<SYSTEM ID>/<INSTANCE>/work

or /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

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.

Note

Core files, profiles, and start traces: 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.

Further, you can display the start-up and instance profiles used by an SAP application server along with the developer traces. Server start-ups are recorded in the sapstart<n>.trcfiles. 

 

 

Leaving content frame