Downloading Trace Files

Use

If you want to save trace files locally as text files, you can download them using the ABAP report RSMON000_DOWNLOAD_TRACES.

This is especially useful when handling large trace files and quicker than saving them locally from the system.

You can also download several trace files at a time, and also compress them.

Procedure

To do this use the ABAP report RSMON000_DOWNLOAD_TRACES. You can also use the ABAP Editor (transaction SE38) or the Object Navigator (SE80).

You have the following options:

Select Trace Files

You can download trace files from the following components:

·        Dispatcher (dev_disp)

·        Work processes (dev_w*)

·        Message server (dev_ms)

·        Gateway (dev_rd)

·        Internet Communication Manager (dev_icm)

With the work processes you can specify the work process types which you want to download the trace files for.

·        Dialog (DIA)

·        Update (UPD)

·        Enqueue (ENQ)     

·        Background (BTC)

·        V2 Update (UP2)

·        Spool (SPO)

All the trace files belonging to the work processes of the type that you selected are downloaded. So for example, if 10 dialog work processes are configured, but you only want one of the trace files, you can display the trace file in the Process Overview (SM50), and download it by choosing List ® Save ® Local File.

Save Old Trace Files Too

Each time the system is restarted, and before new trace files are written, the old trace files are saved and the extension “.old” added to their names.

You can decide whether you want to also download these old trace files.

Type of Save

You can make the following settings:

·        Compress Files If you select this option, the trace files are compressed before they are saved on your local computer. Then they are saved in a SAR file, which you can unpack again with SAPCAR.

·        Save Without Querying File NamesThis option stops the system from asking you if you want to save the file under this name. Any files with the same name that may exist are overwritten.

·        Local Directory Here you chose the directory the file(s) is to be stored in. If you do not specify a directory, the local standard directory is used (this depends on the operating system and the configuration).