rabax_compute

Get Example source ABAP code based on a different SAP table
  


INCLUDE



Runtime Exceptions

Catchable Exceptions



CX_SY_ARG_OUT_OF_DOMAIN
Reason for error:
Illegal argument in powers
Runtime error:
COMPUTE_POW_DOMAIN

CX_SY_ARITHMETIC_OVERFLOW
Reason for error:
Overflow in arithmetic operation (type p)
Runtime error:
BCD_OVERFLOW
Reason for error:
Overflow in arithmetic operation (all operands type p)
Runtime error:
COMPUTE_BCD_OVERFLOW
Reason for error:
Overflow in cosh
Runtime error:
COMPUTE_COSH_OVERFLOW
Reason for error:
Overflow or underflow in exp
Runtime error:
COMPUTE_EXP_RANGE
Reason for error:
Overflow in addition (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_ADD_OVERFLOW
Reason for error:
Overflow in subtraction (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_SUB_OVERFLOW
Reason for error:
Overflow in multiplication (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_MUL_OVERFLOW
Reason for error:
Overflow in division (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_DIV_OVERFLOW
Reason for error:
Overflow in division (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_DIV_OVERFLOW
Reason for error:
Overflow in division (type f)
Runtime error:
COMPUTE_FLOAT_DIV_OVERFLOW
Reason for error:
Overflow in subtraction (type f)
Runtime error:
COMPUTE_FLOAT_MINUS_OVERFLOW
Reason for error:
Overflow in addition (type f)
Runtime error:
COMPUTE_FLOAT_PLUS_OVERFLOW
Reason for error:
Overflow in multiplication (type f)
Runtime error:
COMPUTE_FLOAT_TIMES_OVERFLOW
Reason for error:
Overflow in |-2147483648|
Runtime error:
COMPUTE_INT_ABS_OVERFLOW
Reason for error:
Integer overflow in division
Runtime error:
COMPUTE_INT_DIV_OVERFLOW
Reason for error:
Integer overflow after subtraction
Runtime error:
COMPUTE_INT_MINUS_OVERFLOW
Reason for error:
Integer overflow while adding
Runtime error:
COMPUTE_INT_PLUS_OVERFLOW
Reason for error:
Integer overflow in multiplication
Runtime error:
COMPUTE_INT_TIMES_OVERFLOW
Reason for error:
Invalid call of log10
Runtime error:
COMPUTE_LOG10_ERROR
Reason for error:
Invalid call of log
Runtime error:
COMPUTE_LOG_ERROR
Reason for error:
Overflow or underflow in powers
Runtime error:
COMPUTE_POW_RANGE
Reason for error:
Overflow in sinh
Runtime error:
COMPUTE_SINH_OVERFLOW
Reason for error:
Overflow in function round or rescale
Runtime error:
COMPUTE_ROUND_RESCALE_OVERFLOW

CX_SY_CONVERSION_NO_NUMBER
Reason for error:
Operand cannot be interpreted as a number
Runtime error:
CONVT_NO_NUMBER

CX_SY_CONVERSION_OVERFLOW
Reason for error:
Overflow in arithmetic operation (type p, with specified length)
Runtime error:
BCD_FIELD_OVERFLOW
Reason for error:
Operand too big or (interim) result too big
Runtime error:
CONVT_OVERFLOW

CX_SY_PRECISION_LOSS
Reason for error:
Result of cos not exact
Runtime error:
COMPUTE_COS_LOSS
Reason for error:
Result of sin not exact
Runtime error:
COMPUTE_SIN_LOSS
Reason for error:
Result of tan not exact
Runtime error:
COMPUTE_TAN_LOSS

CX_SY_UNSUPPORTED_FUNCTION
Reason for error:
Invalid function for calculation type decfloat34
Runtime error:
COMPUTE_UNSUPPORTED_DECF_FUNC

CX_SY_ZERODIVIDE
Reason for error:
Division by 0 (type p)
Runtime error:
BCD_ZERODIVIDE
Reason for error:
Division by 0 (type f)
Runtime error:
COMPUTE_FLOAT_ZERODIVIDE
Reason for error:
Division by 0 (types (b, s), i)
int8)
Runtime error:
COMPUTE_INT_ZERODIVIDE
Reason for error:
Division by 0 (type decfloat)
Runtime error:
COMPUTE_DECFLOAT_ZERODIVIDE



Non-catchable Exceptions
Reason for error:
p field does not contain the correct BCD format
Runtime error:
BCD_BADDATA
Reason for error:
p field does not contain a correct sign
Runtime error:
BCD_NO_SIGN