‎2008 Apr 30 3:23 PM
hi all,
i am facing proble while downloading data to my disk.
for downloading data from report to my hard disk i am using function module SAP_CONVERT_TO_XLS_FORMAT but in this function module there is no option for saving at my desired place.
can any one please tell me any function module which will show a popup to save data at my desired path in hard disk.
i have also used the function module DOWNLOAD but it is obsleat and moreover is making short dump .
‎2008 Apr 30 3:25 PM
‎2008 Apr 30 3:25 PM
‎2008 Apr 30 3:26 PM
you can use this funciton first to get the filename,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
mask = ' .xlsx,.xlsx,.xls,.xls'
static = 'X'
CHANGING
file_name = p_file.