How To Fix KN339 - There are no cost component groups in this BOM


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KN - Reporting for Costing

  • Message number: 339

  • Message text: There are no cost component groups in this BOM

  • Show details Hide details
  • What causes this issue?

    You are attempting to display costs split according to cost component
    groups. This is not possible because the cost components have not yet
    been assigned to any cost component groups.

    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?

    To define <ZH>cost component groups</>, go into Customizing and do the
    following:
    Create cost component groups for most critical cost pools.
    Assign the cost component groups to the existing cost components.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KN339 - There are no cost component groups in this BOM ?

    The SAP error message KN339, which states "There are no cost component groups in this BOM," typically occurs when you are trying to perform a costing run or analyze costs for a Bill of Materials (BOM) that does not have any cost component groups assigned to it. This can prevent the system from calculating costs accurately.

    Cause:

    1. Missing Cost Component Groups: The BOM does not have any cost component groups defined. Cost component groups are necessary for the system to break down costs into various components (like material costs, labor costs, overhead, etc.).
    2. Incorrect BOM Configuration: The BOM may not be configured correctly, or it may not be linked to the appropriate costing variant that requires cost component groups.
    3. Costing Variant Settings: The costing variant used for the costing run may not be set up to include cost component groups.

    Solution:

    1. Check BOM Configuration:

      • Go to the BOM in question and check if cost component groups are assigned. You can do this by navigating to the BOM in the SAP GUI and reviewing the details.
      • If cost component groups are missing, you may need to add them.
    2. Define Cost Component Groups:

      • If you need to create or modify cost component groups, you can do this in the configuration settings. Use transaction code OKTZ to define cost component groups.
      • Ensure that the cost component groups are properly assigned to the relevant materials in the BOM.
    3. Review Costing Variant:

      • Check the costing variant settings using transaction code OKKN. Ensure that the costing variant you are using is configured to include cost component groups.
      • If necessary, create or modify a costing variant to include the required cost component groups.
    4. Re-run Costing:

      • After making the necessary adjustments, re-run the costing process to see if the error persists.

    Related Information:

    • Transaction Codes:

      • CS01 / CS02 / CS03: Create, Change, or Display BOM.
      • CK11N: Create Material Cost Estimate.
      • CK40N: Execute Costing Run.
      • OKTZ: Define Cost Component Groups.
      • OKKN: Maintain Costing Variants.
    • Documentation: Refer to SAP Help documentation for detailed guidance on BOM configuration and costing processes.

    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to BOM costing and cost component groups.

    By following these steps, you should be able to resolve the KN339 error and ensure that your BOM is properly configured for cost calculations.

    • 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