Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what function module to browse file from application and presentation serv

Former Member
0 Kudos

what one function module is used to get file from application and presentation server

4 REPLIES 4

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

GauthamV
Active Contributor
0 Kudos

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.

former_member705122
Active Contributor
0 Kudos

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