ueb-abfb-sysexc

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


DATA_LENGTH_NEGATIVE
Invalid substring access: Length negative

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


DATA_LENGTH_0
Invalid substring access: Length 0

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


DATA_LENGTH_TOO_LARGE
Invalid substring access: Length too long

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


DATA_OFFSET_NEGATIVE
Invalid substring access: Offset negative

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


DATA_OFFSET_LENGTH_TOO_LARGE
Invalid substring access: Offset plus length too long

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


DATA_OFFSET_LENGTH_NOT_ALLOWED
Invalid substring access: Invalid type

Exception class: CX_SY_OFFSET_NOT_ALLOWED


DATASET_CANT_CLOSE
File could not be closed; there may be no more space in the file system

Exception class: CX_SY_FILE_CLOSE


DATASET_CANT_OPEN
File cannot be opened

Exception class: CX_SY_FILE_OPEN


DATASET_NO_PIPE
OPEN DATASET with the addition FILTER not supported on the current operating system.

Exception class: CX_SY_PIPES_NOT_SUPPORTED


DATASET_NO_POSITION
No access possible to current read/write position in the file

Exception class: CX_SY_FILE_POSITION


DATASET_NOT_OPEN
File not open.

Exception class: CX_SY_FILE_OPEN_MODE


DATASET_OFFSET_TOO_LARGE
Specified offset exceeds system limit

Exception class: CX_SY_FILE_POSITION


DATASET_PIPE_CLOSED
Pipe for file closed.

Exception class: CX_SY_PIPE_REOPEN


DATASET_READ_ERROR
File read error

Exception class: CX_SY_FILE_IO


DATASET_READ_ONLY
File open for reading only

Exception class: CX_SY_FILE_OPEN_MODE


DATASET_SEEK_ERROR
Error when positioning in file

Exception class: CX_SY_FILE_POSITION


DATASET_TOO_MANY_FILES
Maximum number of open files exceeded

Exception class: CX_SY_TOO_MANY_FILES


DATASET_WRITE_ERROR
File write error

Exception class: CX_SY_FILE_IO


DYN_CALL_METH_CLASSCONSTRUCTOR
An attempt was made to call the class constructor.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_CLASS_NOT_FOUND
An attempt was made to call a method from a nonexistent class.

Exception class: CX_SY_DYN_CALL_ILLEGAL_CLASS


DYN_CALL_METH_CONSTRUCTOR
An attempt was made to call the instance constructor.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_EXCP_NOT_FOUND
An attempt was made to catch an unknown exception.

Exception class: CX_SY_DYN_CALL_EXCP_NOT_FOUND


DYN_CALL_METH_NOT_FOUND
An attempt was made to call an unknown method.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_NOT_IMPLEMENTED
An attempt was made to call an unimplemented method.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_NO_CLASS_METHOD
An attempt was made to call an instance method from a class.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_PARAM_KIND
An attempt was made to pass a parameter with an incorrect parameter category.

Exception class: CX_SY_DYN_CALL_ILLEGAL_TYPE


DYN_CALL_METH_PARAM_LITL_MOVE
An attempt was made to pass a constant actual parameter to a formal EXPORTING, CHANGING, or RETURNING parameter.

Exception class: CX_SY_DYN_CALL_ILLEGAL_TYPE


DYN_CALL_METH_PARAM_MISSING
A mandatory parameter was not filled.

Exception class: CX_SY_DYN_CALL_PARAM_MISSING


DYN_CALL_METH_PARAM_NOT_FOUND
An attempt was made to pass an unknown parameter.

Exception class: CX_SY_DYN_CALL_PARAM_NOT_FOUND


DYN_CALL_METH_PARAM_TAB_TYPE
An attempt was made to pass a parameter with an incorrect table type.

Exception class: CX_SY_DYN_CALL_ILLEGAL_TYPE


DYN_CALL_METH_PARAM_TYPE
An attempt was made to pass a parameter with an incorrect type.

Exception class: CX_SY_DYN_CALL_ILLEGAL_TYPE


DYN_CALL_METH_PARREF_INITIAL
An initial data reference was passed for a mandatory parameter.

Exception class: CX_SY_DYN_CALL_PARAM_MISSING


DYN_CALL_METH_PRIVATE
An attempt was made to call a private method externally.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_PROTECTED
An attempt was made to call a protected method externally.

Exception class: CX_SY_DYN_CALL_ILLEGAL_METHOD


DYN_CALL_METH_REF_IS_INITIAL
An attempt was made to call a method on an initial reference.

Exception class: CX_SY_REF_IS_INITIAL


EXPORT_BUFFER_NO_MEMORY
The EXPORT data cluster is too big for the application buffer.

Exception class: CX_SY_EXPORT_BUFFER_NO_MEMORY


EXPORT_DATASET_CANNOT_OPEN
The IMPORT/EXPORT statement could not open the file.

Exception class: CX_SY_FILE_OPEN


EXPORT_DATASET_WRITE_ERROR
The export statement could not write to the file.

Exception class: CX_SY_FILE_IO


GENERATE_SUBPOOL_DIR_FULL
No further temporary subroutine pools can be generated.

Exception class: CX_SY_GENERATE_SUBPOOL_FULL


IMPORT_ALIGNMENT_MISMATCH
Import error; same sequence of components but type conflicts exist or mismatches with structured data types

Exception class: CX_SY_IMPORT_MISMATCH_ERROR


IMPORT_WRONG_END_POS
Import error; dataset has a different length.

Exception class: CX_SY_IMPORT_MISMATCH_ERROR


MOVE_CAST_ERROR
Type conflict in assignment between reference variables (only operator ?= or obsolete statement MOVE...?TO...)

Exception class: CX_SY_MOVE_CAST_ERROR


OPEN_DATASET_NO_AUTHORITY
No authorization for accessing file

Exception class: CX_SY_FILE_AUTHORITY


OPEN_PIPE_NO_AUTHORITY
No authorization for access to file (OPEN DATASET...FILTER...)

Exception class: CX_SY_FILE_AUTHORITY


PERFORM_PROGRAM_NAME_TOO_LONG
Invalid program name in the PERFORM statement

Exception class: CX_SY_PROGRAM_NOT_FOUND


REFI_WRONG_SECTION
Incorrect offset/length specified in the REPLACE statement

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


REPLACE_INFINITE_LOOP
SECTION with length 0 in the REPLACE statement

Exception class: CX_SY_REPLACE_INFINITE_LOOP


RMC_COMMUNICATION_FAILURE
Communication error in Remote Method Call

Exception class: CX_SY_RMC_COMM_FAILURE


RMC_INVALID_STATUS
State error in Remote Method Call

Exception class: CX_SY_RMC_INVALID_STATUS


RMC_SYSTEM_FAILURE
System error in Remote Method Call

Exception class: CX_SY_RMC_SYSTEM_FAILURE


STRING_LENGTH_NEGATIVE
Invalid access with negative length to a string

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


STRING_LENGTH_TOO_LARGE
Invalid access to a string (length too long)

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


STRING_OFFSET_NEGATIVE
Invalid access negative offset to a string

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


STRING_OFFSET_TOO_LARGE
Invalid access to a string (offset too large)

Exception class: CX_SY_RANGE_OUT_OF_BOUNDS


STRING_OFFSET_LENGTH_TOO_LARGE
Invalid offset to a string (offset plus length too large)

Exception class: CX_SY_LOCALIZATION_ERROR


TEXTENV_INVALID
Error in configuration of the text environment (SET LOCALE...)

Exception class: CX_SY_LOCALIZATION_ERROR