Application Development and Automation 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: 
Read only

what function module to browse file from application and presentation serv

Former Member
0 Likes
1,908

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,050

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.

Read only

Former Member
0 Likes
1,050

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

Read only

GauthamV
Active Contributor
0 Likes
1,050

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.

Read only

Former Member
0 Likes
1,050

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