How To Fix GI157 - Ledger &: Period & in year & not open for posting


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GI - FI-SL update

  • Message number: 157

  • Message text: Ledger &: Period & in year & not open for posting

  • Show details Hide details
  • What causes this issue?

    When checking whether you can post to this period, you have established
    that the period is not open for posting.
    When posting at controlling area level (CO), the periods must be open
    for posting for all ledgers that are assigned to company codes within
    this controlling area, provided that posting is allowed with this
    activity.

    System Response

    An update has not taken place.

    How to fix this error?

    Open the period for posting. In the activity definition, you specify
    whether a period check is to take place for the activity.
    In GLX, you can open the period for posting as follows:
    GLX configuration menu
    Actual posting
    Posting periods
    Local/global (depending on the type of ledger)
    On the following screen, you can specify the open posting periods for
    record type (0=actual, 1=plan), company code (local) or global company
    (global) and account type (always + for GLX).

    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 GI157 - Ledger &: Period & in year & not open for posting ?

    The SAP error message GI157 indicates that a specific ledger and period in a given fiscal year is not open for posting. This typically occurs when you attempt to post a transaction in a period that has been closed for posting in the system.

    Cause:

    1. Closed Posting Period: The most common cause is that the posting period you are trying to use has been closed in the system. This can happen if the financial year-end closing has been performed or if the period has been manually closed by a user with the appropriate authorization.
    2. Incorrect Ledger: You may be trying to post to a ledger that is not open for the specified period.
    3. Configuration Issues: There may be configuration settings in the financial accounting module that restrict posting to certain periods or ledgers.

    Solution:

    1. Open the Posting Period:

      • Navigate to the transaction code OB52 (or use the menu path: SPRO > Financial Accounting > Financial Accounting Global Settings > Document > Open and Close Posting Periods).
      • Check the settings for the relevant company code and fiscal year. If the period is closed, you can open it for posting by adjusting the date range.
    2. Check Ledger Settings:

      • Ensure that the ledger you are trying to post to is configured to allow postings in the specified period. This can be checked in the configuration settings for the ledger.
    3. Review User Authorizations:

      • Ensure that the user attempting to post has the necessary authorizations to post in the specified period and ledger.
    4. Consult with Finance Team:

      • If you are unsure about opening a closed period, consult with your finance team or SAP administrator to ensure that it aligns with your organization's financial policies.

    Related Information:

    • Transaction Codes:

      • OB52: Open and Close Posting Periods
      • FB50: General Ledger Account Document Entry (for testing posting)
    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or solutions related to this error message.

    • Documentation: Review SAP documentation on financial closing processes and posting periods for a better understanding of how to manage posting periods effectively.

    By following these steps, you should be able to resolve the GI157 error and successfully post your transactions.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker