MULTIPLY
Short Reference
ABAP Syntax MULTIPLY dobj1 BY dobj2.
What does it do? This statement has the same effect as the statement
dobj1 = dobj1 * dobj2.
The content of dobj1 is multiplied by the content of dobj2
and the result is assigned to dobj1 . The data objects
dobj1 and dobj2 have to be numeric.
Predefined functions or
functional methods cannot be
specified. The calculation type is
determined like an arithmetic expression .
ABAP_PGL Using Operator Format
Latest notes: One obsolete form of the statement MULTIPLY is
MULTIPLY-CORRESPONDING .
Runtime Exceptions Catchable Exceptions
CX_SY_ARITHMETIC_OVERFLOW
Reason for error: Overflow in conversion/arithmetic operation (type
p
)
Runtime error: BCD_OVERFLOW
Reason for error: Integer overflow in multiplication
Runtime error: COMPUTE_INT_TIMES_OVERFLOW
CX_SY_CONVERSION_OVERFLOW
Reason for error: Overflow in conversion/arithmetic operation (type
p
with specified length)
Runtime error: BCD_FIELD_OVERFLOW
Non-catchable Exceptions
Reason for error: p field does not contain the correct BCD
format
Runtime error: BCD_BADDATA
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved