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

Close

How To Fix WSTI_DOC022 - &1 entries with transaction date before &2 deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTI_DOC - Messages from Function Group WSTI_DOC

  • Message number: 022

  • Message text: &1 entries with transaction date before &2 deleted

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSTI_DOC022 - &1 entries with transaction date before &2 deleted ?

    Certainly! Here's a detailed explanation for the SAP error message WSTI_DOC022:


    SAP Error Message: WSTI_DOC022

    Message Text:
    &1 entries with transaction date before &2 deleted


    Cause

    This message typically appears in the context of SAP Workflow or Document Processing where entries (such as workflow tasks, documents, or related data) are being deleted because their transaction date is earlier than a specified cutoff date.

    • The system has identified entries with a transaction date before a certain date (&2).
    • These entries (&1 indicates the number of entries) are considered outdated or obsolete.
    • As a result, the system deletes these entries to maintain data consistency or to clean up old data.

    This message is informational and usually appears during batch jobs, cleanup programs, or when archiving/deleting old workflow or document data.


    When does it occur?

    • During workflow cleanup or workflow log deletion.
    • When running programs or reports that delete old workflow tasks or documents.
    • During archiving or data retention management processes.
    • When a user or admin triggers deletion of old entries based on transaction date.

    Solution / Recommended Actions

    1. Verify the Date Parameter:

      • Check the date (&2) used as the cutoff for deletion.
      • Ensure that this date is set correctly and aligns with your data retention policies.
    2. Check the Number of Entries Deleted (&1):

      • Confirm that the number of entries deleted is expected.
      • If unexpectedly large, investigate why so many entries are being deleted.
    3. Review the Deletion Program or Job:

      • Identify which program or job triggered the deletion.
      • Examples include workflow cleanup jobs like SWU_OBUF or custom deletion programs.
    4. Backup Data if Necessary:

      • If the deleted data is critical, ensure backups or archives exist before deletion.
    5. Adjust Retention Periods:

      • If you want to retain data longer, adjust the retention periods or cutoff dates in the relevant configuration.
    6. Monitor Logs:

      • Check system logs or workflow logs for additional information about the deletion process.

    Related Information

    • Transaction Codes:

      • SWI1 - Workflow log display
      • SWU_OBUF - Workflow buffer cleanup
      • SARA - Archive administration (for archiving workflow or document data)
    • Programs:

      • Workflow cleanup programs that delete old workflow tasks or logs.
      • Custom deletion or archiving programs that remove old entries based on transaction date.
    • SAP Notes:

      • Check SAP Notes related to workflow cleanup or document deletion for any known issues or updates.
    • Data Retention Policies:

      • Align deletion dates with your organization's data retention and compliance policies.

    Summary

    • WSTI_DOC022 is an informational message indicating that a certain number of entries with transaction dates before a specified date have been deleted.
    • It usually occurs during cleanup or archiving processes.
    • Verify the cutoff date and the number of deleted entries.
    • Ensure deletion aligns with your data retention policies.
    • Monitor and review related logs and jobs for proper system operation.

    If you need help identifying the exact program or job causing this message or want to prevent unwanted deletions, please provide more context such as the transaction or program name where 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