How To Fix KV157 - Order has no or faulty planned costs or overhead


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KV - Variance Analysis for Cost Centers and Cost Objects

  • Message number: 157

  • Message text: Order has no or faulty planned costs or overhead

  • Show details Hide details
  • What causes this issue?

    You are attempting to do one of the following:
    Calculate <DS:GLOS.work_in_process>work in process</> according to the
    <LS>valuation variant for work in process and scrap</> with
    <DS:GLOS.target_costs>target costs</> calculated on the basis of
    planned costs
    Calculate the unplanned scrap according to the <LS>valulation variant
    for work in process and scrap</> using the target costs calculated on
    the basis of planned costs
    Split the <DS:GLOS.production_variance>production variance</> into
    <DS:GLOS.variance_category>variance categories</>

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

    You are attempting to calculate target costs on the basis of planned
    costs for an order:
    For which no <DS:GLOS.preliminary_costing>preliminary cost estimate</>
    was created and therefore no <DS:GLOS.planned_costs>planned costs</>
    exist or
    For which no <DS:GLOS.overhead>overhead</> was calculated
    Note that you can only valuate work in process and scrap at target
    costs using a <DS:GLOS.product_costing>product cost estimate</> with
    quantity structure. A <DS:GLOS.unit_costing>unit cost estimate</>
    cannot be used to valuate work in process and scrap. This means that
    you cannot use a preliminary cost estimate for a
    <DS:GLOS.CO_production_order>production order without quantity
    structure</> to valuate work in process and scrap.

    System Response

    The system cannot calculate all of the <DS:GLOS.target_costs>target
    costs</> for this order for one of the following reasons:
    There are no planned costs in the system.
    No overhead could be calculated on the basis of target costs.
    In variance calculation, the difference between actual costs and
    planned costs is shown as a <DS:GLOS.remaining_variance>remaining
    variance</> only.

    How to fix this error?

    Check the following entries in Customizing:
    The assignment of the <DS:GLOS.costing_variant>costing variant</> to a
    <DS:GLOS.costing_type>costing type</>
    The assignment of the <DS:GLOS.valuation_variant>valuation variant</>
    to a costing variant
    The assignment of the <DS:GLOS.costing_sheet>costing sheet</> to a
    valuation variant

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KV157 - Order has no or faulty planned costs or overhead ?

    The SAP error message KV157 ("Order has no or faulty planned costs or overhead") typically occurs in the context of controlling (CO) and project systems (PS) when you are trying to perform a transaction related to an order, such as settling an order or posting costs, but the system cannot find valid planned costs or overhead for that order.

    Causes:

    1. Missing Planned Costs: The order may not have any planned costs associated with it. This can happen if the order was created without a cost estimate or if the cost estimate was not released.
    2. Faulty Planned Costs: The planned costs may be incorrectly configured or may not match the expected structure. This could be due to incorrect settings in the cost planning or cost element configuration.
    3. Order Status: The order might be in a status that does not allow for cost planning or posting. For example, if the order is closed or technically completed, it may not have valid planned costs.
    4. Costing Variants: The costing variant used for the order may not be set up correctly, leading to issues in calculating planned costs.
    5. Overhead Calculation: If overhead rates are not defined or are incorrectly set up, this can lead to faulty overhead calculations.

    Solutions:

    1. Check Planned Costs:

      • Go to the order in question and check if there are any planned costs associated with it. You can do this by navigating to the order details in the SAP GUI.
      • If there are no planned costs, you may need to create a cost estimate for the order.
    2. Release Cost Estimates:

      • If a cost estimate exists but is not released, you need to release it. This can typically be done through transaction codes like CK11N (Create Cost Estimate) and CK40N (Release Cost Estimate).
    3. Review Order Status:

      • Ensure that the order is in a status that allows for cost planning and posting. If the order is closed, you may need to reopen it or create a new order.
    4. Check Costing Variants:

      • Verify that the costing variant assigned to the order is correctly configured. You can check this in the configuration settings for costing variants.
    5. Review Overhead Settings:

      • Ensure that overhead rates are defined and correctly set up in the system. You can check this in the controlling area settings.
    6. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for specific configurations related to your organization’s setup.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:
      • KO03: Display Order
      • KOB1: Order Line Items
      • CK11N: Create Cost Estimate
      • CK40N: Release Cost Estimate
    • SAP Notes: Check for any SAP Notes related to this error message for additional troubleshooting steps or patches.
    • User Roles: Ensure that you have the necessary authorizations to view and modify cost planning and order details.

    By following these steps, you should be able to identify the root cause of the KV157 error and implement the necessary solutions to resolve it.

    • 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