How To Fix KM794 - Costs cannot be derived for account &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KM - Error messages for Profit Center Accounting

  • Message number: 794

  • Message text: Costs cannot be derived for account &1

  • Show details Hide details
  • What causes this issue?

    The function <ZH><ZK> Valuate with Transfer Price</></> or <ZH><ZK>
    Valuate Stock Changes</></> cannot be carried out for account &V1&, as
    it is not defined as an allowed revenue or stock change account.
    &V1&

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

    How to fix this error?

    You can define the profit center as an allowed revenue account in
    Customizing for Profit Center Accounting, under <DS:TRAN.8KET2>Define
    Allowed Revenue Accounts.</>
    See <DS:SIMG.SIMG_CFMENUORK18KET2>Defining Allowed Revenue Accounts.</>
    You can define the profit center as an allowed stock change account in
    Customizing for Profit Center Accounting, under <DS:TRAN.8KET1>Define
    Allowed Stock Change Accounts.</>
    See <DS:SIMG.SIMG_CFMENUORK18KET1>Defining Allowed Stock Changes.</>

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KM794 - Costs cannot be derived for account &1 ?

    The SAP error message KM794 ("Costs cannot be derived for account &1") typically occurs in the context of controlling (CO) and can arise when the system is unable to determine the cost elements or cost allocations for a specific account during a transaction or posting. Here are some common causes, solutions, and related information for this error:

    Causes:

    1. Missing Cost Element: The cost element associated with the account may not be defined in the system.
    2. Incorrect Account Assignment: The account may not be correctly assigned to a cost center, internal order, or other controlling objects.
    3. Configuration Issues: There may be issues in the configuration of the controlling area, cost elements, or account assignments.
    4. Posting Period Issues: The posting period may be closed, preventing any new postings.
    5. Master Data Issues: The master data for the cost center, internal order, or other relevant objects may be incomplete or incorrect.

    Solutions:

    1. Check Cost Element Configuration:

      • Ensure that the cost element associated with the account is correctly defined in the system. You can check this in the SAP transaction code KA03 (Display Cost Element).
    2. Verify Account Assignment:

      • Check the account assignment for the transaction. Ensure that the account is correctly assigned to a cost center or internal order. You can use transaction KSB1 (Cost Centers: Actual Line Items) to review postings.
    3. Review Configuration Settings:

      • Review the configuration settings in the controlling area. Ensure that all necessary settings for cost element accounting and cost center accounting are correctly configured. This can be done in the SPRO transaction (SAP Reference IMG).
    4. Check Posting Period:

      • Verify that the posting period is open for the transaction you are trying to execute. You can check this in transaction OB52 (Open and Close Posting Periods).
    5. Examine Master Data:

      • Review the master data for the relevant cost centers, internal orders, or other objects to ensure they are complete and correctly set up.
    6. Consult Documentation:

      • If the issue persists, consult SAP documentation or reach out to your SAP support team for further assistance.

    Related Information:

    • Transaction Codes:

      • KA03: Display Cost Element
      • KSB1: Cost Centers: Actual Line Items
      • OB52: Open and Close Posting Periods
      • SPRO: SAP Reference IMG for configuration
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.

    • User Authorization: Ensure that the user has the necessary authorizations to perform the transactions related to cost accounting.

    By following these steps, you should be able to identify the root cause of the KM794 error and implement the appropriate solution. If the problem continues, consider reaching out to SAP support for more specialized assistance.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker