cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Can any one tell me if there is a Function module that will display the windows directory path and returns the filenames in the selected folder when F4 help is clicked.Currently I am using

cl_gui_frontend_services=>directory_browse

But please let me know if ther is any function module which gives me the same functionality as the above method does.

0 Likes
View Entire Topic
Former Member
0 Likes

USe Function Module WS_FILENAME_GET.

Hope it works.

Thanks

Suresh

Former Member
0 Likes

HI.

Use F4_FILENAME .

Thats the best option.

Thanks and regards,

Maheshwari.V

Former Member
0 Likes

You can use function module KD_GET_FILENAME_ON_F4

A sample code can be seen in the following SAP program.

RFEBJP00. Refer to line 115 and below.

Reward points if it helps.

Regards,

Ankur Bhandari