‎2013 Feb 11 2:41 AM
Hi,
My program creates around 5 internal tables. And i would like to compress those internal tables into one zip file and download it to application server/presentation server.
Appricicate your ideas for this..
Moderator Message:We do not consider it good style to ask questions before trying to find the solution yourself. Please refer in your text also to what you have done already to solve the problem and what resources you have searched or used.
Message was edited by: Kesavadas Thekkillath
‎2013 Feb 11 3:15 AM
What server is it based on? On UNIX, it's as simple as adding ..filter 'compress' to your OPEN DATASET command to generated a GZIP compressed file. I'm not sure this works on Windows Server.
OPEN DATASET file FOR OUTPUT IN BINARY MODE FILTER 'compress'.
http://help.sap.com/abapdocu_702/en/abapopen_dataset_os_addition.htm#!ABAP_ADDITION_2@2@
‎2013 Feb 11 3:50 AM
Hi Ramesh,
If you look at class CL_ABAP_ZIP via SE24 you can see the interface available here to zip files. I believe the only methods you would potentially need to use are add & save.
Regards,
Ryan Crosby