10-17-2007 7:16 AM
when i follow the sted READ DATA in lsmw
i got the following error
Error when uploading the file 'c:\lsmw.txt' (Return Code = 13).
plz help.
points wil b rewarded
regards
Fresher
10-17-2007 7:23 AM
Hi,
have you checked if the file is at correct path?
Regards,
Atish
10-17-2007 9:04 AM
Hi Fresher,
The LSMW generates an abap program which is run in the steps from read data and on. In the program u can see it uses the 'gui_upload' FM and the Return Code = 13 comes from there. Return Code = 13 means 'access denied' - but only u can check why (may be someone else opened it and holds it, etc.).
Good luck
Igal
10-17-2007 10:40 AM
10-17-2007 10:47 AM
Hi,
The error seems to be like , the file is not existing in the C drive.
Create a text file with data & assign that file in the ASSIGN FILE STEP.
to find out the exact picture follow like this ..
once execute a read step .. u will get a selection screen. there put /H debug the program.. here u can find out , where the error is comiug out ?
Reward Points if it is Useful.
Thanks,
Manjunath MS
06-17-2013 11:02 AM
Hello,
Most probably you created your text file from an excel sheet.
Looks like the excel file is still opened whicg is loccking the text file.
Just close the excel file and re-read data again.
Kind regards
/L
02-17-2014 1:16 PM
Hey Lilian,
I had the same problem!
You solved it with your answer, many thanks!
Sincerely,
Zapp