Entering content frame

Background documentation Technical Notes about the Formula Operators Locate the document in its SAP Library structure

Test of <Expression> = 0

The test for whether a mathematical expression is 0 is used to avoid problems based on rounding operations through the inquiry abs (<Expression>) < 10**-6. In other words, all values in the interval [-10**-6, 10**-6] = [-0,000001; 0,000001] are taken as 0.

Result for Non-Defined Mathematical Operations

If an operation which is not allowed or not defined mathematically (for example, division by 0, square roots of negative values) is executed, the character for "division by 0" or "data does not exist" (see SAP Reference IMG ® Business Information Warehouse ® Reporting-relevant Settings ® General Reporting Settings ® Display of Numerical Values in the Business Explorer) is given and is not calculated further. This means that all formulas in which the incorrect formula appears are not calculated.

You can suppress this reaction that causes the expression to lead to errors by compounding the operators NDIV0() or NOERR() (see Data Function).

Caution

When you use these operators, check that the result can be interpreted meaningfully by the user, even in the case of errors.

ABAP Coding for Calculating Operators

In problematic cases, take a look at the functions of the operators in the ABAP coding (include LRRK0F10, form LOC_RECHNEN).

 

 

 

Leaving content frame