Ansicht
Dokumentation

/SMB/ZIP_FILE_UPLOAD - Imitate GUI_UPLOAD to get txt file from a zip

/SMB/ZIP_FILE_UPLOAD - Imitate GUI_UPLOAD to get txt file from a zip

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

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
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.

  • Text upload
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.



Notes

Further information





Parameters

CHECK_BOM
CODEPAGE
DATA_TAB
DAT_MODE
FILELENGTH
HAS_FIELD_SEPARATOR
IGNORE_CERR
READ_BY_LINE
REPLACEMENT
VIRUS_SCAN_PROFILE
ZIP_CONTENT

Exceptions

BAD_DATA_FORMAT
UNKNOWN_ERROR

Function Group

/SAPLZIP_UPLOAD_DOWNLOAD

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2203 Date: 20240426 Time: 081027     sap01-206 ( 28 ms )