‎2010 Aug 04 11:01 PM
Hi All,
Do you know the class for creating a folder on desktop, using download fm.
Any function module will also be fine.
The requirement is ...I got an Internal table with diff set(A,B,C) of documents...each set is lets say have 5 or 6 docs.
I want to move each set of docs into a folder like Folder A, Folder B, and Folder C and download them on desktop.
If those all foldes are zipped into one single folder, it is awesome. Even if it is not... all different set of folders on desktop will be fine.
Please provide a solution, using class or function module is OK.
Thanks in advance...
‎2010 Aug 05 4:54 AM
Fiayaz,
you can use this fm TMP_GUI_CREATE_DIRECTORY to create a directory and then GUI_DOWNLOAD to create files in that directory
Thanks
Bala Duvvuri
‎2010 Aug 05 5:58 AM
Hi,
You can also used the class CL_GUI_FRONTEND_SERVICES
This class having many usedful method for GUI desktop access.
DIRECTORY_BROWSE Shows a Directory Selection Window
DIRECTORY_CREATE Creates a Directory in the Client
DIRECTORY_DELETE Deletes a Directory in the Client
DIRECTORY_EXIST Checks if a directory exists
DIRECTORY_GET_CURRENT Returns the Current Directory
DIRECTORY_LIST_FILES Lists Files in a Given Directory
‎2010 Aug 05 12:45 PM
Hi Bala,
Where it creates directory....I need my file to be created in Folder...downloading the folder to a desk top I can manage.
I need a FM which attaches or add a document to a Folder.
Thanks...