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: 

Error in LSMW Unable to write to file 'C:\ZSIGCO_CP_ZSIG

Former Member
0 Kudos

Hello,

In the Step 9 'READ DATA' I get the Error: 'Unable to write to file 'C:\ZSIGCO_CP_ZSIGCO_CP_ZSIGCO_CP.lsmw.read'

I do not know what the Problem is and how should I solve this Problem.?

Can any body help me sort out this Issue..?

Regards,

Deepak.

1 ACCEPTED SOLUTION

JL23
Active Contributor
0 Kudos

go into your step 7 Specify Files

there you have several knots for legacy data, for imported data, for converted data.

in the read data knot you probably have this "'C:\ZSIGCO_CP_ZSIGCO_CP_ZSIGCO_CP.lsmw.read'" entry.

change the entry and remove at least the C:\

7 REPLIES 7

former_member303542
Participant
0 Kudos

Hello Deepak,

In the step 8 you assign the files to the system path.

There are couple of option why this error may happen:

1.If the name length of the file is larger then system would not be able to

create a correct file path ,therefore reduce the name of the presentationserver file.

2.Another option is when you assign the file in step 8 check whether all attributes are properly

assigned or not.

Also provide me the clear error description.

THanks ,

M.Naveen Kumar.

0 Kudos

Hi Naveen,

I have checked that file name on the Presntation server is c:\temp\text.txt and the respective files on the Appl server are

less than 45 Charecters . Initailly I used to get this Error as I reduced the file name this Error Dispappered.

Now the Error of Unable to write the file name still persists.

What are the other options I need to check here in the Assign file and the Speciodfy file.

The options which I have specified are as follows:

1. Data for one souce structure.

2. Semi colon as the Delimiter.

3. Field order matched the Source structure definition.

4. Record end market text file.

5. ASCII.

Please do let me know where have I gone wrong.

Please repond to this Query.

Regards,

Deepak.

0 Kudos

LSMW reads the data from the source file (in your case a local file at your PC) and writes it into a new file with the ending .read. this file is usually located in SAPs file system.

then when you execute the conversion, SAP read the data from its internal .read file and writes it into the .conv file.

and finally you create a batch input or IDOC, and then SAP reads the .conv file and creates the batch input or IDOC.

you are at the import data step, and SAP wants to write the data to the .read file. but you entered a path that is pointing to your local drive. SAP cannot write to your local drive and hence you get this error message.

0 Kudos

Hi Deepak and all,

Would you be so kind and helpful and please let us know how you got this problem "Unable to write to file......."resolved?

I am running into the same exact problem. Matter of fact I even run into the problem of too long converted data file which I resolved by shortening the project, subproject and object. I wonder if they are related.

Thanks for everyones help in resolving this.

Pitar

JL23
Active Contributor
0 Kudos

go into your step 7 Specify Files

there you have several knots for legacy data, for imported data, for converted data.

in the read data knot you probably have this "'C:\ZSIGCO_CP_ZSIGCO_CP_ZSIGCO_CP.lsmw.read'" entry.

change the entry and remove at least the C:\

0 Kudos

thanks  Jürgen L

dhirendra_pandit
Active Participant
0 Kudos

Thats right the file specification should look like this :-

ZXX - XX - ZXX Test

Files


Legacy Data On the PC (Frontend)


Legacy Data On the R/3 server (application server)

-- Imported Data File for Imported Data (Application Server)


Imported Data ZXX_XX_ZXX.lsmw.read

-- Converted Data File for Converted Data (Application Server)


Converted Data ZXX_XX_ZXX.lsmw.conv<<<----


destination file where to write

-


Wildcard Value Value for Wildcard '*' in File Name

Reagrds

Dhirendra