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

function module to save data to disk

Former Member
0 Likes
424

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 .

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
403

Use FM GUI_DOWNLOAD.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
403

Hello,

Use the function GUI_DOWNLOAD.

Regards,

Read only

Former Member
0 Likes
403

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.