SAP MATHEMATICAL FUNCTIONS



Get Example source ABAP code based on a different SAP table
  



Numeric Functions ( ABAP_NUMFUNC )
Numeric functions are a type of built-in function. The main argument of a numeric function must represent a numeric value. The data type of the return value is determined either by the argument of the function (overloaded functions) or by the function.
Outside of an arithmetic expression, the main argument of a numeric function must be a single numeric data object. Within an arithmetic expression, the following are possible as main arguments of a numeric function:
Numeric data object
Arithmetic expression
Built-in function
Functional method
The numeric functions are divided into:
General numeric functions
Numeric extremum functions
Floating point functions
Rounding functions

Catchable Exceptions
The catchable exceptions that can be raised during the calculation of a numeric function are subclasses of the classes CX_SY_ARITHMETIC_ERROR and CX_SY_CONVERSION_ERROR.