Get Example source ABAP code based on a different SAP table
Article
Alphabetical Overview of Catchable Runtime Errors The following is an alphabetical list of the obsolete catchable runtime errors. For each catchable runtime error, the associated predefined exception class used to handle the correponding runtime error is specified. If an exception class is assigned to more than one catchable runtime error, it may contain as many message texts as required. These can be found in Class Builder on the Texts tab. Almost all the runtime errors listed here are organized together in exception groups. These exception groups are also assigned those ABAP keywords for which the runtime errors can be caught.
ASSIGN_CASTING_ILLEGAL_CAST The components of the source field type and the target type that are strings, tables, or references do not have exactly the same offset and type. Exception class: CX_SY_ASSIGN_CAST_ILLEGAL_CAST
ASSIGN_CASTING_UNKNOWN_TYPE The type specified at runtime is unknown. Exception class: CX_SY_ASSIGN_CAST_UNKNOWN_TYPE
ASSIGN_FIELD_NOT_IN_RANGE The field is not within the RANGE specified. Exception class: CX_SY_ASSIGN_OUT_OF_RANGE
BCD_FIELD_OVERFLOW Overflow after conversion/arithmetic operation (type p, with specified length) Exception class: CX_SY_CONVERSION_OVERFLOW
BCD_OVERFLOW Overflow after conversion/arithmetic operation (type p) Exception class: CX_SY_ARITHMETIC_OVERFLOW
BCD_ZERODIVIDE Division by 0 (type p) Exception class: CX_SY_ZERODIVIDE
COMPUTE_ACOS_DOMAIN Invalid call of the numerical function acos Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_ASIN_DOMAIN Invalid call of the numerical function asin Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_BCD_OVERFLOW Overflow after arithmetic operation (all operands of type p) Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_COSH_OVERFLOW Overflow after numerical function cosh Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_COS_DOMAIN Invalid call of the numerical function cosh Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_COS_LOSS Result of the function cos is not precise Exception class: CX_SY_PRECISION_LOSS
COMPUTE_EXP_RANGE Overflow after numerical function exp Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_FLOAT_DIV_OVERFLOW Overflow after division (type f) Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_FLOAT_MINUS_OVERFLOW Overflow after subtraction (type f) Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_FLOAT_PLUS_OVERFLOW Overflow after addition (type f) Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_FLOAT_TIMES_OVERFLOW Overflow after multiplication (type f) Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_FLOAT_ZERODIVIDE Division by zero (type f) Exception class: CX_SY_ZERODIVIDE
COMPUTE_INT_ABS_OVERFLOW Integer overflow after calculation of absolute value Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_INT_DIV_OVERFLOW Integer overflow after division Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_INT_MINUS_OVERFLOW Integer overflow after subtraction Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_INT_PLUS_OVERFLOW Integer overflow after addition Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_INT_TIMES_OVERFLOW Integer overflow after multiplication Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_INT_ZERODIVIDE Division by 0 (type I) Exception class: CX_SY_ZERODIVIDE
COMPUTE_LOG10_ERROR Invalid call of the numerical function log10 Exception classes: CX_SY_ARITHMETIC_OVERFLOW, CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_LOG_ERROR Invalid call of the numerical function log Exception classes: CX_SY_ARITHMETIC_OVERFLOW, CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_POW_DOMAIN Invalid argument after power operation Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_POW_RANGE Overflow after power operation Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_SINH_OVERFLOW Overflow after numerical function sinh Exception class: CX_SY_ARITHMETIC_OVERFLOW
COMPUTE_SIN_DOMAIN Invalid call of the numerical function sin Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_SIN_LOSS Result of the function sin is not precise Exception class: CX_SY_PRECISION_LOSS
COMPUTE_SQRT_DOMAIN Invalid call of the numerical function sqrt Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_TAN_DOMAIN Invalid call of the numerical function tan Exception class: CX_SY_ARG_OUT_OF_DOMAIN
COMPUTE_TAN_LOSS Result of the function tan is not precise Exception class: CX_SY_PRECISION_LOSS
CONNE_IMPORT_WRONG_COMP_DECS Import error; a component of a structured type in the data has incorrect decimal places Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_COMP_LENG Import error; a component of a structured type in the data has an incorrect length Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_COMP_TYPE Import error; a component of a structured type in the data has an incorrect type Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_FIELD_DECS Import error; a field type in the data has incorrect decimal places Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_FIELD_LENG Import error; a field in the data has an incorrect length Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_FIELD_TYPE Import error; a field in the data has an incorrect type Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_OBJECT_TYPE Import error; type conflict between simple and structured data types Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONNE_IMPORT_WRONG_STRUCTURE Import error; type conflict between structured objects Exception class: CX_SY_IMPORT_MISMATCH_ERROR
CONVT_CODEPAGE Character set conversion not possible for one or more characters Exception class: CX_SY_CONVERSION_CODEPAGE
CONVT_CODEPAGE_INIT Conversion of texts from code page to code page not supported Exception class: CX_SY_CODEPAGE_CONVERTER_INIT
CONVT_NO_NUMBER Value to be converted cannot be interpreted as a number Exception class: CX_SY_CONVERSION_NO_NUMBER
CONVT_OVERFLOW Overflow after conversion (all types, not type p) Exception class: CX_SY_CONVERSION_OVERFLOW
CREATE_DATA_ILLEGAL_DECIMALS Invalid value for the addition DECIMALS Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_DATA_ILLEGAL_INIT_SIZE Invalid value for the addition INITIAL SIZE Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_DATA_ILLEGAL_LENGTH Invalid value for the addition LENGTH Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_DATA_LEN_NOT_ALLOWED The addition LENGTH was used for a type other than c, n, x, or p. Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_DATA_NOT_ALLOWED_TYPE The type specified dynamically in the addition TYPE is not fully typed Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_DATA_UNKNOWN_TYPE The type specified in the addition TYPE is unknown Exception class: CX_SY_CREATE_DATA_ERROR
CREATE_OBJECT_CLASS_ABSTRACT An attempt was made to instantiate an abstract class. Exception class: CX_SY_CREATE_OBJECT_ERROR
CREATE_OBJECT_CLASS_NOT_FOUND The class specified by the dynamic CREATE OBJECT was not found. Exception class: CX_SY_CREATE_OBJECT_ERROR
CREATE_OBJECT_CREATE_PRIVATE An attempt was made to create an object of a class defined as ' CREATE PRIVATE'. Exception class: CX_SY_CREATE_OBJECT_ERROR
CREATE_OBJECT_CREATE_PROTECTED An attempt was made to create an object of a class defined as ' CREATE PROTECTED'. Exception class: CX_SY_CREATE_OBJECT_ERROR