How To Fix 3G159 - Company code clearing not possible for external company codes


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 3G - Payroll: International

  • Message number: 159

  • Message text: Company code clearing not possible for external company codes

  • Show details Hide details
  • What causes this issue?

    In Customizing you have defined company code &V1& as an external
    company code for the export to an older SAP release.
    At the same time you have set up the posting variants so that you can
    post to company clearing accounts.
    You should therefore not create a clearing account for the company code
    &v1&.

    System Response

    This combination is not permitted. The employee has been rejected.

    How to fix this error?

    When evaluating employees in external company codes, please use a
    posting variant in which the 'Post to Company Code Clearing Accounts'
    indicator is not flagged.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 3G159 - Company code clearing not possible for external company codes ?

    The SAP error message 3G159 indicates that clearing is not possible for external company codes in the context of intercompany transactions. This typically arises when you are trying to clear open items between different company codes that are not set up correctly for intercompany transactions.

    Cause:

    1. External Company Codes: The error usually occurs when you attempt to clear items between company codes that are not recognized as part of the same group or are not configured for intercompany transactions.
    2. Configuration Issues: The company codes may not be properly configured in the system to allow for intercompany clearing.
    3. Missing Settings: There may be missing settings in the configuration of the company codes, such as the intercompany settings in the financial accounting module.

    Solution:

    1. Check Company Code Configuration:

      • Go to the configuration settings in SAP (Transaction Code: SPRO).
      • Navigate to Financial Accounting (New) > General Ledger Accounting (New) > Master Data > G/L Accounts > Preparation for Creating G/L Accounts > Define Company Code.
      • Ensure that the company codes involved in the transaction are set up correctly and are recognized as part of the same group.
    2. Intercompany Settings:

      • Ensure that the intercompany settings are correctly configured. This includes checking the settings for intercompany transactions in the configuration.
      • Navigate to Financial Accounting (New) > General Ledger Accounting (New) > Intercompany Transactions and verify the settings.
    3. Clearing Configuration:

      • Check the clearing configuration for the company codes involved. Ensure that the clearing accounts are set up correctly for intercompany transactions.
    4. Transaction Type:

      • Ensure that the transaction type used for the clearing is appropriate for intercompany transactions.
    5. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for specific configurations related to your version of SAP.
    6. Testing:

      • After making the necessary changes, perform a test transaction to ensure that the clearing can now be processed without errors.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance.
    • User Forums: Consider visiting SAP community forums or user groups where similar issues may have been discussed.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FB50 (G/L Account Document Entry), F-03 (Clear G/L Account), and others that may be involved in the clearing process.

    If the issue persists after checking the above points, it may be beneficial to engage with your SAP support team or a consultant who specializes in SAP Financial Accounting.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant