How To Fix KJ321 - Create cost element for the calculated revenue


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 321

  • Message text: Create cost element for the calculated revenue

  • Show details Hide details
  • What causes this issue?

    If you are performing revenue-based results analysis, the system
    calculates the revenue to be expected on the basis of the actual costs
    incurred to date and the planning data.
    If you are using the POC method to perform results analysis, the planned
    revenue is multiplied by the percentage of completion (ratio of actual
    costs to planned costs).
    This calculated revenue is 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 results analysis cost element for the calculated revenue.
    Go into Customizing and enter the results analysis cost element in the
    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 KJ321 - Create cost element for the calculated revenue ?

    The SAP error message KJ321, which states "Create cost element for the calculated revenue," typically occurs in the context of controlling (CO) and profitability analysis (CO-PA) when the system is unable to find a corresponding cost element for a calculated revenue item. This can happen during various processes, such as posting revenues or during the execution of certain reports.

    Cause:

    1. Missing Cost Element: The primary cause of this error is that the system cannot find a cost element that corresponds to the calculated revenue. This can happen if the cost element has not been created or if it is not properly configured in the system.
    2. Configuration Issues: There may be issues with the configuration of the controlling area, cost element accounting, or profitability analysis settings.
    3. Master Data Issues: The relevant master data (like cost centers, profit centers, or internal orders) may not be set up correctly or may be missing.
    4. Posting Period Issues: The posting period may be closed, preventing the creation of new entries.

    Solution:

    1. Create the Cost Element:

      • Navigate to the transaction code KA01 (Create Cost Element) in SAP.
      • Create the necessary cost element that corresponds to the calculated revenue. Ensure that it is set up correctly with the appropriate account type and category.
    2. Check Configuration:

      • Review the configuration settings in the controlling area and ensure that all necessary settings for cost element accounting and CO-PA are correctly defined.
      • Use transaction codes like OKB2 (Create Cost Element Group) and OKB9 (Assign Cost Elements to Cost Element Groups) to verify the configuration.
    3. Review Master Data:

      • Ensure that all relevant master data is correctly set up. Check the configuration of cost centers, profit centers, and internal orders to ensure they are linked to the correct cost elements.
    4. Check Posting Period:

      • Verify that the posting period is open for the transactions you are trying to process. You can check this in the transaction code OB52 (Open and Close Posting Periods).
    5. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for any specific configurations or settings that may be required for your particular implementation.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as KA01 (Create Cost Element), KA02 (Change Cost Element), and KA03 (Display Cost Element).
    • SAP Notes: Check for any SAP Notes related to error KJ321 for additional guidance or patches that may address the issue.
    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to create or modify cost elements and related master data.

    By following these steps, you should be able to resolve the KJ321 error and ensure that the necessary cost elements are in place for your calculated revenue postings.

    • 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