Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

abap_gzip_text_stream

Former Member
0 Likes
548

Hello everybody!

as I need to create a very big GZIP file which cannot be processed with CL_ABAP_ZIP, I found the class "abap_gzip_text_stream". Unfortunately I don't understand, how to use this stream zip class. I need to instantiate a buffer and a handler to process the data but I didn't find any examples for this instantiation process.

Has anybody already used this class and can post me a code example?

Thanks for your help!

Best regards

Markus

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
506

Hi Markus,

a 'big' file is optimally handled by the (unix?) operrating system. You can use the FILTER addition of OPEN DATASET command to pipe the file through operating system GZIP wich will be faster any way.

Regards,

Clemens

Hello everybody!

as I need to create a very big GZIP file which cannot be processed with CL_ABAP_ZIP, I found the class "abap_gzip_text_stream". Unfortunately I don't understand, how to use this stream zip class. I need to instantiate a buffer and a handler to process the data but I didn't find any examples for this instantiation process.

Has anybody already used this class and can post me a code example?

Thanks for your help!

Best regards

Markus

2 REPLIES 2
Read only

Clemenss
Active Contributor
0 Likes
507

Hi Markus,

a 'big' file is optimally handled by the (unix?) operrating system. You can use the FILTER addition of OPEN DATASET command to pipe the file through operating system GZIP wich will be faster any way.

Regards,

Clemens

Read only

Former Member
0 Likes
506

That works! Thanks a lot!