How To Fix GI158 - Ledger & may not be posted to in period 0


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GI - FI-SL update

  • Message number: 158

  • Message text: Ledger & may not be posted to in period 0

  • Show details Hide details
  • What causes this issue?

    Period zero has been determined as the posting period. However, period
    zero may not be posted to for this ledger.

    System Response

    The system cannot update.

    How to fix this error?

    Please check whether you really want period zero posted to. If you do,
    you must check the respective indicator in Table T881 (ledger table).

    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 GI158 - Ledger & may not be posted to in period 0 ?

    The SAP error message GI158, which states "Ledger & may not be posted to in period 0," typically occurs when there is an attempt to post a financial transaction to a ledger in a period that is not open for posting. Here’s a breakdown of the cause, solution, and related information for this error:

    Cause:

    1. Period Closure: The most common reason for this error is that the financial period (in this case, period 0) is closed for posting. In SAP, period 0 usually refers to the first period of the fiscal year, and it may be closed for various reasons, such as year-end closing activities.
    2. Configuration Settings: The configuration settings in the financial accounting module may restrict postings to certain periods or ledgers.
    3. Posting Date: The posting date of the transaction may fall into a closed period, leading to this error.

    Solution:

    1. Open the Period: If you need to post to period 0, you can open the period in the configuration settings. This can be done by:

      • Navigating to Transaction Code OB52 (Maintain Table T001).
      • Adjusting the period settings to allow postings for the required ledger and period.
      • Ensure that the fiscal year variant is correctly set up to allow postings in the desired periods.
    2. Change Posting Date: If the posting date is incorrect, you can change the posting date of the transaction to a valid open period. Ensure that the date falls within the range of open periods.

    3. Check Ledger Settings: Verify the settings for the specific ledger you are trying to post to. Ensure that it is configured to allow postings in the desired periods.

    4. Consult with Finance Team: If you are unsure about opening periods or changing settings, consult with your finance team or SAP administrator to ensure compliance with accounting policies.

    Related Information:

    • Fiscal Year Variant: Understand the fiscal year variant settings in your SAP system, as they dictate how periods are defined and closed.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:
      • OB52: For maintaining posting periods.
      • S_ALR_87012357: For viewing the status of periods.
    • SAP Notes: Check for any SAP Notes related to this error message for additional guidance or patches that may address specific issues.

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

    • 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