2005 Oct 03 8:43 AM
Hello!
I want to program an F4-help for selecting a FOLDER on the application server.
With the function F4_DXFILENAME_TOPRECURSION you are able to select a file on the applicationserver but I need to select a FOLDER.
Do anybody know how I can implement this kind of F4-help?
Greez Flo
Hello!
I want to program an F4-help for selecting a FOLDER on the application server.
With the function F4_DXFILENAME_TOPRECURSION you are able to select a file on the applicationserver but I need to select a FOLDER.
Do anybody know how I can implement this kind of F4-help?
Greez Flo
2005 Oct 03 8:50 AM
Hi,
Try this.
data SEL_FOLDER type string.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
EXPORTING
WINDOW_TITLE = 'Choose folder'
INITIAL_FOLDER = 'C:\'
CHANGING
SELECTED_FOLDER = SEL_FOLDER.
CALL METHOD cl_gui_cfw=>flush.
Svetlin
P.S. Remember to award points for helpful answers.
Message was edited by: Svetlin Rusev
2005 Oct 03 8:53 AM
Hi!
This can not solve the problem, because I need to select a folder from the server not from the local computer.
Greez Flo
2005 Oct 03 8:54 AM
Hi,
Try this.The FM <b>CFX_BI_RI_CF_SELECT_FOLDER</b> may
help you.
Regards,
Siva
2005 Oct 03 9:12 AM
Hello!
Do you have an example for CFX_BI_RI_CF_SELECT_FOLDER?
Regards Flo
2005 Oct 03 9:46 AM
please refer to report
CFX_BI_TAB_TO_CFOLDERS
in 4.7 uni
regards
2005 Oct 03 8:56 AM
Hi,
Check this link,
<u>http://www.sapdevelopment.co.uk/file/file_getdirfiles.htm</u>
Hope it helps u.
Kindly reward points if u find it useful.
Thanks&Regards,
Ruthra.R
2005 Oct 03 1:08 PM
Hi Florian,
Please check if you have Function Module
/SAPDMC/LSM_F4_SERVER_FILE on your system. It exactly meets your requirement .
Cheers