Using Mathematical Functions

To specify a mathematical expression, you can choose an operation from a set of built-in ABAP functions.

Syntax

[COMPUTE] <n> = <func>( <m> ).

The blanks between the parentheses and the argument <m> are obligatory.

The result of calling the function <func> with the argument <m> is assigned to <n>.

The available functions are described in the following topics:

Functions for all numeric data types

Floating-Point Functions