‎2013 Feb 13 7:36 AM
Hi Experts,
Question :
I have a requirement where I need to download different Excel files using GUI_DOWNLOAD Function Module.Based on Performance which method is the best
1) Calling Function Modules no. times for each download.
2) Looping the Function Module and passing the file name.
Can anyone provide which is best based on performance , if none of these are best , please provide the solution for the Question.
Kindly provide me the answer,please.
Thanks & Regards ,
S. Rajendranath Raparthi.
‎2013 Feb 13 7:44 AM
‎2013 Feb 13 9:56 AM
Hi Kesavadas,
Thanks for the reply.
Is there any way to increase the performance other than these methods.
Thanks & Regards ,
S.Rajendrnath Raparthi.
‎2013 Feb 13 10:50 AM
You could try the following:
- regroup all excels to be downloaded into one zip file.
There are a few classes to do this (CL_ABAP_ZIP, CL_ABAP_GZIP) but needs to be tried out. It is just an idea, I have never tried this.
You can download once a zip file containing all the excel files.
You will be downloading one a bigger file once. Difficult to say right now if the gain in performance will be positive...
‎2013 Feb 13 11:32 AM
Hi Seshadri ,
There is no difference in these two options which you have provided.
The only thing which u can do is try that ZIP class as stated by Phillip for downloading at once and the unzip it after download...
Performance will also be good by using this.
Hope this will help.....
Regards,
AKS
‎2013 Feb 13 11:47 AM
Hi,
Say for example u have the scenario to download the 3 itab.
Write a perform and use that in the 3 place..
1.build the file name before using the perform
Perform download tables it_tab1 using p_file.
Perform download tables it_tab2 using p_file.
Perform download tables it_tab3 using p_file.
even we can pass the different parameters..
BR,
Bharani