Application Development and Automation 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: 
Read only

Error in LSMW getting return code 6

Former Member
0 Likes
1,042

Hi all,

i Am getting a Error in LSMW getting return code 6 , after asign a file , in the read data step i am getting the error , please help me it is very urgent,

sridhar

5 REPLIES 5
Read only

Former Member
0 Likes
675

Give us some more information.

Are you sure you have defined your file to be read correctly - the delimiter is correct, the structure corresponds to the one defines in LSMW? and so on ....

Read only

0 Likes
675

every thing is correct maria , it was working fine i even checked that in quality server it is working fine , i guess it must me error with authorization but i am not sure , please help me out

thanking

sridhar

Read only

0 Likes
675

See the path u have specified in the <b>Specify files</b>.

Some times if the sytem is T80 for development and for Qa the path should get chanegd to Q80 and for production P80.

So it depends on teh name of ur system.

That may be teh probelm. Let me know clearly if this is not.

Read only

0 Likes
675

thanks for your mail, is there any particular reason for return code 6 , why is it giving me that .

sridhar

Read only

Former Member
0 Likes
675

Hi,

If the Sy-Subrc is 0 then Success, if the Sy-SUBRC is 4 then failure, if the Sy-SUBRC = 6 then the user might be not access to read the file

AUTHORITY-CHECK sets SY-SUBRC to 0 if the user has the necessary authorization, otherwise 4, 8, 12, 16, 24, 28, 32, or 36 depending on the cause

Regards

Sudheer