How To Fix GL335 - Comp.code/ledger & uses currency &, but global company/ledger & uses &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GL - FI-SL Rollup

  • Message number: 335

  • Message text: Comp.code/ledger & uses currency &, but global company/ledger & uses &

  • Show details Hide details
  • What causes this issue?

    Differences between the receiver and sender ledgers were found in the
    second, third or fourth currency.
    The receiver combination of company code/ledger &v1& that you defined
    in Customizing uses currency &v2&, but the sender combination of global
    company/ledger &v3& uses currency &v4&.

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

    System Response

    Rollup:
    During rollup, all amount fields of the relevant currency group (HSL,
    KSL, OSL) are in this case set to amount 0 in the rollup ledger unless,
    in the rollup definition under "Extras -> Different Currencies" you set
    the indicator "Do not initialize currency fields".
    Copying planning templates:
    Planning data cannot be copied.

    How to fix this error?

    Rollup:
    If you activated the "Do not initialize currency fields" indicator, and
    you have different second, third or fourth currencies, you can use a
    user exit to enter the correct amount in the corresponding amount
    fields (HSL, KSL, OSL). For example, you can use a user exit to have
    the system calculate correct group currency amounts from the local
    currency amounts.
    Copying planning templates:
    Change your entries.
    &NOTE&
    If you do not use a user exit to calculate amounts in a third currency
    using an exit, you can calculate these amounts later using the currency
    translation program.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GL335 - Comp.code/ledger & uses currency &, but global company/ledger & uses & ?

    The SAP error message GL335 typically occurs when there is a mismatch between the currency settings of a company code and the global company or ledger settings. This error is often encountered during financial postings or when trying to create or modify financial documents.

    Cause:

    The error message GL335 indicates that:

    • The company code or ledger you are trying to use has a different currency setting than what is defined in the global company or ledger.
    • Specifically, the currency used in the company code or ledger does not match the currency defined for the global company or ledger.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Company Code Currency:

      • Go to the transaction code OBY6 (or OBY1 for new implementations) to check the currency settings for the company code.
      • Ensure that the currency defined for the company code matches the currency defined in the global company or ledger.
    2. Check Global Company or Ledger Currency:

      • Use transaction code OB22 to check the currency settings for the global company or ledger.
      • Verify that the currency settings are consistent with the company code.
    3. Adjust Currency Settings:

      • If there is a mismatch, you may need to adjust the currency settings in either the company code or the global company/ledger to ensure they are aligned.
      • Be cautious when changing currency settings, as this can have significant implications for financial reporting and transactions.
    4. Consult with Financial Team:

      • If you are unsure about making changes to currency settings, consult with your finance or accounting team to ensure that any changes made are appropriate and do not disrupt financial processes.
    5. Testing:

      • After making the necessary adjustments, perform a test transaction to ensure that the error has been resolved.

    Related Information:

    • Transaction Codes:
      • OBY6: Company Code Global Data
      • OB22: Define Company Code
      • OBY1: Create Company Code
    • Documentation:
      • Refer to SAP Help documentation for more details on configuring company codes and ledgers.
    • Support:
      • If the issue persists after checking the settings, consider reaching out to SAP support or your internal SAP support team for further assistance.

    By following these steps, you should be able to resolve the GL335 error and ensure that your currency settings are correctly configured.

    • 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