on 07-30-2012 7:50 AM
Hi all,
I am using class cl_abap_gzip=>decompress_binary for while converting Hex to String,
but getting dump saying as below,
This exception, which is assigned to class 'CX_BSP_WD_EXC_WRAPPER'
within a CLEANUP block, but was not caught there. Since the CLEANUP block...
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SY_COMPRESSION_ERROR", which was raised in the program
"CL_ABAP_GZIP==================CP",
specifically in line 2 of the (include) program
"CL_ABAP_GZIP==================CM003".
The cause of the exception was:
The function IctDecompressStream returns the return code 30
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_BSP_WD_EXC_WRAPPER"
"CL_BSP_WD_ERROR_PAGE_WRITER===CP" or "CL_BSP_WD_ERROR_PAGE_WRITER===CM002"
"WRITE_ERROR_PAGE"
How to catch this error using try & catch,
I tried as below, but no use...
***converting hexa to binary
TRY.
CALL METHOD cl_abap_gzip=>decompress_binary
EXPORTING
gzip_in = temp_xstring
* GZIP_IN_LEN = -1
IMPORTING
raw_out = temp_xstring
* RAW_OUT_LEN =
.
CATCH cx_parameter_invalid_range .
CATCH cx_sy_buffer_overflow .
CATCH cx_sy_compression_error.
CATCH cx_bsp_wd_exc_wrapper.
ENDTRY.
Thanks,
Vjm
Hi Vjm ,
You can try FM scms_xstring_to_binary for converting hexa data to binary format.
You can use CX_ROOT exception to catch all types of exceptions .
Regards,
Nithish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.