ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 6.20
New Treatable Exceptions in Release 6.20
1. Treatable Exceptions and Method Calls
2. Treatable Exceptions and Function Module Calls
3.Treatable Exceptions and Down Cast
4. Treatable Exceptions and Open SQL
5.Treatable Exceptions and CALL TRANSFORMATION
6. Treatable Exceptions and GENERATE REPORT|SUBROUTINE POOL
7.Treatable Exceptions and SCAN
8.Treatable Exceptions and EXPORT TO SHARED MEMORY
9.Treatable Exceptions and PROVIDE
Other versions: 7.31 | 7.40 | 7.54
Modification 1
Treatable Exceptions and Method Calls
The following exceptions can now be handled for a method call, having been assigned to existing exception classes:
-
CALL_METHOD_NOT_IMPLEMENTED
-
CALL_METHOD_NOT_ACCESSIBLE
-
CALL_METHOD_CONFLICT_TAB_TYPE
-
CALL_METHOD_CONFLICT_GEN_TYPE
-
CALL_METHOD_CONFLICT_TYPE
Modification 2
Treatable Exceptions and Function Module Calls
For CALL FUNCTION
the following
exceptions can now be handled, having been assigned to existing exception classes. Only for the first
two exceptions in the following list was the new exception class CX_SY_DYN_CALL_ILLEGAL_FUNC introduced:
- CALL_FUNCTION_NOT_ACTIVE
- CALL_FUNCTION_NOT_FOUND
- CALL_FUNCTION_PARM_MISSING
- CALL_FUNCTION_PARAM_NOT_FOUND
- CALL_FUNCTION_CONFLICT_GEN_TYP
- CALL_FUNCTION_CONFLICT_LENG
- CALL_FUNCTION_CONFLICT_TYPE
- CALL_CALL_FUNCTION_NO_VB
-
CALL_FUNCTION_WRONG_ALIGNMENT
Modification 3
Treatable Exceptions and Down Cast
For down casts, the following exceptions can now be handled, having been assigned to an existing exception class:
-
MOVE_CAST_ERROR_DYN
-
MOVE_CAST_REF_ONLY
Modification 4
Treatable Exceptions and Open SQL
In Open SQL, the following exceptions can now be handled, having been assigned to an existing exception class.
- ESCAPE_WITH_POOLTABLE
-
SAPSQL_CONNECTION_ILL_TABTYPE
Modification 5
Treatable Exceptions and CALL TRANSFORMATION
The following exception classes were introduced for the CALL TRANSFORMATION statement: CX_SY_CONVERSION_NO_RAW and CX_SY_CONVERSION_NO_DATE_TIME.
Modification 6
Treatable Exceptions and GENERATE REPORT | SUBROUTINE POOL
For the GENERATE REPORT|SUBROUTINE POOL statement, the exception class CX_SY_GEN_SOURCE_TOO_WIDE was introduced.
Modification 7
Treatable Exceptions and SCAN
For the SCAN
statement, the following exception class was introduced:CX_SY_SCAN_SOURCE_TOO_WIDE.
Modification 8
Treatable Exceptions and EXPORT TO SHARED MEMORY
For EXPORT TO SHARED MEMORY
,
the following exception was introduced:CX_SY_EXPORT_NO_SHARED_MEMORY.
Modification 9
Treatable Exceptions and PROVIDE
For the new variant of the PROVIDE
statement, the following exception classes were introduced: CX_SY_PROVIDE_INTERVAL_OVERLAP
and CX_SY_PROVIDE_TABLE_NOT_SORTED. The exceptions are not raised by the short form of PROVIDE
.