How To Fix GG345 - You have not selected a company code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GG - Messages for FI-SL customizing

  • Message number: 345

  • Message text: You have not selected a company code

  • Show details Hide details
  • What causes this issue?

    You have not selected a company code.

    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?

    Select a company code.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GG345 - You have not selected a company code ?

    The SAP error message GG345, which states "You have not selected a company code," typically occurs when a user attempts to execute a transaction or report that requires a company code to be specified, but none has been selected. This is a common issue in various SAP modules, particularly in Financial Accounting (FI) and Controlling (CO).

    Cause:

    1. Missing Company Code Selection: The most straightforward cause is that the user has not selected a company code in the relevant field before executing the transaction.
    2. User Role/Authorization Issues: Sometimes, the user may not have the necessary authorizations to view or select company codes.
    3. Configuration Issues: There may be configuration settings in the system that are not set up correctly, leading to the inability to select a company code.

    Solution:

    1. Select a Company Code:

      • When prompted by the error message, go back to the transaction screen and ensure that you select a valid company code from the dropdown list or input it manually in the designated field.
    2. Check User Authorizations:

      • If you believe you should have access to certain company codes, check with your SAP security administrator to ensure that your user role has the necessary authorizations to view and select the company codes.
    3. Review Configuration:

      • If the issue persists, it may be necessary to review the configuration settings in the SAP system. This may involve checking the company code settings in the Financial Accounting module to ensure that they are correctly set up.
    4. Consult Documentation:

      • Refer to SAP documentation or help files for the specific transaction you are trying to execute. This may provide additional context or steps that need to be followed.
    5. Contact Support:

      • If you are unable to resolve the issue, consider reaching out to your internal SAP support team or SAP support for further assistance.

    Related Information:

    • Transaction Codes: The error can occur in various transaction codes, such as FB01 (Post Document), FBL1N (Vendor Line Item Display), or others that require a company code.
    • Company Code Definition: A company code in SAP is an independent accounting unit that represents a legal entity. It is essential for financial reporting and is a key organizational unit in SAP.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message, as there may be specific fixes or updates available.

    By following these steps, you should be able to resolve the GG345 error and proceed with your transaction 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