Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WSD_MESSAGE238 - Calculation Schema &1 not used in Material &2 for Price Element &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSD_MESSAGE - Message class for WSD

  • Message number: 238

  • Message text: Calculation Schema &1 not used in Material &2 for Price Element &3

  • Show details Hide details
  • What causes this issue?

    Calculation schema &1 used to determine the value of price element
    &3 for material &2 is not found.

    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?

    Maintain the Customizing for calculation schema &1 and price
    element &3.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSD_MESSAGE238 - Calculation Schema &1 not used in Material &2 for Price Element &3 ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WSD_MESSAGE238: Calculation Schema &1 not used in Material &2 for Price Element &3


    Meaning / Cause:

    This error occurs during pricing or cost calculations in SAP (typically in Costing or Pricing procedures) when the system tries to apply a Calculation Schema (also called a Costing Variant or Pricing Procedure) that is not assigned or valid for the specified material and price element combination.

    • Calculation Schema &1: The calculation schema (costing variant or pricing procedure) that the system attempted to use.
    • Material &2: The material number for which the calculation was attempted.
    • Price Element &3: The price element (e.g., a particular cost component or pricing condition type) involved in the calculation.

    The system expects that the calculation schema is assigned to the material for the given price element, but it is not found in the configuration or master data.


    Common Causes:

    1. Missing assignment in configuration:

      • The calculation schema is not assigned to the material or material group in the costing or pricing configuration.
      • The price element is not linked to the calculation schema for the material.
    2. Incorrect or incomplete master data:

      • The material master does not have the correct costing variant or pricing procedure assigned.
      • The price element is not maintained or assigned properly in the costing or pricing setup.
    3. Customizing or master data inconsistency:

      • Changes in costing variants or pricing procedures were made but not fully maintained for all relevant materials or price elements.
      • The system is trying to use a calculation schema that is obsolete or not relevant for the material.

    Where does this occur?

    • In Product Costing (CK11N, CK40N, CK13N, etc.) when calculating costs.
    • In Pricing (SD pricing procedures) when determining prices.
    • In Material Valuation or Costing Runs.

    How to Solve / Troubleshoot:

    1. Check the assignment of Calculation Schema to Material:

      • Go to Material Master (MM03) and check the costing views.
      • Verify the Costing Variant or Pricing Procedure assigned to the material.
      • Ensure the calculation schema (&1) is assigned to the material (&2).
    2. Check Price Element assignment:

      • In Costing or Pricing customizing (SPRO), verify that the price element (&3) is assigned to the calculation schema (&1).
      • For costing, check under Controlling ? Product Cost Controlling ? Cost Object Controlling ? Product Cost by Order ? Costing Variants or Costing Sheet.
      • For pricing, check Sales and Distribution ? Basic Functions ? Pricing ? Pricing Control.
    3. Maintain or correct the configuration:

      • Assign the calculation schema to the material or material group.
      • Assign the price element to the calculation schema.
      • If necessary, create or adjust the calculation schema to include the price element.
    4. Check for master data consistency:

      • Ensure the material master data is complete and consistent.
      • Check if the material is flagged for the correct valuation and costing.
    5. Re-run the costing or pricing after corrections.


    Related SAP Notes / Documentation:

    • SAP Note related to costing variant and price element assignments.
    • SAP Help Portal documentation on Product Costing and Pricing Procedures.
    • Transaction codes to check:
      • CK11N (Create Cost Estimate)
      • CK40N (Costing Run)
      • MM03 (Display Material Master)
      • SPRO (Customizing)

    Summary:

    Aspect Details
    Error Calculation schema not used for material and price element
    Cause Missing assignment of calculation schema to material or price element
    Solution Assign calculation schema to material and price element in customizing and master data
    Where to check Material master, costing variant, pricing procedure, price element assignment
    Transactions CK11N, CK40N, MM03, SPRO

    If you provide the exact context (e.g., costing or pricing), I can help with more specific steps.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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