SAP Virtual/Onsite Trainings

Document Categories:

What's New?

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 


Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe  Unsubscribe 

Create ZIP files in front-end system using Class CL_ABAP_ZIP

...Previous

Step 9: Download the file in ZIP format.

     CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD(

      EXPORTING

        BIN_FILESIZE              = V_ZIP_SIZE

        FILENAME                  = V_DEST_FILEPATH

        FILETYPE                  = 'BIN'

      IMPORTING

        FILELENGTH                = V_FILESIZE

      CHANGING

        DATA_TAB                  = IT_ZIP_BIN_DATA ).

Step 10: Execute the Program

The output of the program is as shown below

Popup will be displayed as below for selecting the files that you want to ZIP.

I selected “File1” and “File2” text files.

Choose “Enter” or “Open” button.

Then a popup will be displayed as shown below to give name of the ZIP file and where you want to store the ZIP file. 

Here I have given ZIP file name as TEST_ZIP and path to store the ZIP files is under “Downloads”

Choose “Save” button.

A success message will be displayed saying that

Now go to the location where you stored ZIP file and check the created ZIP file.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image