11-11-2010 10:35 AM
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.
11-11-2010 11:32 AM
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
11-11-2010 10:44 AM
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
11-11-2010 11:32 AM
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