Ansicht
Dokumentation

GUI_UPLOAD - Upload for Data Provider

GUI_UPLOAD - Upload for Data Provider

BAL_S_LOG - Application Log: Log header data   General Material Data  
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
FILENAME
FILETYPE
HAS_FIELD_SEPARATOR
HEADER
HEADER_LENGTH
IGNORE_CERR
ISDOWNLOAD
ISSCANPERFORMED
NO_AUTH_CHECK
READ_BY_LINE
REPLACEMENT
VIRUS_SCAN_PROFILE

Exceptions

ACCESS_DENIED
BAD_DATA_FORMAT
DISK_FULL
DP_OUT_OF_MEMORY
DP_TIMEOUT
FILE_OPEN_ERROR
FILE_READ_ERROR
GUI_REFUSE_FILETRANSFER
HEADER_NOT_ALLOWED
HEADER_TOO_LONG
INVALID_TYPE
NO_AUTHORITY
NO_BATCH
SEPARATOR_NOT_ALLOWED
UNKNOWN_DP_ERROR
UNKNOWN_ERROR

Function Group

SFES

rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3029 Date: 20240523 Time: 094057     sap01-206 ( 35 ms )