cancel
Showing results for 
Search instead for 
Did you mean: 

Get List of Files Under a directory on Presentation server

Former Member
0 Kudos

Hi Experts,

I need to get List of files under a directory from Presentation server.GUI methods are not working in ABAP web dynpro.

Iam using ECC 6.0,Is there any possibility to get an how..?

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This isn't going to be possible. The broswer provides sandbox security to web applications. You dont' have direct filesystem access - unlike in the SAPGUI. Even if you use FlashIsland - Adobe Flex doesn't have this level of access either. You can have a file open dialog (triggered in HTML for a single file in the FileUpload UI element - or in FlashIslands a mutliple file dialog) but it returns the file contents selected by the user - not a complete directory/file listing.

vinodkumar_kommineni
Active Contributor
0 Kudos

Thankyou,

I was searching for this but, didn't get any solution,so finally Its not possible.

vinodkumar_kommineni
Active Contributor
0 Kudos

Hi Kumar,

try using Funtion Module TMP_GUI_DIRECTORY_LIST_FILES,

it returns two tables, one with list of files and another with list of Directories.

Hope this will help

Regards

Vinod

Former Member
0 Kudos

Hi Vinod,

Please refer to the question properly,TMP_GUI_DIRECTORY_LIST_FILES is GUI FM,It does not work in web dynpro