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

Close

How To Fix W_CB314 - Archiving not allowed because not all settlement documents are archived


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W_CB -

  • Message number: 314

  • Message text: Archiving not allowed because not all settlement documents are archived

  • 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 W_CB314 - Archiving not allowed because not all settlement documents are archived ?

    SAP Error Message:
    W_CB314Archiving not allowed because not all settlement documents are archived


    Cause:

    This warning message occurs during the archiving process of controlling documents (e.g., cost center documents, internal orders, etc.) when the system detects that not all related settlement documents have been archived yet. In SAP Controlling (CO), settlement documents are linked to the original controlling documents. To maintain data consistency and integrity, SAP requires that all settlement documents related to the controlling documents must be archived before the controlling documents themselves can be archived.

    In other words, the system prevents archiving of controlling documents if there are still settlement documents in the database that have not been archived, because the controlling documents and their settlement documents are logically connected.


    Explanation:

    • Controlling documents (e.g., internal order documents) often have settlement documents that represent the transfer of costs to other cost objects.
    • Archiving controlling documents without archiving their settlement documents would lead to incomplete data and inconsistencies.
    • SAP enforces the archiving sequence: Settlement documents must be archived first, then the controlling documents.

    Solution:

    1. Check for unarchived settlement documents:

      • Use transaction KOB1 (Order Line Items) or S_ALR_87012993 to identify settlement documents related to the controlling documents you want to archive.
      • Alternatively, use the archiving information system or reports to find settlement documents that are not yet archived.
    2. Archive settlement documents first:

      • Use the appropriate archiving object for settlement documents, typically CO_SOBJ or CO_ORD (depending on your SAP version and configuration).
      • Run the archiving process for settlement documents before archiving the controlling documents.
    3. After settlement documents are archived:

      • Proceed with archiving the controlling documents.
      • The warning message W_CB314 should no longer appear.
    4. Verify archiving sequence:

      • Ensure that your archiving jobs follow the correct sequence:
        • Settlement documents ? Controlling documents.

    Related Information:

    • Archiving Objects:
      • CO_ORD – Archiving of internal order documents and related settlement documents.
      • CO_SOBJ – Archiving of settlement documents.
    • SAP Notes:
      • Check SAP Notes related to archiving controlling documents and settlement documents for your specific SAP version.
    • Transaction Codes:
      • SARA – Archive Administration (to manage archiving objects and runs).
      • KOB1 – Display order line items.
      • S_ALR_87012993 – Settlement documents report.
    • Best Practice:
      • Always archive settlement documents before archiving controlling documents.
      • Regularly monitor and clean up settlement documents to avoid archiving blocks.

    Summary:

    • Cause: Not all settlement documents related to controlling documents are archived.
    • Solution: Archive all settlement documents first, then archive the controlling documents.
    • Result: Ensures data consistency and allows archiving to proceed without warnings.

    If you need further assistance, please provide details about the archiving object and SAP system version.

    • 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
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