‎2011 Feb 25 10:19 AM
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.
‎2011 Feb 25 4:15 PM
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.
‎2011 Feb 25 4:31 PM
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
‎2011 Feb 25 5:39 PM
@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.
‎2011 Feb 25 7:15 PM
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