Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

How to replicate donwload to local file of alv from MENU

Former Member
0 Kudos

Dear Colleagues,

How can i simulate download to local file functionality of

alv from menu bar.

kind regards

kaushik hegde


Former Member
0 Kudos


Since you have the data in an internal table before displaying it using ALV, you can export the same table to local system using FM GUI_DOWNLOAD.

Is this what you are looking for? Please get back if I did not understand the question correctly.


0 Kudos

Dear Shehryar,

I donot want to use GUI_DOWNLOAD but i want to replicate

the exact functionality of download to local file,given

by the alv grid.

kind regards


Former Member
0 Kudos

Hi Kaushik,

I do not think that is possible. The tool bar functions are not ordinary pushbuttons and are handled differently. But you might be able to program the functionality on your own, with some effort.

BTW, are you using the FM approach or the OO approach ?


Anand Mandalika

Former Member
0 Kudos

if u r using a ALV thro FM, i wud suggest this.

set a PF-status (Copy the standard one for your application, say for eg, Proj Systems) into your program.

Now activate (or add) a menu option for download.

Copy the code for this function from the code given for the download button.

I guess this shd work. let me know if this helps.