Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
CHECK_BOM | CHAR01 | C | 1 | SPACE | X | The consistency of the codepage and byte order mark will be checked |
CODEPAGE | ABAP_ENCODING | 0 | SPACE | X | Character Representation for Output | |
DAT_MODE | CHAR01 | C | 1 | SPACE | X | Numeric and Date Fields Imported in ws_download 'DAT' Format |
FILENAME | STRING | g | 0 | Name of file | ||
FILETYPE | CHAR10 | C | 10 | 'ASC' | X | File Type (ASC or BIN) |
HAS_FIELD_SEPARATOR | CHAR01 | C | 1 | SPACE | X | Columns Separated by Tabs in Case of ASCII Upload |
HEADER_LENGTH | I | I | 4 | 0 | X | Length of Header for Binary Data |
IGNORE_CERR | ABAP_BOOL | 0 | ABAP_TRUE | X | Specifies whether to ignore errors converting character sets | |
NO_AUTH_CHECK | CHAR01 | C | 1 | SPACE | X | Switch off Check for Access Rights |
READ_BY_LINE | CHAR01 | C | 1 | 'X' | X | The file will be written to the internal table line-by-line |
REPLACEMENT | ABAP_REPL | C | 1 | '#' | X | Replacement Character for Non-Convertible Characters |
VIRUS_SCAN_PROFILE | VSCAN_PROFILE | C | 40 | X | Virus Scan Profile |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
FILELENGTH | I | I | 4 | File length |
HEADER | XSTRING | y | 0 | File Header in Case of Binary Upload |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
DATA_TAB | 0 | Transfer table for file contents |
Exception | Text |
---|---|
ACCESS_DENIED | Access to File Denied |
BAD_DATA_FORMAT | Cannot Interpret Data in File |
DISK_FULL | Storage Medium full |
DP_OUT_OF_MEMORY | Not Enough Memory in Data Provider |
DP_TIMEOUT | Timeout of Data Provider |
FILE_OPEN_ERROR | File Does not Exist and Cannot be Opened |
FILE_READ_ERROR | Error reading file |
GUI_REFUSE_FILETRANSFER | Incorrect front end, or error in front end |
HEADER_NOT_ALLOWED | Header not Allowed |
HEADER_TOO_LONG | The header information is limited to 1023 bytes at present |
INVALID_TYPE | Incorrect parameter FILETYPE |
NO_AUTHORITY | No Authorization for Upload |
NO_BATCH | Front-End Function Cannot Be Executed in Backgrnd |
SEPARATOR_NOT_ALLOWED | Separator not Allowed |
UNKNOWN_DP_ERROR | Error Calling Data Provider |
UNKNOWN_ERROR |
Functionality Example
begin of itab, raw(255) type x, end of itab occurs 0. CALL FUNCTION 'GUI_UPLOAD' exporting filetype = 'BIN' filename = 'C:\DOWNLOAD.BIN' tables data_tab = itab. begin of itab, text(255) type c, end of itab occurs 0. CALL FUNCTION 'GUI_UPLOAD' exporting filetype = 'ASC' filename = 'C:\DOWNLOAD.TXT' tables data_tab = itab. Description Description Description Value range Default Description Value range Default Description The number must be formatted according to the decimal representation defined in the user settings. The date must be formatted according to the date format defined in the user settings. The time must be formatted as hh:mm:ss. Value range Default Description Value range Description Value range The system reads a binary representation of the internal table from the file. The data is neither converted nor interpreted in this case. Usually, reasonable results are obtained only if the internal table consists of a single column of type 'X'. The components of the internal table are filled from the file. If the table contains several columns, the entries in the file must be separated by tabs. No conversion exits are performed. The following applies for the different data types: I or N or P or F The numbers must be formatted according to the decimal representation defined in the user settings. D The date must be formatted according to the date format defined in the user settings. T The time must be formatted as hh:mm:ss. The components of the internal table are filled from the file. Only data types with fixed length are allowed. The data must be contained in the file in its full length. Default Description Value range Default Description Default Description Value range Default Description Value range Default Description Value range Default Description Value range Default Description Value range |
803637 | Virus check added to gui_upload |
1073779 | setting the Frontend Up-/Download Codepage |
1467481 | Japan:FI-CA:RFKKJPDT00: Error while reading incoming file |
1543940 | Crash after second upload/download of the same "doc"-file |
513435 | Windows code page setup for non-Unicode text files |
739192 | Batchman: Program termination in background processing |
1088209 | Help for troubleshooting: Code page display problems |
752835 | Usage of the file interfaces in Unicode systems |
986717 | DSD: Procedure for dumps when transferring between HH and CN |
735946 | Migration runtime error during upload |
695907 | Syslog CP7 ... rscpc 180 |
617872 | DMEE: Runtime error during upload/download of XML tree |