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

Performance Issue : Multiple using Function Module

Former Member
0 Likes
657

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.

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
605

There is no difference between the points you mentioned.

Read only

0 Likes
605

Hi Kesavadas,

Thanks for the reply.

Is there any way to increase the performance other than these methods.

Thanks & Regards ,

S.Rajendrnath Raparthi.

Read only

Phillip_Morgan
Contributor
0 Likes
605

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...

Read only

Former Member
0 Likes
605

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

Read only

BH2408
Active Contributor
0 Likes
605

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