How To Fix 3G397 - Value-added-tax code was read locally from G/L acocunt


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 3G - Payroll: International

  • Message number: 397

  • Message text: Value-added-tax code was read locally from G/L acocunt

  • Show details Hide details
  • What causes this issue?

    You are working in an integrated system. This means that Human
    Resources and Accounting run in the same system. For this reason, the
    function module 'BAPI_GL_ACC_GETDETAIL' has been started locally.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 3G397 - Value-added-tax code was read locally from G/L acocunt ?

    The SAP error message 3G397 indicates that the value-added tax (VAT) code was read locally from the General Ledger (G/L) account instead of being derived from the document or transaction. This typically occurs in the context of financial postings where the system expects a VAT code to be determined based on the transaction details, but it instead defaults to the VAT code associated with the G/L account.

    Cause:

    1. G/L Account Configuration: The G/L account may not have a default VAT code assigned, or the configuration may not be set up correctly to derive the VAT code from the transaction.
    2. Document Type Settings: The document type used for the transaction may not be configured to allow for VAT code determination.
    3. Transaction Data: The transaction data may be incomplete or incorrect, leading the system to default to the G/L account's VAT code.
    4. Customizations: Any custom logic or user exits that affect VAT determination may not be functioning as intended.

    Solution:

    1. Check G/L Account Configuration:

      • Go to the G/L account settings in the SAP system (Transaction Code: FS00).
      • Ensure that a valid VAT code is assigned to the G/L account in the relevant company code.
    2. Review Document Type Settings:

      • Check the configuration of the document type used for the transaction (Transaction Code: OBA7).
      • Ensure that the document type allows for VAT code determination.
    3. Verify Transaction Data:

      • Review the transaction data being posted to ensure that all necessary fields are filled out correctly, including the tax classification and any other relevant information.
    4. Check Custom Logic:

      • If there are any custom enhancements or user exits that affect VAT determination, review them to ensure they are functioning correctly.
    5. Consult SAP Notes:

      • Check for any relevant SAP Notes that may address this specific error message or provide guidance on VAT code determination.
    6. Testing:

      • After making any changes, perform test transactions to ensure that the VAT code is being determined correctly.

    Related Information:

    • SAP Documentation: Refer to SAP Help documentation for detailed information on VAT configuration and G/L account settings.
    • SAP Community: Engage with the SAP Community forums for insights from other users who may have encountered similar issues.
    • Training: Consider training sessions or workshops on SAP Financials to better understand VAT handling and G/L account configurations.

    By following these steps, you should be able to resolve the error message 3G397 and ensure that VAT codes are determined correctly in your SAP system.

    • 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