Application Server path name -> F4 help

Question:
I have a parameter on a report for a user to choose a path for an output file on the application server. I have seen SAP programs from SAP where they provide an F4 help which allows the user to select a path -> how do I do this for my program?
Thanks.
Answer:
hi
use F4IF_FIELD_VALUE_REQUEST
Answer:
OK, let me put the question another way.
To get an F4 pop up so the user can search for a path name on their local PC I have following.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR TPCFPATH.
CALL FUNCTION 'TMP_GUI_BROWSE_FOR_FOLDER'
EXPORTING
WINDOW_TITLE = 'Select folder'
* INITIAL_FOLDER =
IMPORTING
SELECTED_FOLDER = TPCFPATH
EXCEPTIONS
CNTL_ERROR = 1
OTHERS = 2.
Can anyone tell me an equivalent function for presenting a pop-up for selection of a path from the application server?
Thanks.
Answer:
Is there really not one single person who knows the answer to this?
Answer:
'EPS_GET_DIRECTORY_LISTING'
Didn't know the answer, but I do know how to use search. It took me less then 10 seconds to search for 'directory' and find the answer.
Answer:
Thanks Ocvantol but this is not the correct function - it does not produce a pop-up window for the user to choose the directory path.
Answer:
I found a function to give search for a file NAME on the application server
AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
i_location_flag = 'A'
i_server = ''
* I_PATH =
* FILEMASK = '*.*'
fileoperation = 'W'
IMPORTING
* O_LOCATION_FLAG =
* O_SERVER =
o_path = filepath
* ABEND_FLAG =
EXCEPTIONS
rfc_error = 1
error_with_gui = 2
OTHERS = 3.
but this is not what I am looking for - I want a function to select a file PATH from the application server.
Someone must know this?
Thanks.

More Articles:

Passing variables from SAPScript to ABAP?
Idoc user exit?
Inbound Idoc for DN?
CAD linking with SAP?
Multiple selection in a table control?
BAPI_PO_CREATE1?