Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SD_EXPRESSION - Messages processing AST expressions
Message number: 018
Message text: Maximal precision 37 exceeded in arithm. expression
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.
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.
SD_EXPRESSION018
- Maximal precision 37 exceeded in arithm. expression ?The SAP error message SD_EXPRESSION018: Maximal precision 37 exceeded in arithmetic expression typically occurs when a calculation in an SAP system exceeds the maximum precision allowed for numeric values. This can happen in various scenarios, particularly in the Sales and Distribution (SD) module, where calculations involving pricing, discounts, or other financial figures are performed.
Cause:
- High Precision Calculations: The error is often triggered when the result of an arithmetic operation (like multiplication or division) results in a number that has more than 37 significant digits. This can happen when dealing with large quantities, high unit prices, or complex pricing conditions.
- Data Type Limitations: The underlying data types used in the calculations may have limitations on the number of digits they can handle. For example, certain fields may be defined to hold a maximum of 37 digits, and exceeding this limit will trigger the error.
- Complex Pricing Conditions: If there are multiple pricing conditions or complex calculations involved in determining the final price, the cumulative effect can lead to exceeding the precision limit.
Solution:
- Review Pricing Conditions: Check the pricing conditions and calculations involved in the transaction. Simplifying the pricing structure or reducing the number of conditions may help.
- Adjust Quantity or Price: If possible, adjust the quantities or prices involved in the calculation to ensure that the resulting value does not exceed the precision limit.
- Check Custom Code: If there is any custom code or user exits that manipulate pricing or calculations, review this code to ensure it does not lead to excessive precision.
- Use Rounding: Implement rounding logic where appropriate to reduce the number of significant digits in the calculations.
- Consult SAP Notes: Check for any relevant SAP Notes or updates that may address this issue. SAP may provide patches or recommendations for handling precision issues.
- Testing: After making adjustments, thoroughly test the changes in a development or quality assurance environment before moving to production.
Related Information:
If the issue persists after trying the above solutions, it may be beneficial to engage with SAP support or a consultant who specializes in SAP SD to further diagnose and resolve the issue.
Get instant SAP help. Sign up for our Free Essentials Plan.
SD_EXPRESSION017
Division x/y is only allowed for FLTP
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_EXPRESSION016
In arithmetic expressions the operators *, +, -, / are supported
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_EXPRESSION019
Maximal scale 37 for DEC exceeded in arithm. expression
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_EXPRESSION020
Division is only allowed for FLTP (left operand here is of type &)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.