‎2010 Oct 20 3:22 PM
Hi All,
I am trying to upload the txt file using the WS_UPLOAD function module. my system version is 4.6C .
I am using file type as DAT.
I am getting error with sy-subrc = 1 ie exception as FILE_OPEN_ERROR.
i tried in SDN but could not find the solution.
Please advice.
Thanks,
Vengal Rao.
‎2010 Oct 20 4:10 PM
Hi,
Please check the file name and location,
Please check if any extension like txt is used, if used please remove it.
Thanks,
Anmol.
‎2010 Oct 20 3:39 PM
Are you running this in the background?
Is the file on the application server rather than the PC?
Have you spelled the file name correctly?
Rob
‎2010 Oct 20 4:10 PM
Hi,
Please check the file name and location,
Please check if any extension like txt is used, if used please remove it.
Thanks,
Anmol.
‎2010 Oct 20 5:43 PM
yes, the extension txt was used for the file.
Now i removed it.
Issue solved.
Thanks,
Vengal Rao.
‎2010 Oct 20 5:12 PM
Hi,
While executing the program, make sure that the text file u are trying to upload is closed.
IF the file is open and u trying to upload it will throw the error, file open error
‎2010 Oct 20 5:16 PM
Also make sure that there isn't any field conversion error from the txt file to your input table.