The Function modules GUI_DOWNLOAD/WS_DOWNLOAD are used to download the data into presentation server.But these function modules fail while the program is run in background.With the help of Open Dataset concept we can download file in background, but it downloads data into application server. One workaround is to download data into application server in background and read data from this application server file and download into presentation server. But this can't be done at one go. We need a way by which application server can recognize the presentation server file path at runtime. So that with the help of Open Dataset we can download data directly into the presentation server. On the application server we can map network drive of the presentation server. Go To My Computer->Tools->Map Network Drive Provide shared folder path Now with traditional dataset method we can download file into a presentation server. parameters: resfile type string default '\\serverhostname\foldername\file.txt' ."Same as you specified in the map network drive folder *Convert internal table to a string table CALL FUNCTION 'ZCOV_TAB_STRING' EXPORTING DATA_TAB = itab TABLES STR_TAB = str_tab. open dataset resfile for output in text mode encoding default. if sy-subrc = 0. loop at str_tab. transfer str_tab to resfile. endloop. if sy-subrc = 0. write: 'Successfully downloaded !'. endif. endif. close dataset resfile.