COMPUTE_INT_ABS_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW COMPUTE_INT_DIV_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW COMPUTE_INT_MINUS_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW COMPUTE_INT_PLUS_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW COMPUTE_INT_TIMES_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW COMPUTE_LOG10_ERROR CX_SY_ARITHMETIC_OVERF...
通过ST22查询报错消息,CX_SY_CONVERSION_NO_NUMBER即是报错时指向的错误类,其实类似于这样的类我们也可以使用它的超类CX_ROOT进行捕捉异常,这样超类下面的所以异常类都能处理捕获相应的异常 然后在程序中做catch处理,便能避免造成dump了 DATA:lv_cs TYPE c LENGTH4, lv_bcs TYPE i, lv_err_text TYPEstring, *...
CX_SY_ARITHMETIC_OVERFLOW,CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARITHMETIC_OVERFLOW,CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARITHMETIC_OVERFLOW CX_SY_ARITHMETIC_OVERFLOW CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARG_OUT_OF_DOMAIN CX_SY_ARG_OUT_OF_DOMAIN CX_SY...
(Associated superclass:CX_SY_CONVERSION_ERROR Exception group: CREATE_DATA_ERRORS (Associated superclass:CX_SY_CREATE_ERROR) This group contains runtime errors that may occur during the creation of data objects. Exception group: CREATE_OBJECT_ERRORS (Associated superclass:CX_SY_CREATE_ERROR) This ...
catch cx_sy_arithmetic_error into MYREF. ERR_TEXT = MYREF->GET_TEXT( ). endtry. Handling exceptions as catchable runtime errors (向后兼容6.10) 此异常处理sap建议使用try...endtry代替(错误和异常类对应关系参见第5部分)。 data RESULT type I. ...
CATCH CX_SY_CONVERSION_CODEPAGE . CATCH CX_PARAMETER_INVALID_TYPE . CATCH CX_PARAMETER_INVALID_RANGE . ENDTRY. string = t_out-output . Before Unicode: (from string to structure) wa_structure = string. Resolution: data : cbout TYPE REF TO cl_abap_conv_out_ce, ...
通常可以这么处理: 1.数据库异常: DATA: lcx_error TYPE REF TO cx_root. "cx_sy_sql_error . "cx_sy_open_sql_db. DATA i_tab LIKE TABLE OF spfli WITH HEADER LINE. DATA err_text TYPE c LENGTH 1000. TRY. INSERT spfli FROM TABLE i_tab. CATCH cx_sy_open_sql_db INTO lcx_error....
| | |–CX_SY_CONVERSION_CODEPAGE | | | | | |–CX_SY_CONVERSION_BASE64 | | | | | |–CX_SY_CONV_ILLEGAL_DATE_TIME | | | |–CX_SY_CREATE_ERROR | | | | | |–CX_SY_CREATE_OBJECT_ERROR | | | | | |–CX_SY_CREATE_DATA_ERROR ...
Runtime Error:CONVT_CODEPAGE_INIT CX_SY_CONVERSION_CODEPAGE Cause:Internal error in the conversion. Runtime Error:CONVT_CODEPAGE CX_SY_FILE_AUTHORITY Cause:No authorization for access to file Runtime Error:OPEN_DATASET_NO_AUTHORITY Cause:Authorization for access to this file is missing inOPEN ...
CX_SY_CONVERSION_OVERFLOW | | | | | |--CX_SY_CONVERSION_NO_NUMBER | | | | | |--CX_SY_CONVERSION_CODEPAGE | | | | | |--CX_SY_CONVERSION_BASE64 | | | | | |--CX_SY_CONV_ILLEGAL_DATE_TIME | | | |--CX_SY_CREATE_ERROR | | | | | |--CX_SY_CREATE_OBJECT_ERROR | ...