Skip to Content
author's profile photo Former Member
Former Member

To avoid dump while converting Hexadecimal to String using cl_abap_gzip=>decompress_binary

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
specifically in line 2 of the (include) program
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


How to catch this error using try & catch,

I tried as below, but no use...

***converting hexa to binary
CALL METHOD cl_abap_gzip=>decompress_binary
gzip_in = temp_xstring
* GZIP_IN_LEN = -1
raw_out = temp_xstring
CATCH cx_parameter_invalid_range .
CATCH cx_sy_buffer_overflow .
CATCH cx_sy_compression_error.
CATCH cx_bsp_wd_exc_wrapper.




Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2012 at 07:50 AM

    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 .



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.