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

listing a windows directory

Former Member
0 Likes
672

Hi,

I need a function to list a windows directory and obtain the files in it.

I have found only functions that runs properly with sap directories, but I need a function that runs ok in windows.

can anyone help me?

Thanks in advance.

Hi,

I need a function to list a windows directory and obtain the files in it.

I have found only functions that runs properly with sap directories, but I need a function that runs ok in windows.

can anyone help me?

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
581

Hi!

Check out the methods

DIRECTORY_GET_CURRENT

DIRECTORY_LIST_FILES

DIRECTORY_SET_CURRENT

in class

cl_gui_frontend_services

Regards

Tamá

Read only

varma_narayana
Active Contributor
0 Likes
581

Hi

Call this method.

CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE.

Check this method in Tcode SE24.

REWARD IF HELPFUL.

Read only

Maciej_DomagaBa
Contributor
0 Likes
581

You can use function module EPS_GET_DIRECTORY_LISTING - for directories on appl. server.

regards