0% found this document useful (0 votes)
24 views1 page

Downloading Files To PC (Presentation Server) : Other Function Modules

This document describes how to download internal table data from SAP to a file on a presentation server in 3 steps: 1) Define a filename and internal table with the data to export, 2) Call the GUI_DOWNLOAD function module, passing the filename, file type, and internal table, 3) This will export the internal table data to the specified file on the presentation server with the fields separated by tabs.

Uploaded by

knani9090
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

Downloading Files To PC (Presentation Server) : Other Function Modules

This document describes how to download internal table data from SAP to a file on a presentation server in 3 steps: 1) Define a filename and internal table with the data to export, 2) Call the GUI_DOWNLOAD function module, passing the filename, file type, and internal table, 3) This will export the internal table data to the specified file on the presentation server with the fields separated by tabs.

Uploaded by

knani9090
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Downloading files to PC(Presentation Server)

There are also a number of other function modules which could be used for uploading/downloding files between SAP and the presentation server.

* Download internal table to presentation server file(PC) * Separating fields/columns by a tab DATA: ld_filename TYPE string, * Pre version 4.7 declaration e_file like rlgrap-filename. DATA: begin of it_datatab occurs 0, col1(50) type c, col2(50) type c, col3(50) type c, * etc.... end of it_datatab. CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = ld_filename filetype = 'ASC' * APPEND = 'X' write_field_separator = 'X' * CONFIRM_OVERWRITE = 'X' TABLES data_tab = it_datatab[] EXCEPTIONS file_open_error = 1 file_write_error = 2 OTHERS = 3.

You might also like