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

Close

How To Fix WSD_MESSAGE155 - Recalculation of price is not possible; arithmetic error


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSD_MESSAGE - Message class for WSD

  • Message number: 155

  • Message text: Recalculation of price is not possible; arithmetic error

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSD_MESSAGE155 - Recalculation of price is not possible; arithmetic error ?

    SAP Error Message:
    WSD_MESSAGE155Recalculation of price is not possible; arithmetic error


    Cause

    This error typically occurs during pricing or cost recalculation processes in SAP (often in Sales and Distribution or Materials Management modules) when the system encounters an arithmetic problem such as:

    • Division by zero
    • Overflow or underflow in numeric calculations
    • Invalid or missing data leading to zero or null values in denominators
    • Incorrect or inconsistent pricing conditions or formulas
    • Data inconsistencies in condition records or master data (e.g., zero quantity or zero price)

    In essence, the system tries to perform a calculation (e.g., price recalculation) but fails due to invalid numeric operations.


    Solution

    1. Check Condition Records and Pricing Procedure:

      • Verify that all condition records used in the pricing procedure have valid, non-zero values.
      • Ensure that no condition has zero quantity or zero price where it should not.
      • Check for any custom formulas or user exits that might cause division by zero or invalid calculations.
    2. Review Master Data:

      • Inspect material master, customer master, and info records for missing or zero values that might affect pricing.
      • Confirm that relevant fields (e.g., base quantity, price unit) are correctly maintained.
    3. Analyze Pricing Procedure:

      • Look for any steps in the pricing procedure that might cause arithmetic errors.
      • Check for condition types with formulas or scales that might lead to division by zero.
    4. Debugging:

      • If standard checks do not resolve the issue, debugging the pricing routine or user exit can help identify the exact calculation causing the error.
      • Use transaction codes like VK11/VK12 to check condition records and VA02 to reproduce the error.
    5. SAP Notes and Support:

      • Search SAP Notes for known issues related to WSD_MESSAGE155.
      • Apply any relevant patches or corrections if the error is due to a known bug.

    Related Information

    • Transaction Codes:

      • VA01 / VA02 / VA03 – Sales order processing (where pricing recalculation happens)
      • VK11 / VK12 / VK13 – Condition record maintenance
      • MM02 – Material master data maintenance
    • Common Modules Involved:

      • SD (Sales and Distribution)
      • MM (Materials Management)
      • Pricing and Condition Technique
    • SAP Notes:

      • Check SAP Service Marketplace or SAP ONE Support Launchpad for notes referencing WSD_MESSAGE155 or pricing arithmetic errors.
    • User Exits / Enhancements:

      • Custom pricing routines or user exits (e.g., USEREXIT_PRICING_PREPARE_TKOMK or USEREXIT_PRICING_CALC) can cause such errors if not properly handling zero or null values.

    Summary

    WSD_MESSAGE155 indicates an arithmetic error during price recalculation, often caused by zero or invalid values in pricing conditions or master data. The solution involves verifying condition records, pricing procedures, and master data for correctness, and debugging custom code if necessary. Always ensure no division by zero or invalid numeric operations occur in pricing calculations.

    • 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
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