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

Former Member
0 Likes
908

when i follow the sted READ DATA in lsmw

i got the following error

<b>Error when uploading the file 'c:\lsmw.txt' (Return Code = 13).</b>

plz help.

points wil b rewarded

regards

Fresher

3 REPLIES 3
Read only

Former Member
0 Likes
542

Hi

Check the file format

with the correct fields data

something wrong with the file

see the LSMW steps and links

1. Maintain Attributes:

Here you have to choose the second option and you can do the recording how this should work. Then assign the same to

the Batch Input Recording name.

2. Maintain Source structure:

Create a structure name

3. Maintain Source field:

In this you have to create a structure same as that of the input file

eg: name

age

sex

4. Maintain structure relations:

This will link the structure to the input file.

5. Maintain field mapping and conversion rules:

Here is the place where you can do coding, depending upon the code you have written or assignment you have done the

values will get picked up from the file and get processed.

6. Maintain field mapping and conversion rules:

If you have any fixed values you can define here.

7. Specify files:

Specify the input file path and type.

8. Assign files:

This will assign ur file to the Input file

9. Read Data:

This will read ur data from the file.

10. Dispaly Read Data:

You can see the uploaded data

11. Convert Data

This will convert the data to the corresponding format for processing

12. Display Converted data:

13. Create batch input session

Here this will create a batch input session for processing

14. Run Batch Input session:

By clicking on the session and process the same you can do teh needfu.

Check the following link:

http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html

http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html

http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt

http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip

http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt

http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt

http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf

for Long texts Upload

Please take a look at this..

http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm

LSMW with TABLE CONTROL

Refer the links -

just refer to the link below

http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g

Regards

Anji

Read only

Former Member
0 Likes
542

source tab is:

MATERIALNO

MATERIALTYPE

DESCRIPTION

UNIT

MATERIALGROUP

DIVISION

GROSSWEIGHT

NETWEIGHT

WEIGHTUNIT

EXEL FILE IS IN THE FOLLOWING FORMAT

MATERIALNO

MATERIALTYPE

DESCRIPTION

UNIT

MATERIALGROUP

DIVISION

GROSSWEIGHT

NETWEIGHT

WEIGHTUNIT

Read only

Former Member
0 Likes
542

Hi,

you check the mapping is done correctly.....and the format should be as you entered in the recording.

Best Regards,

Ramya