How To Fix 56823 - Deleting only possible in status 'rejected' or 'no documents created'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 56 - HR TRAVEL: Messages for Trip Costs Dialog

  • Message number: 823

  • Message text: Deleting only possible in status 'rejected' or 'no documents created'

  • Show details Hide details
  • What causes this issue?

    You tried to delete a posting run that has already been posted or not
    yet been rejected.

    System Response

    The system always has to reject deletion of posted posting runs to
    ensure correct accounting.
    Other posting runs must be in 'Rejected' status before they can be
    deleted, because the trips must be reset to 'Accounted' before
    deletion. This is exactly what happens when a posting run is rejected.
    An exception is 'No documents created'. In this case deletion can be
    performed directly since the status of the trips was not changed.

    How to fix this error?

    Reject posting runs that have not yet been posted before you try to
    delete them.

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 56823 - Deleting only possible in status 'rejected' or 'no documents created' ?

    The SAP error message 56823 indicates that a deletion operation is only permissible when the document is in a specific status, namely 'rejected' or 'no documents created'. This error typically arises in the context of document management or workflow processes within SAP, where certain statuses dictate the actions that can be performed on documents.

    Cause:

    1. Document Status: The document you are trying to delete is not in the 'rejected' or 'no documents created' status. It may be in a status that allows for other actions (like approval or processing) but not deletion.
    2. Workflow Process: The document may be part of an ongoing workflow or approval process, which restricts deletion until it reaches a certain status.
    3. Data Integrity: SAP enforces these rules to maintain data integrity and prevent accidental deletions of important documents.

    Solution:

    1. Check Document Status: Verify the current status of the document you are trying to delete. You can do this by navigating to the document in question and checking its status in the relevant transaction or report.
    2. Change Document Status: If the document is not in the correct status, you may need to take appropriate actions to change its status to 'rejected' or ensure that no documents are created. This could involve:
      • Rejecting the document if it is in a review or approval state.
      • Canceling or voiding the document if applicable.
    3. Consult Workflow: If the document is part of a workflow, consult with your workflow administrator or check the workflow logs to understand why the document cannot be deleted and what steps are needed to change its status.
    4. Authorization: Ensure that you have the necessary authorizations to perform the deletion. Sometimes, user roles and permissions can restrict certain actions.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes that can help you check document statuses or manage workflows, such as:
      • SWI1: Work Item Selection
      • SWI2_FREQ: Work Items by Frequency
      • SWI2_DURA: Work Items by Duration
    • SAP Notes: Check SAP Notes for any known issues or additional guidance related to this error message.
    • Documentation: Review SAP documentation or help files related to document management and workflow processes for more context on status management.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a technical consultant who can provide further assistance based on your specific SAP environment and configuration.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author