How To Fix 0S073 - Note that the trace records for the trace file were overwritten


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 0S - Messages for the SQL trace

  • Message number: 073

  • Message text: Note that the trace records for the trace file were overwritten

  • Show details Hide details
  • What causes this issue?

    The trace file is continually described, that is, once the system
    reaches the end of the trace file, it begins to describe the file again
    from the start.
    Because of the size of the trace file (compared with profile parameter
    rstr/max_diskspace) and the number of trace records, the trace file is
    overwritten.

    System Response

    System processing continues after the message.

    How to fix this error?

    Either restrict the trace time so that no trace records are overwritten,
    or increase the size of the trace file.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 0S073 - Note that the trace records for the trace file were overwritten ?

    The SAP error message 0S073 indicates that the trace records for a specific trace file have been overwritten. This typically occurs when the trace file has reached its maximum size limit, and new trace entries are being written, causing older entries to be discarded.

    Cause:

    1. Trace File Size Limit: Each trace file has a predefined size limit. When this limit is reached, the system overwrites the oldest entries with new ones.
    2. High Volume of Trace Data: If the application or process being traced generates a large amount of data, it can quickly fill up the trace file.
    3. Configuration Settings: The settings for trace file management may not be optimized for the volume of data being generated.

    Solution:

    1. Increase Trace File Size: You can increase the maximum size of the trace files. This can be done by adjusting the configuration settings in the SAP system.

      • Use transaction code RZ10 to change the profile parameters related to tracing.
      • Look for parameters like rdisp/trace_file_size and increase the value.
    2. Regularly Monitor and Archive Trace Files: Implement a regular monitoring and archiving process for trace files to prevent them from reaching their maximum size.

      • Set up a job to periodically archive or delete old trace files.
    3. Adjust Trace Level: If the trace level is set too high, consider lowering it to reduce the amount of data being logged.

      • Use transaction code ST01 or ST05 to adjust the trace settings.
    4. Analyze Trace Data: If you are consistently running into this issue, analyze the trace data to determine if there are specific areas of the application that are generating excessive logs. This may help in optimizing the application or process.

    Related Information:

    • Transaction Codes:

      • RZ10: Profile parameter maintenance.
      • ST01: System Trace.
      • ST05: SQL Trace.
    • SAP Notes: Check for any relevant SAP Notes that may provide additional guidance or updates related to trace file management and error handling.

    • Documentation: Refer to the SAP Help Portal for detailed documentation on tracing and performance analysis.

    By following these steps, you should be able to manage the trace files more effectively and prevent the overwriting of important trace records.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker