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

Function module for picking all image files from folder

Former Member
0 Likes
673

Hi All,

Which function module is used to pick all image files from the folder on selection-screen by using F4 help?

When I searched in many forums I found function module for reading all files from given directory.But I haven't found any functionmodule for picking all files from folder on selection-screen.

Could you please guide me on this.

Thanks in advance.

4 REPLIES 4
Read only

brad_bohn
Active Contributor
0 Likes
628

If you read the contents of a local directory with a filter using CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES, why do you need an additional class method to pick all of them? You already have the list from the method and can load the files as necessary.

Read only

Former Member
0 Likes
628

Hi,

For the Frontend services you can always use the Class Cl_gui_frontend_services and according to your needs you can use the appropriate method.

For your solution you can use Directory_List_files which will upload the Folder.

Thanks

Arbind

Read only

0 Likes
628

@Arbind: There's no need for you to post the exact same answer someone has already posted. You did this with another post of mine today as well. You can have the points for all I care, just come up with something original.

Read only

0 Likes
628

Brad,There is nothing related to points from my side, I don't post for points.

I simply answered because I think its open forum and anybody can post as required, if he/she is sound with that topic.

But if you think like that , I apologize.

Edited by: Arbind Prasad on Feb 26, 2011 2:32 AM