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

F4_FILENAME_GET or use

call function 'KD_GET_FILENAME_ON_F4'

changing

file_name = file

exceptions

mask_too_long = 1

others = 2.

if sy-subrc <> 0.

message 'Error in getting filename'.

endif.