How To Fix FG158 - No chart of accounts in the specified set of values


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FG - Program Error Messages

  • Message number: 158

  • Message text: No chart of accounts in the specified set of values

  • Show details Hide details
  • What causes this issue?

    You started an archiving run for G/L accounts in which general and
    company code-dependent master data is to be archived. In this case,
    processing via different charts of accounts is not possible.

    System Response

    No processing - error message

    How to fix this error?

    Only select company codes which belong to a chart of accounts. In order
    to be able to archive general and company code-dependent master data in
    different charts of accounts, you must start the program several times.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FG158 - No chart of accounts in the specified set of values ?

    The SAP error message FG158, which states "No chart of accounts in the specified set of values," typically occurs in the context of financial reporting or when trying to access financial data that requires a specific chart of accounts (CoA) configuration. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Missing Chart of Accounts: The specified chart of accounts is not defined in the system for the company code or the area of reporting you are trying to access.
    2. Incorrect Configuration: The configuration settings for the chart of accounts may not be set up correctly in the system.
    3. Data Entry Error: There may be a mistake in the input values or parameters when trying to access the financial data.
    4. Authorization Issues: The user may not have the necessary authorizations to access the chart of accounts.

    Solutions:

    1. Check Chart of Accounts Configuration:

      • Go to the transaction code OB13 to check if the chart of accounts is defined for the relevant company code.
      • Ensure that the chart of accounts is assigned correctly to the company code.
    2. Verify Company Code Settings:

      • Use transaction code OBY6 to check if the company code is assigned to the correct chart of accounts.
      • Ensure that the company code is active and properly configured.
    3. Review Input Parameters:

      • Double-check the parameters or values you are entering when trying to access the financial data. Ensure that they match the existing configurations.
    4. Check User Authorizations:

      • Ensure that the user has the necessary authorizations to access the chart of accounts. This can be checked with the help of your SAP security team.
    5. Consult Documentation:

      • Review SAP documentation or help files related to the specific transaction or report you are trying to run. There may be additional configuration steps required.
    6. Contact SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OB13 (Define Chart of Accounts), OBY6 (Assign Company Code to Chart of Accounts), and FS00 (G/L Account Master Record).
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • User Manuals: Refer to user manuals or training materials for guidance on financial reporting and chart of accounts setup.

    By following these steps, you should be able to identify and resolve the issue related to the FG158 error message 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
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