Ansicht
Dokumentation
/SMB/ZIP_FILE_UPLOAD - Imitate GUI_UPLOAD to get txt file from a zip
General Data in Customer Master General Material DataThis documentation is copyright by SAP AG.
Functionality
The module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.
Example
- Binary upload: No conversion or interpretation
raw(255) type x,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'BIN'
filename = 'C:\DOWNLOAD.BIN'
tables
data_tab = itab.
- Text upload
text(255) type c,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'ASC'
filename = 'C:\DOWNLOAD.TXT'
tables
data_tab = itab.
Notes
Further information
Parameters
CHECK_BOMCODEPAGE
DATA_TAB
DAT_MODE
FILELENGTH
HAS_FIELD_SEPARATOR
IGNORE_CERR
READ_BY_LINE
REPLACEMENT
VIRUS_SCAN_PROFILE
ZIP_CONTENT
Exceptions
BAD_DATA_FORMATUNKNOWN_ERROR
Function Group
/SAPLZIP_UPLOAD_DOWNLOADGeneral Data in Customer Master Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2203 Date: 20240604 Time: 002458 sap01-206 ( 34 ms )