‎2007 Jan 19 11:25 AM
Hi,
Can any one tell me the Function module to populate a window where i can select a file either from Application server or presentation server.
Thanks in Advance,
Regards,
Somesh
‎2007 Jan 19 11:29 AM
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
initial_directory = 'C:'
multiselection = ' ' "No multiple selection
CHANGING
file_table = it_tabemp
rc = gd_subrcemp.for presentation server and
FM <b>'/SAPDMC/LSM_F4_FRONTEND_FILE'</b> for application server ..
Regards,
Santosh
‎2007 Jan 19 11:31 AM
Use the function module F4_FILENAME to select a file on the presentation server.
‎2007 Jan 19 11:31 AM
‎2007 Jan 19 11:55 AM
Hi somesh,
1. F4_DXFILENAME_TOPRECURSION
<b>2. This fm will provided a POPUP Window
with BUTTONS to CHOOSE
from 'Application Server' OR 'Presenetation Server'.</b>
regards,
amit m.
‎2007 Jan 19 12:34 PM
Hi,
useful hints have been given.
There is no way of selecting server or client file with the same functionality because the way of file access will be different: Presentation server (client) is handled via SAPGUI up- and download; Application server accesses files as datasets with open and transfer directly.
Regards,
Clemens