Download to File 

The Download to file function allows you to download the data retrieved by the query to a local file on the presentation server. The function module DOWNLOAD performs this process. When you activate the function, you see a dialog box where you can specify the file name and the data format. The system uses the contents of the input field located next to the radio button Download to file on the selection screen as a default for your file name.

If no file name was entered on the selection screen, the system chooses a default name for you.

You can choose the check box With column header in the dialog box. This will save your data with column headers if its data format so allows (DAT and DBF).

Whereas the Download function available in the System menu (choose System ® List ® Save ® Local file) stores the list on the presentation server as an ordinary text file without structured list lines, the Download to file function also takes the line structure into account.

You may enter a default file name for the file created. The system uses the contents of the input field located next to the radio button Download to file on the query's selection screen as a default for your file name. This default value will always be as the file name whenever you call the Download to file function, regardless of whether the Download to file radio button is set on the selection screen or not.

Be aware that by entering a suggested file name, you ARE NOT suppressing the dialog that is run through when the Download to file function is called.

The ability to suggest names for Download to file files on the selection screen is especially useful when variants have been defined for your query or QuickView.