SAP® Documentation

Single view

CL_ABAP_GZIP - Class for (De)Compression (GZIP)

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This class enables you to perform data compression with the DEFLATE algorithm as well as create and decode GZIP files.

The DEFLATE algorithm is used in different file formats, including GZIP and ZIP for data compression.

The following methods enable you to compress or decompress texts (as C strings or C fields) or binary data (as X strings or X fields) using the DEFLATE algorithm.

  • COMPRESS_TEXT
  • COMPRESS_BINARY
  • DECOMPRESS_TEXT
  • DECOMPRESS_BINARY

The following methods create or decode GZIP files in accordance with the format specification in RFC 1952, and allow you to access the relevant fields there.

  • COMPRESS_BINARY_WITH_HEADER
  • DECOMPRESS_BINARY_WITH_HEADER

The class can be used to create and decode ZIP files. One of the main differences between ZIP files and GZIP files is that ZIP files can contain multiple compressed files.

Relationships

Example

Notes

Further information

For further information, refer to the individual methods.






PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1361 Date: 20190617 Time: 152124     sap01-206 ( 9 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.