Download file from SAP unix system to your desktop using transaction SXDA

Step 1 - Use DX tools from within sap tranasction SXDA (data transfer work bench)
Select menu option Goto->DX Tools


Step 2 - Fill in mandatory fields
Put an entry into 'Object type', 'Program type', and 'Program'. The values can be anything as these fields are not used for the functionality we are going to be using, but if they are not entered the transaction will not run. You can also enter the details of the file you want to copy here as well, this will be pulled through to the next screen or you can simply enter it on the next screen.


Step 3 - Enter file to be copied details
Next click on the copy button in the application tool bar and enter the details of the file you want to copy in the source section and where you want it to be copied too in the target section. (If you entered you source file details on the previous screen they will have been brought through to this screen).


Step 4 - Copy file
Now press the green tick button and your file will be transfered to you selected location. There are instances where copying a file this way will cause a CONVT_CODEPAGE ABAP Runtime Error (conversion of a text from codepage '4110' to codepage '4102'). This just means that while converting from the source file codepage to the target file codepage it was unable to convert a particular character in the file and the stanard SAP code just falls over:-(. I have not really found a solution to this other than removing the particualar character from the file. If anyone has a solution to this i would be very gratfull to here it. Also contact your Basis team as they will be able to FTP the file from the SAP system for you.


Related Articles

SAP applications and ABAP reports that process data files stored on your PC or within SAP
HEX codes and there associated ABAP declaration within SAP
Display files on SAP Application Server(UNIX)
Browse files on SAP Application Server(UNIX)
Downloading files to PC(Presentation Server)
Downloading files to SAP Application Server
Popup window to select a File using function module WS_FILENAME_GET
Get list of files within specific directory or SAP Application server
Directory selection for ABAP report using SAP method DIRECTORY_BROWSE
File Selection for ABAP report using SAP object method FILE_OPEN_DIALOG
Save file location popup on ABAP report selection screen using FILE_SAVE_DIALOG
ABAP Upload and download Function Modules in SAP
SAP File Selection Window - various methods of adding a file selection popup to your ABAP report
Upload Tab delimited file from PC into ABAP internal table
Upload and download files into and out of SAP or your PC
ABAP to check if file exists before downloading from SAP
SAP Upload Excel document into internal table
ABAP to Upload Excel document into internal table on SAP system including .xlsx
Upload Excel document into ABAP internal table
ABAP Uploading files from PC to SAP R/3 system
ABAP to Upload files from SAP Application Server
Upload Tab delimited file from PC into ABAP internal table
Upload Tab delimited file from application server into ABAP internal table
Example Excel Spreadsheet used to demo SAP upload and download using ABAP