How To Fix FX038 - Program error: Company code & not in table T001


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FX - Distributed FI Application Messages

  • Message number: 038

  • Message text: Program error: Company code & not in table T001

  • Show details Hide details
  • What causes this issue?

    Program error: A company code &V1& recognized as existent at the
    beginning no longer exists.

    System Response

    Processing is cancelled; entered or changed data is lost.

    How to fix this error?

    This error should not have occurred here. A possible error cause might
    be that a company code &V1& was deleted from the table T001 during the
    program run.
    Contact your system administrator.
    Procedure for the System Administrator
    Maintain this company code again. You can proceed by carrying out the
    following steps and then restarting processing:
    1.) Create a local receiving company code &V1&:
    <DS:TRAN.OBY6>Proceed</>
    2.) If no existing, cross-system company code should be used: create a
    new cross-system company code (also report the identifier to all SAP
    installations of the corporate group):
    <DS:TRAN.OB72>Proceed</>
    3.) Allocate the cross-system company code to the local company code:
    <DS:TRAN.OBB5>Proceed</>
    4.) If sending system: Configure the validations of the receiving
    company code &V1&:
    <DS:TRAN.OB25>Proceed</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FX038 - Program error: Company code & not in table T001 ?

    The SAP error message FX038, which states "Program error: Company code & not in table T001," typically indicates that the system is trying to access a company code that does not exist in the T001 table. The T001 table contains the company codes and their associated data in the SAP system.

    Cause:

    1. Non-existent Company Code: The company code referenced in the error message does not exist in the T001 table. This could be due to a typo, an incorrect company code being used in the transaction, or the company code not being created in the system.
    2. Data Inconsistency: There may be inconsistencies in the data, such as a company code being deleted or not properly configured.
    3. Authorization Issues: The user may not have the necessary authorizations to access the company code, leading to the system not recognizing it.
    4. Configuration Issues: The company code may not be properly configured in the system, or it may not be activated.

    Solution:

    1. Check Company Code: Verify that the company code referenced in the error message is correct. Ensure there are no typos or incorrect entries.
    2. Create Company Code: If the company code does not exist, you may need to create it using the transaction code OX02 (or through the SAP Easy Access menu: Logistics > Financial Accounting > General Ledger > Master Data > G/L Account > Company Code > Create).
    3. Check T001 Table: Use transaction code SE16 or SE11 to view the T001 table and confirm whether the company code exists. If it does not, you will need to create it.
    4. Review Authorizations: Ensure that the user has the necessary authorizations to access the company code. This can be checked in the user roles and profiles.
    5. Consult with SAP Basis or Functional Team: If the issue persists, it may be necessary to consult with your SAP Basis or functional team to investigate further, especially if there are underlying configuration issues.

    Related Information:

    • Transaction Codes:
      • OX02: Create/Change Company Code
      • SE16: Data Browser (to view table contents)
      • SE11: Data Dictionary (to view table structure)
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Review SAP documentation for company code configuration and management.

    By following these steps, you should be able to identify the cause of the error and implement a solution. If the problem continues, further investigation may be required to understand the underlying issues in the 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
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