‎2008 Jun 16 10:00 AM
Hi,
I need to store a file on the presentation server. For this purpose, I have an icon on the GUI , to download the file from the output screen to the PS.
I have used the FM 'GUI_DOWNLOAD' for this.
I need an F4 help, so that when i click on the download icon the menu bar, a popup should come asking for the path on the PS where i want to store the file.
Can anyone tell me which FM should I call for the popup?
‎2008 Jun 16 10:09 AM
Hi,
use this class CL_GUI_FRONTEND_SERVICES and its method FILE_SAVE_DIALOG.
‎2008 Jun 16 10:09 AM
Hi,
use this class CL_GUI_FRONTEND_SERVICES and its method FILE_SAVE_DIALOG.
‎2008 Jun 16 10:11 AM
hi ,
in order to get the browse option use FM
F4_FILENAME.
Rgds.,
subash
‎2008 Jun 16 10:16 AM
Hi,
You can use this FM 'F4_FILENAME' inorder to get pop-up box.
I am giving one example below:
PARAMETER:pw_filename TYPE rlgrap-filename OBLIGATORY
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = pw_filename.
Your problem will be solved.
Reward some points.
Regards,
Anomitro Guha
‎2008 Jun 16 10:16 AM
At the AT SELECTION_SCREEN ON VALUE-REQUEST FOR p_path and code your value help.
DATA:
zz_folder TYPE string.
CALL METHOD cl_gui_frontend_services=>directory_browse
CHANGING
selected_folder = zz_folder
EXCEPTIONS
OTHERS = 0.
p_path = zz_folder.
<b>file from application server</b>
1. F4_DXFILENAME_TOPRECURSION
This is the FM.
Reward points,if found useful
‎2008 Jun 16 11:15 AM
Hi.
Use FM "GUI_FILE_SAVE_DIALOG". It may help u.
Award points, if helpful.
Regards.
‎2008 Jun 16 11:34 AM