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

LSMW Error When Uploading file (Return Code = 7)

Former Member
0 Likes
2,913

Hi all,

I got this message in step 9 'Read Data'. I've checked everything about file i'm doing as always. The fle is not open during the steps and file format is Text (tab delimited). Could you please tell me what is the problem?

Regards

7 REPLIES 7
Read only

JL23
Active Contributor
0 Likes
1,787

RC 7 = unknown error

you can just be sure that it is not one of the other listed errors:

file_open_error = 1

file_read_error = 2

no_batch = 3

gui_refuse_filetransfer = 4

invalid_type = 5

no_authority = 6

unknown_error = 7

bad_data_format = 8

header_not_allowed = 9

separator_not_allowed = 10

header_too_long = 11

unknown_dp_error = 12

access_denied = 13

dp_out_of_memory = 14

disk_full = 15

dp_timeout = 16

OTHERS = 17

you may have to debug the read program. Click personal menu, then activate the box in from of display read program.

you get a new step 9, which gives you the source for the read program. there you can set breakpints for the debugger, which will start when you execute the read step (which is then step 10)

Read only

Former Member
0 Likes
1,787

i debugged the program and the file seems empty but it's not. I've tried the same file in a different system and it works. The error i get from the system is EHP4 FOR SAP ERP 6.0 / NW7.01 - Unicode system: Yes. And the system which i didn't get any error is SAP R/3 Enterprise - Unicode system: No. I think the problem is because of the system. What must i do?

Read only

JL23
Active Contributor
0 Likes
1,787

had you imported the LSMW project from a non-unicode system to a unicode system?

how had you prepared your source file. In Excel I save as Unicode text to avoid any problems.

Read only

Former Member
0 Likes
1,787

Yes i tried everything and also save as the file unicode text but it doesn't works either.

Read only

JL23
Active Contributor
0 Likes
1,787

maybe this note explains a bit more:

Note 1066952 - Working with legacy data files in LSMW (Unicode, BOM, FTP)

Read only

Former Member
0 Likes
1,787

Thanks Jürgen but still not solved:(

Read only

JL23
Active Contributor
0 Likes
1,787

had you imported/transported the LSMW project from a non-unicode system to a unicode system?

or is this LSMW project and old project and you had meanwhile a upgrade to the new SAP release?