on 06-08-2017 7:34 AM
Dear Expert,
I need help regarding SAP GUI Download.
We have multiple file with same name but when downloading only one file is downloading and rest is ignored
Please suggest how we can download all file with the same from sap table.
Please check Pgm for reference.
call function 'GUI_DOWNLOAD'
exporting
bin_filesize = len
filename = str_fname1
filetype = 'BIN'
tables
data_tab = ITAB1
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22.
if sy-subrc <> 0.
message 'Unable to download file from SAP'
type 'E'.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.