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

Creating a compressed file to the application server

Former Member
0 Likes
1,546

Hi,

i try to write a compressed file with OPEN DATASET into the filesystem of the applicationserver.

Im not sure to use a filter from the OPEN DATASET or the class CL_ABAP_GZIP.

Has somebody experience?

Regards,

Stefan

Message was edited by: Stefan Gerschler

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
852

Hi Stefan,

for unix-systems you can say:

OPEN DATASET file FOR OUTPUT FILTER 'compress'.

it works excellent !

regards Andreas

5 REPLIES 5
Read only

andreas_mann3
Active Contributor
0 Likes
853

Hi Stefan,

for unix-systems you can say:

OPEN DATASET file FOR OUTPUT FILTER 'compress'.

it works excellent !

regards Andreas

Read only

0 Likes
852

Hi Andreas,

thank you very much. This saves me a lot of work.

Regards,

Stefan

Read only

0 Likes
852

Hi all,

Thankx for ur reply.

I have the data in the internal table. I am using the standard function module SO_DOCUMENT_SEND_API1 to send that internal table data as attachment to a mail receipient. Now before sending the mail i need to compress the data in the internal table.

I must not store that data in the application server.

Arul Jothi

Read only

0 Likes
852

Hi Arul.

try fm TABLE_COMPRESS

Andreas

Read only

Former Member
0 Likes
852

See the thread above.

/Otto