How To Fix GI121 - Company code & not assigned to Ledger &, but still required posting


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GI - FI-SL update

  • Message number: 121

  • Message text: Company code & not assigned to Ledger &, but still required posting

  • Show details Hide details
  • What causes this issue?

    At the activity/company code/ledger level, you defined that the company
    code has to post to the ledger. However, this assignment is missing at
    company code/ledger level. An update cannot therefore be made in
    General Ledger.

    System Response

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

    How to fix this error?

    Check tables T886A, T886B and T882 with regard to the values entered.
    <DS:TRAN.GCB1>Make assignment</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GI121 - Company code & not assigned to Ledger &, but still required posting ?

    The SAP error message GI121 indicates that a company code is not assigned to a ledger, which is required for posting transactions. This error typically arises in the context of Financial Accounting (FI) and can occur during various processes, such as posting journal entries or executing financial transactions.

    Cause:

    1. Missing Assignment: The company code is not assigned to the specified ledger in the system configuration.
    2. Incorrect Configuration: The ledger may not be properly set up in the system, or the company code may not be linked to the correct ledger.
    3. New Ledger: If a new ledger has been created, the company code may not have been assigned to it yet.
    4. Document Type Issues: The document type being used may not be compatible with the ledger settings.

    Solution:

    To resolve the GI121 error, follow these steps:

    1. Check Ledger Assignment:

      • Go to the SAP transaction code OB22 (or navigate through the menu: Financial Accounting > General Ledger > Master Data > G/L Accounts > Prepare G/L Account Creation).
      • Verify that the company code is assigned to the appropriate ledger. If it is not, you will need to assign it.
    2. Assign Company Code to Ledger:

      • If the company code is not assigned, you can do this by selecting the appropriate ledger and adding the company code.
      • Ensure that the ledger is set up correctly and that all necessary configurations are in place.
    3. Review Document Types:

      • Check if the document type being used for the posting is compatible with the ledger settings. You can do this in transaction code OBY6 (Document Types).
      • Ensure that the document type is allowed for the ledger you are trying to post to.
    4. Consult Configuration Documentation:

      • If you are unsure about the configuration, refer to your organization's SAP configuration documentation or consult with your SAP FI consultant.
    5. Test Posting:

      • After making the necessary changes, try to post the transaction again to see if the error persists.

    Related Information:

    • Transaction Codes:
      • OB22: For ledger assignment.
      • OBY6: For document type configuration.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error.
    • User Roles: Ensure that you have the necessary authorizations to make changes to the configuration.
    • System Logs: Review system logs for any additional error messages that may provide more context.

    By following these steps, you should be able to resolve the GI121 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
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