09-14-2008 6:44 AM
what one function module is used to get file from application and presentation server
09-14-2008 6:57 AM
hi,
One one function module will not work on both the things.
to get the file from application server U can use open dataset and close dataset statement.
From Presentation server U can Gui_upload or from Classes U can use CL_FRONTEND_SERVICES.
09-14-2008 6:58 AM
Dear,
Use transaction CG3Z to get from application server.
Use FM GUI_UPLOAD to get from presentation server.
Regards,
Edited by: chandra madapati on Sep 14, 2008 8:14 AM
09-14-2008 7:10 AM
hi,
WELCOME TO SDN.
use this fm to upload file from presentation server.
F4_FILENAME.
gui_download.
gui_upload.
for application server use these transactions.
CG3Y
CG3Z.
09-14-2008 7:50 AM
Hi,
To browse file from Presentation server try this function module F4_FILENAME.
or the methods of class cl_gui_frontend_services
For directory path:
"cl_gui_frontend_services=>directory_browse"
For file path:
"cl_gui_frontend_services=>directory_list_files".
To browse file from Application server try this function module.
For file path:
FM ---> 'F4_dxfilename_toprecursion'
For directory path:
FM ---> '/SAPDMC/LSM_F4_SERVER_FILE'.
Regards
Adil