2013 Oct 31 7:22 AM
when i use this FM to upload a txt,it occur this error: Cannot interpret data in file
but the most strange is when i use my colleague computer to tun this program with the same txt document, it have no error.
so why this happen?
the FM like this:
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
* CODEPAGE = ' '
filename = a_file
filetype = 'DAT'
TABLES
data_tab = itab
2013 Nov 01 2:50 AM
It is a stupid question,because my colleague just use the different program, which the upload template is different.
2013 Oct 31 7:29 AM
WS_UPLOAD is an obsolete function module which is used in versions before ECC 5.0.
It is replaced with function module GUI_UPLOAD.
Are you passing the file name (a_file) manually or it is hard coded in program ?
You might have been using a variant in which file name had path related to your colleague.
Regards,
Gautham.
2013 Nov 01 2:50 AM
It is a stupid question,because my colleague just use the different program, which the upload template is different.
2013 Nov 01 3:50 AM
Hello Zhang,
I would like to know whether the problem with your program is resolved or not?
Thanks and Regards
Nivash S
2013 Nov 01 4:26 AM