Show TOC

Procedure documentationDownloading Trace Files Locate this document in the navigation structure

 

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

  1. Run the ABAP report RSMON000_DOWNLOAD_TRACES. You can also use the ABAP Editor (transaction SE38) or the Object Navigator (SE80).

  2. Select the trace files you want to download.

    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)

      Note Note

      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 (transaction SM50), and download it by choosing   Process   Trace   Save Local File  .

      End of the note.

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

    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.

  3. Determine the security type.

    You can make the following settings:

    • Compress Files

      If you select option Compress Files First, 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 Names

      Option Without Querying File Name 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 anything under Name of Local Directory the local standard directory is used (this depends on the operating system and the configuration).