‎2008 May 09 11:06 AM
Hi,
I need F4 help on the file selection. where i can specify the path to save my file.
Please give me any FM
Thanks,
Suresh
‎2008 May 09 11:12 AM
Hi ,
You can use the method file_save_dialog
of the class cl_gui_frontend_services.
The code will look some thing like
data: l_f_file_name TYPE string ,
l_f_path TYPE string ,
l_f_full_path TYPE string ,
l_f_user_act TYPE i .
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = l_f_file_name
path = l_f_path
fullpath = l_f_full_path
user_action = l_f_user_act
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
OTHERS = 3
.Regards
Arun
‎2008 May 09 11:12 AM
‎2008 May 09 11:14 AM
Hi Buddy,
Just use class CL_GUI_FRONTEND_SERVICES and method FILE_SAVE_DIALOG in this class to specify the file name and path. When u use this class, a pop up comes prompting you for file name and path.
Kindly check it and get back to me incase of any queries.
Dont forget to reward points, if found useful.
Thanks and Regards,
Satyesh