SAP ABAP SQL EXCEPTIONS
Get Example source ABAP code based on a different SAP table
AB_SQL - Exceptions
Catchable Exceptions
Reason for error:
A general database error occurred. Runtime error:
Reason for error:
Error in module Runtime error:
Reason for error:
No data found for the specified key. Runtime error:
Reason for error:
Unexpected end of data when accessing a table. Runtime error:
Reason for error:
The key for a table was not completely specified. Runtime error:
Reason for error:
An invalid database cursor was used. Runtime error:
Reason for error:
An attempt was made to access a closed database cursor. Runtime error:
Reason for error:
The length of an ABAP target field does not match the size of the database field. Runtime error:
Reason for error:
The database column whose values are to be aggregated does not have a numeric type. Runtime error:
Reason for error:
The database column whose values are to be aggregated does not have a numeric type. Runtime error:
Reason for error:
Search pattern not specified in a character literal. Runtime error:
Reason for error:
A token cannot be interpreted as a literal or in the current context of valid variable names. Runtime error:
Reason for error:
A table name is too long. Runtime error:
Runtime error:
A field name is too long. Runtime error:
Reason for error:
No table exists with the specified name. Runtime error:
Reason for error:
A field name is ambiguous. Runtime error:
Reason for error:
No column exists with the specified name. Runtime error:
Reason for error:
The specified table is not declared as a table or view in the ABAP Dictionary. Runtime error:
Reason for error:
An attempt was made to select the sum of a non-numeric field. Runtime error:
Reason for error:
An attempt was made to select the average of a non-numeric field. Runtime error:
Reason for error:
An attempt was made to create an aggregate function using a Runtime error:
Reason for error:
An attempt was made to sort the values of a Runtime error:
Reason for error:
An attempt was made to use the addition Runtime error:
Reason for error:
An alias is too long. Runtime error:
Reason for error:
An attempt was made to sort the values of a Runtime error:
Reason for error:
An attempt was made to use a Runtime error:
Reason for error:
A pattern specified in Runtime error:
Reason for error:
A field, whose value is to be changed with Runtime error:
Reason for error:
An error occurred while parsing a dynamic entry. Runtime error:
Reason for error:
The keyword Runtime error:
Reason for error:
The logical expression has incorrect parentheses. Runtime error:
Reason for error:
An unknown aggregate function was found. Runtime error:
Reason for error:
The operator Runtime error:
Reason for error:
The operator Runtime error:
Reason for error:
The logical expression contains a text field literal that does not have a closing quotation mark. Runtime error:
Reason for error:
The logical expression ends unexpectedly. Runtime error:
Reason for error:
The Escape character is missing after the addition Runtime error:
Reason for error:
An operator is missing in the logical expression. Runtime error:
Reason for error:
A literal or name of an ABAP variable is missing in the logical expression. Runtime error:
Reason for error:
The logical expression has incorrect parentheses. Runtime error:
Reason for error:
The logical expression contains a text field literal that does not have a closing quotation mark. Runtime error:
Reason for error:
An unknown operator is used in the logical expression. Runtime error:
Reason for error:
An alias is missing. Runtime error:
Reason for error:
A column from the right side of a Runtime error:
Reason for error:
Syntax error when the addition Runtime error:
Runtime error:
Runtime error:
Runtime error:
Runtime error:
The following exceptions can only occur when using the statement
Reason for error:
An attempt was made to change a database field using an operator other than Runtime error:
Reason for error:
An unknown operator was used in the statement Runtime error:
Reason for error:
A literal or name of an ABAP variable is missing in the statement Runtime error:
Reason for error:
The statement Runtime error:
Reason for error:
A database feature is used that is not supported by the current database system. Runtime error:
Non-catchable Exceptions
Reason for error:
Invalid call of the database interface. Runtime error:
Reason for error:
Insufficient memory is available for the statement. Runtime error:
Reason for error:
Data area passed is too short for access to the table. Runtime error:
Reason for error:
The structure of a table is inconsistent with the dictionary. Runtime error:
Reason for error:
The sort order specified for a table is not possible. Runtime error:
Reason for error:
Error when accessing the buffer of a table. Runtime error:
Reason for error:
A table is not known or does not exist. Runtime error:
Reason for error:
Internal error when accessing a table. Runtime error:
Reason for error:
Unexpected return code when accessing a table. Runtime error:
ABAP_NONCAT_END