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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding excel download from ALV report tree

Former Member
0 Kudos

Hi Experts,

I have a ALV report tree program. In that i need the functionality to download report output in excel file.

Can any body suggest how can i achieve download to excel functionality in it.

Any useful suggestion will be appreciated.

Thanks in advance,

Akash

1 ACCEPTED SOLUTION

tarangini_katta
Active Contributor
0 Kudos

Hi Aakash,

through this class we can download

CL_SALV_WD_DATA_DOWNLOAD~ SET_METADATA

Thanks,

4 REPLIES 4

tarangini_katta
Active Contributor
0 Kudos

Hi,

USe this function module.

ALV_DOWNLOAD

i am not sure whether it will help to you or not.

Thanks

Former Member
0 Kudos

hi,

try this. call method FILE_SAVE_DIALOG in the class CL_GUI_FRONTEND_SERVICES.

thanks.

tarangini_katta
Active Contributor
0 Kudos

Hi Aakash,

through this class we can download

CL_SALV_WD_DATA_DOWNLOAD~ SET_METADATA

Thanks,

former_member203501
Active Contributor
0 Kudos

The data for the tree exist in the NODE table in a different format. So, even you download that table, it will not be downloaded in the TREE format. So, the user will not be able to understand the data unlike the case of a ALV GRID.

Whether it is a TREE / GRID, ultimately its the data of a internal table, that gets downloaded. But in case a TREE, we don't have the data in a straight forward way . i thnk it is not possible . i am not sure too for this .