Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WSTI_DOC024 - All entries with date before &1 were deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTI_DOC - Messages from Function Group WSTI_DOC

  • Message number: 024

  • Message text: All entries with date before &1 were deleted

  • Show details Hide details
  • What causes this issue?

    All entries with a date before &V1& were deleted by the reorganization
    run. The following numbers of entries were deleted from the relevant
    tables:
    WSTI_POS_EVENT: &V2& entries
    WSTI_MKPF_INDEX: &V3& entries
    WSTI_ART_REL: &V4& entries

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSTI_DOC024 - All entries with date before &1 were deleted ?

    SAP Error Message:
    WSTI_DOC024: All entries with date before &1 were deleted


    Cause:

    This message typically appears in the context of SAP Workflow or Document Management System (DMS) when the system performs a cleanup or archiving process. The message indicates that all entries (such as workflow logs, change documents, or document versions) with a date earlier than the specified date (&1) have been deleted.

    This is usually triggered by a background job or a manual cleanup activity that removes old entries to optimize system performance and manage database size.


    Explanation:

    • WSTI_DOC024 is an informational message rather than an error.
    • The placeholder &1 is replaced by the cutoff date used for deletion.
    • The message confirms that the system has deleted all entries older than the specified date.
    • This can happen during:
      • Workflow log cleanup (SWU_OBUF or related jobs)
      • Document version or change log cleanup in DMS
      • Archiving or housekeeping jobs

    Solution / Action:

    • If this message is expected:
      No action is required. It is an informational message confirming that the cleanup was successful.

    • If you did not expect entries to be deleted:

      • Check the scheduling and parameters of cleanup or archiving jobs.
      • Verify the retention periods set for workflow logs or document versions.
      • Review system documentation or consult with your Basis/Workflow administrator to understand the cleanup policy.
      • If necessary, adjust the retention period or disable the cleanup job temporarily.
    • If you want to prevent deletion of certain entries:

      • Increase the retention period in the relevant customizing settings.
      • Backup data before cleanup if needed.

    Related Information:

    • Transaction Codes:

      • SWI1 - Workflow log display
      • SWU_OBUF - Workflow log deletion job
      • SARA - Archive administration (for archiving documents)
      • CV04N - Document display in DMS
    • SAP Notes / Documentation:

      • SAP Note related to workflow log cleanup and retention periods.
      • SAP Help on Workflow log management and archiving.
    • Tables:

      • SWWLOGH - Workflow log header
      • SWWLOGI - Workflow log items
      • Document management tables like DRAW, DRAD, etc.

    Summary:

    WSTI_DOC024 is an informational message indicating that entries older than a certain date have been deleted as part of a cleanup process. This is normal behavior to maintain system performance. Review your cleanup job settings if this deletion was unexpected.


    If you need help with specific cleanup job parameters or want to recover deleted entries (if possible), please provide more context about where and when this message appears.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant