How To Fix KQ229 - Target costs needed for calculation of scrap or variances


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KQ - Error Messages for Customizing Product Costing

  • Message number: 229

  • Message text: Target costs needed for calculation of scrap or variances

  • Show details Hide details
  • What causes this issue?

    You specified that you want to calculate variances or scrap for this
    <DS:GLOS.variance_key>variance key</>. The system calculates this data
    using the <DS:GLOS.target_costs>target costs</> for each object.

    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?

    Set the <LS>Target costs</> indicator, or delete your other entries.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KQ229 - Target costs needed for calculation of scrap or variances ?

    The SAP error message KQ229, which states "Target costs needed for calculation of scrap or variances," typically occurs in the context of cost accounting and production planning within the SAP system. This error indicates that the system requires target costs to perform calculations related to scrap or variances, but these costs are not available or not properly configured.

    Cause:

    1. Missing Target Costs: The target costs for the material or production order are not maintained in the system.
    2. Incorrect Configuration: The configuration settings for the material or production order may not be set up correctly, leading to the absence of target costs.
    3. Material Master Data: The material master data may not have the necessary costing views or information filled out.
    4. Costing Variant Issues: The costing variant used may not be set up to calculate or retrieve target costs.
    5. Production Order Status: The production order may be in a status that does not allow for the calculation of variances or scrap.

    Solution:

    1. Maintain Target Costs:

      • Go to the material master (transaction code MM02) and ensure that the costing view is properly maintained with target costs.
      • If applicable, check the production order (transaction code CO02) to ensure that the target costs are set.
    2. Check Configuration:

      • Review the configuration settings in the controlling (CO) module to ensure that the costing variant is correctly set up to calculate target costs.
      • Ensure that the relevant settings for scrap and variance calculation are properly configured.
    3. Review Material Master Data:

      • Ensure that all necessary views in the material master are filled out, especially the costing view.
      • Check if the material is marked for costing and that the relevant costing type is active.
    4. Costing Variant:

      • Verify that the costing variant used for the production order is set up to include target costs. You can check this in the configuration settings for costing variants.
    5. Production Order Status:

      • Check the status of the production order. If it is not released or is in a status that does not allow for variance calculation, you may need to change its status.

    Related Information:

    • Transaction Codes:

      • MM02: Change Material Master
      • CO02: Change Production Order
      • CK11N: Create Cost Estimate with Quantity Structure
      • CK40N: Change Cost Estimate
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to this error message. You can search for notes in the SAP Support Portal.

    • Documentation: Review SAP documentation related to cost accounting and production planning for more detailed information on how to manage target costs and variances.

    By following these steps, you should be able to resolve the KQ229 error and ensure that target costs are available for the calculation of scrap or variances in your SAP system.

    • 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