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: 

Download in ALV tree

Former Member
0 Kudos

hi all

i'm using the class CL_GUI_ALV_TREE. I want to have download option in that. How to do that. Please guide me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Abinaya

You can create a button and in its action call the class "CL_GUI_FRONTEND_SERVICES". This class has a method "FILE_SAVE_DIALOG". You can set the path in that to specify where you want to save that file. Path, Full Path and File Name are the mandatory parameters to that method. So pass those values and you can save your files.

Hope this help you.

Regards

Vinodh

2 REPLIES 2

former_member536879
Active Contributor
0 Kudos

Hi,

If u want to download the ALV Tree output value , you can download the internal table that you are using for the SET Table for first display in the PBO of the screen.

In the PAI if you do the download , then straightly download that internal table and that internal table will be in the ALV Tree model.

With Regards,

Sumodh.P

Former Member
0 Kudos

Hi Abinaya

You can create a button and in its action call the class "CL_GUI_FRONTEND_SERVICES". This class has a method "FILE_SAVE_DIALOG". You can set the path in that to specify where you want to save that file. Path, Full Path and File Name are the mandatory parameters to that method. So pass those values and you can save your files.

Hope this help you.

Regards

Vinodh