‎2011 Sep 14 6:17 AM
Hi All-
I have a requirement to download a File From C-Folder.
At starting time I have only Folder name.After that user want to download all the Files from that Folder.
I am using Function Module CFX_API_DOC_DOCUMENT_READ
But throgh this i am getting only content of that File not able to Download.
So please help me regarding that.
Thanks
‎2011 Sep 14 8:24 AM
Hello,
You can use the Class CL_GUI_FRONT_END_SERVICES and the method DIRECTORY_LIST_FILES to show the files. This is the First Step. If the directory name is already known, then you can use the method FILE_OPEN_DIALOG to show up all the files and choose the files that you want to download.
Regards,
Venkata Phani Prasad K
‎2011 Sep 14 8:24 AM
Hello,
You can use the Class CL_GUI_FRONT_END_SERVICES and the method DIRECTORY_LIST_FILES to show the files. This is the First Step. If the directory name is already known, then you can use the method FILE_OPEN_DIALOG to show up all the files and choose the files that you want to download.
Regards,
Venkata Phani Prasad K
‎2011 Sep 14 11:13 AM
HI-
Thanks For the quick response , but my requirement is to download a File from C-Folder not from frontend GUI.
‎2011 Sep 14 8:29 AM
You can also use method FILE_COPY of the same class to do the actual copying