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: 

select folder on presentation not file

Former Member
0 Kudos

HI to all,

How to select Folder on presentation server, no need to select file, need to select folder.

is there any FM or is there any method to do it

pls help me

regards

raadha

6 REPLIES 6

former_member188685
Active Contributor
0 Kudos

You can try using the method FILE_OPEN_DIALOG of class CL_GUI_FRONTEND_SERVICES . When you are choosing the Folder .

MULTISELECTION you can specify abap_true for this.

FILE_TABLE " here you can get all the files of a folder.

0 Kudos

Hello vijay babu,

thank for reply , i need to select Folder through F4 help not file or files.

0 Kudos

I want to create folder, i dont want to create files in that or i dont want to use existing files in that.

once the uesr executes the program, we need to create folder, after that the program will crete files in that folder automatically.

I want to provide the F4 help for folder or i want to create folder.

for example DIRECTORY_BROWSE can provide F4 help for folder, but we cant create folder here, we can select only already created file.

can any one pls help me

regards

raadha

0 Kudos

Then in that case you can use the method DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES

Once it is created , using that you can add the files to the Above created folder programatically..

0 Kudos

already tried with that DIRECTORY_CRETATE is not help full,

it will not provide F4 help, in that we have to specify the path.

0 Kudos

thanks.