Skip to Content
0

File Upload Method compatible with Kernel 745

Feb 06, 2017 at 11:37 PM

56

avatar image
Former Member

Hi,

I had developed a transaction launcher which have file upload functionality in it. When i developed it, SAP NetWeaver was Integrated ITS 740 Kernel 742 Patch 300. When i do F4 on file name, window which is coming up was this:
old-file-upload-screen.jpg

It was reading the local system and the whole process was working fine.

Recently we had a upgrade to SAP NetWeaver was Integrated ITS 740 Kernel 745 Patch 300 after which the file upload screen got changed to this:
new-file-upload-screen.jpg

On this i have to import the file from the local system into "Z" drive and upon execution i receive this error :
new-file-upload-screen-error-message.jpg

I am using GUI_UPLOAD to read the data from the file.

CALL FUNCTION 'GUI_UPLOAD' EXPORTING

filename = p_file

filetype = 'ASC'

has_field_separator = 'X'

dat_mode = ' ' TABLES

data_tab = it_tab

EXCEPTIONS

file_open_error = 1

file_read_error = 2

no_batch = 3

gui_refuse_filetransfer = 4

invalid_type = 5

no_authority = 6

unknown_error = 7

bad_data_format = 8

header_not_allowed = 9

separator_not_allowed = 10

header_too_long = 11

unknown_dp_error = 12

access_denied = 13

dp_out_of_memory = 14

disk_full = 15

dp_timeout = 16

OTHERS = 17.

IF sy-subrc <> 0.

* Implement suitable error handling here

ENDIF.

Could anyone can help me which file upload function will work with the new upgrade.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers