How To Fix KJ322 - Create a cost element for the calculated costs


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KJ - Cost Object Controlling for Make-to-Order Production

  • Message number: 322

  • Message text: Create a cost element for the calculated costs

  • Show details Hide details
  • What causes this issue?

    If you are performing revenue-based <DS:GLOS.results_analysis>results
    analysis</>, the system calculates the costs to be expected on the
    basis of the revenue earned to date and the planning data.
    If you are performing quantity-based results analysis, the system
    calculates costs corresponding to the quantity produced to date.
    These <DS:GLOS.calculated_costs>calculated costs</> are written under a
    results analysis cost element.

    System Response

    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?

    Create a cost element for the calculated costs.
    Go into Customizing and enter the results analysis cost element in the
    <DS:GLOS.results_analysis_version>results analysis version</>.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KJ322 - Create a cost element for the calculated costs ?

    The SAP error message KJ322, which states "Create a cost element for the calculated costs," typically occurs in the context of controlling (CO) when you are trying to post costs that do not have a corresponding cost element defined in the system. This can happen in various scenarios, such as when you are working with internal orders, cost centers, or other controlling objects.

    Cause:

    1. Missing Cost Element: The primary cause of this error is that the system is attempting to post costs to a cost element that has not been defined in the system.
    2. Incorrect Configuration: The cost element may not be properly configured in the system, or it may not be assigned to the relevant controlling area.
    3. Posting to Non-Existing Cost Element: The system is trying to post to a cost element that does not exist in the master data.

    Solution:

    To resolve the KJ322 error, you can follow these steps:

    1. Create the Cost Element:

      • Go to the transaction code KA01 (Create Cost Element).
      • Enter the necessary details such as the cost element number, description, and the type of cost element (primary or secondary).
      • Ensure that the cost element is assigned to the correct controlling area.
    2. Check Existing Cost Elements:

      • Use transaction code KA03 (Display Cost Element) to check if the cost element already exists and is correctly configured.
      • Verify that the cost element is active and assigned to the appropriate cost element group.
    3. Review Configuration:

      • Ensure that the cost element is included in the relevant cost element groups and that it is set up for the type of posting you are trying to perform.
      • Check the configuration in the controlling area to ensure that all necessary settings are in place.
    4. Consult Documentation:

      • If you are unsure about the configuration or the creation of cost elements, refer to SAP documentation or consult with your SAP CO module expert.
    5. Testing:

      • After creating or correcting the cost element, try to perform the posting again to see if the error persists.

    Related Information:

    • Cost Element Types: Understand the difference between primary and secondary cost elements. Primary cost elements are linked to financial accounting (FI) accounts, while secondary cost elements are used for internal cost allocations.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as KA01 (Create Cost Element), KA02 (Change Cost Element), and KA03 (Display Cost Element).
    • Master Data: Ensure that all relevant master data (cost centers, internal orders, etc.) is correctly set up and linked to the cost elements.

    By following these steps, you should be able to resolve the KJ322 error and successfully post your costs 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
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