Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Numerical Calculations 

Statements for Numerical Calculations

The most general statement for calculations is

This statement enables you to assign the result of any calculation expression to a target field. Arithmetic expressions are particularly useful for numerical calculations.

Alongside the arithmetic expressions in COMPUTE there are four special statements for the four basis calculation operations. You can use the following key words to perform the arithmetic operations add, subtract, multiply, and divide:

Other versions: 7.31 | 7.40 | 7.54


Note

In addition to the statements displayed here, there is also a set of obsolete calculation statements.

Continue

COMPUTE

ADD

SUBTRACT

MULTIPLY

DIVIDE