on 03-06-2006 4:44 PM
Hi,
I have tried to use the classes,
cl_abap_zip
CL_ABAP_GZIP
CL_ABAP_GZIP_BINARY_STREAM
CL_ABAP_UNGZIP_BINARY_STREAM
I use winzip 8.1 sr1
SAP XI SP14
status report
cl_abap_zip - fails to read a file created with winzip
cl_abap_zip - can create a file that may be opened with winzip
cl_abap_zip can zip and then unzip the just zipped data, it is COMPATIBLE WITH ITSELF
CL_ABAP_GZIP - can not read files created with gnu gzip, nor write files that can be read with gnu gzip
CL_ABAP_GZIP - can gzip and then ungzip the just gzipped data, it is COMPATIBLE WITH ITSELF
CL_ABAP_GZIP_BINARY_STREAM CL_ABAP_UNGZIP_BINARY_STREAM both hangs when trying to use the _end method
I'm using gui_upload and gui_download to create the files, which works fine, except for big files, this is why you want to use compression.
If someone has useful working examples, that would be appreciated.
/Otto
Sap was creating gzip without header info. Please check SAP Note 2475108 for fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is an abap implementation of gzip / gunzip. Enjoy.
If you find it useful, please post a followup. The same goes if you find bugs, or make any improvements. As usual without any warranty, use at your own risk.
It is useful when you need to upload hughe file with gui_upload.
[SCN Wiki GZIP|http://wiki.sdn.sap.com/wiki/display/profile/GZIP]
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.