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

Function Module For Compression of output HTML file

Former Member
0 Likes
380

We would to compress a HTML file that is created during a daily batch run so that it can be sent to the concerned users by email.

THerefore we are looking for a Function Module and code that can do this for us.

Please help.

You can contact me at [email protected]

Thanks.

Suresh Rao

We would to compress a HTML file that is created during a daily batch run so that it can be sent to the concerned users by email.

THerefore we are looking for a Function Module and code that can do this for us.

Please help.

You can contact me at [email protected]

Thanks.

Suresh Rao

1 REPLY 1
Read only

Former Member
0 Likes
332

Hi,

use FM table_compress ,table_decompress

CALL FUNCTION 'TABLE_COMPRESS'

TABLES

IN = LISTOBJECT

OUT = COMP_out

EXCEPTIONS

COMPRESS_ERROR = 1

OTHERS = 2.

CALL FUNCTION 'TABLE_DECOMPRESS'

TABLES IN = COMP_OUT

OUT = COMP_IN.

Regards

amole