CL_ABAP_UNGZIP_TEXT_STREAM - Class for Text Decompression (UnGzip Text Streaming)
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
The methods of this class enable you to decompress texts (in X fields or XSTRINGS) compressed using GZIP portion by portion.
- CONSTRUCTOR
- SET_OUT_BUF
- Makes an output buffer available
- UNGZIP_TEXT_STREAM
- Transfer of text segments to be decompressed
- UNGZIP_TEXT_STREAM_END
- Last transfer and completion of decompression
When the output buffer is filled, a callback method is called. This method must implement the method use_out_buf of the interface IF_ABAP_UNGZIP_TEXT_HANDLER.
Relationships
Example
CLASS user_outbuf DEFINITION.
PUBLIC SECTION.
INTERFACES if_abap_ungzip_text_handler.
ENDCLASS.
CLASS user_outbuf IMPLEMENTATION.
METHOD if_abap_ungzip_text_handler~use_out_buf.
.... handle out buffer ...
ENDMETHOD.
ENDCLASS.
DATA: uref TYPE REF TO user_outbuf.
CREATE OBJECT uref.
CREATE OBJECT csref
EXPORTING CONVERSION = 'DEFAULT'
OUTPUT_HANDLER = uref.
CALL METHOD csref->decompress_text_stream
EXPORTING GZIP_IN = ingzip1 "some zipped text
GZIP_IN_LEN = -1.
CALL METHOD csref->decompress_text_stream_end.
EXPORTING GZIP_IN = ingzip2 "some more zipped text
GZIP_IN_LEN = -1.
Notes
Further information
For further information, refer to the individual methods.
ROGBILLS - Synchronize billing plans BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2203 Date: 20120526 Time: 083422 triton ( 41 ms )






