How To Fix GX313 - There are open periods for company code & in the archiving period


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GX - Archiving/Reorganization

  • Message number: 313

  • Message text: There are open periods for company code & in the archiving period

  • Show details Hide details
  • What causes this issue?

    The program checks the company codes concerned for open posting periods
    in the period to be archived.
    At least one company code (&V1&) was found for account type (or
    "Masking") &V2& with existing open periods.
    Account types are based on the following legend:

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

    | Value | Description
    | ---------- | -------------------------------------
    | + | Valid for all account types
    | A | Assets
    | C | CO-PA: Profitability analysis
    | D | Accounts receivable
    | G | Special Purpose Ledger
    | K | Accounts payable
    | M | Materials
    | S | G/L Accounts

    System Response

    Archiving does not take place.

    How to fix this error?

    Close the relevant posting periods and/or check your entries.

    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 GX313 - There are open periods for company code & in the archiving period ?

    The SAP error message GX313 indicates that there are open periods for a specific company code in the archiving period. This typically occurs when you attempt to archive data for a company code that has open accounting periods, which is not allowed in SAP.

    Cause:

    1. Open Accounting Periods: The primary cause of this error is that there are still open periods in the specified company code. SAP requires that all periods be closed before archiving can take place.
    2. Archiving Configuration: The archiving configuration may not be set correctly, or the periods may not have been closed properly in the system.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Open Periods:

      • Go to the transaction code OB52 (Maintain Table T001) to check the open periods for the company code in question.
      • Review the periods that are open and determine if they need to be closed.
    2. Close Open Periods:

      • If it is appropriate to close the open periods, you can do so in the same transaction (OB52). Make sure to follow your organization's policies regarding period closing.
      • Ensure that all necessary postings are completed before closing the periods.
    3. Re-attempt Archiving:

      • Once the open periods have been closed, you can re-attempt the archiving process.
    4. Consult Documentation:

      • Review the SAP documentation or consult with your SAP Basis or Finance team for any specific configurations or policies related to archiving in your organization.

    Related Information:

    • Archiving Process: Understand the archiving process in SAP, which involves moving data from the database to an archive to improve system performance.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:
      • SARA: Archive Administration
      • SARI: Archive Information System
    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or solutions related to this error message.

    By following these steps, you should be able to resolve the GX313 error and successfully archive the necessary data.

    • 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