Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW ERROR

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

Hi,

have you checked if the file is at correct path?

Regards,

Atish

Former Member
0 Kudos

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

Former Member
0 Kudos

just check ur file path

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Hey Lilian,

I had the same problem!

You solved it with your answer, many thanks!

Sincerely,

Zapp