Application Development and Automation 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: 
Read only

Class for folder creation or function module for folder creation

Former Member
0 Likes
788

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...

3 REPLIES 3
Read only

Former Member
0 Likes
640

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

Read only

0 Likes
640

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

Read only

0 Likes
640

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...