Académique Documents
Professionnel Documents
Culture Documents
Hi, Guest
Log On
Join Us
Products
About SCN
Downloads
Industries
Partnership
Developer Center
Lines of Business
University Alliances
Innovation
More documents in
Store
Activity
Communications
Actions
Brow se
Actions
Version 1
created by Ravi Sankar Venna on Sep 10, 2013 10:40 AM, last modified by Ravi Sankar Venna on Sep 10, 2013 1:53 PM
Share
15
31
Like
Login
Register
53
Legacy System Migration Workbench (LSMW) is handy tool for data uploads. In most of the big projects there is a
separate development / data migration team is available. However, at times, it would be responsibility of the
functional consultant to load the data such as vendor master, customer master and asset master etc. It would be real
handy for a functional consultant to know LSMW (at least recording method) and it would help them to successfully
complete the task. Hope this document would help many of our functional consultants, as I am seeing number of
questions around LSMW. The simple rule is: Follow this document and practice is for number of times possible, then
you will become master.
Go to Transaction Code "LSMW" and follow the following steps:
pdfcrowd.com
Incoming Links
Give some Unique name for Project, Subproject and Object. Click Create (Shift+F1). Now execute or press
Re: LSWM
Re: Possibility to change all Cust&Vend fields in
two LSMW's
CTRL+F8.
Give the description for Project, Sub Project and Object and say OK. Now execute or press CTRL+F8.
pdfcrowd.com
pdfcrowd.com
Click Display / Change (it will make you to change). Select the Radio Button Batch Input Recording. Now click
on Goto
Recordings Overview. Click on Create Recording (Ctrl+F1).
pdfcrowd.com
Click OK
pdfcrowd.com
Create Vendor or Make changes for Entering Withholding tax details in the Vendor.
Press Enter
pdfcrowd.com
C
Press Enter
pdfcrowd.com
pdfcrowd.com
Click
Ctrl+Y, a + will come. With this, you can drag and copy whatever you want. In case if any field is appearing
twice you
need to change the field name by double clicking on that. Otherwise, your uploading will get failed.
Copy
the fileds to an excel file.
pdfcrowd.com
Now the field name and descriptions are in one Column. I.e., A. You need to
segregate that. To do that, select Column A and Select in Excel Data Text
to Column as shown in the following graph.
pdfcrowd.com
pdfcrowd.com
Now say Next and then again say Finish. Now all fields and texts are divided into two Columns.
pdfcrowd.com
Now copy the fields and texts as shown in the Sheet1 (Ctrl+C)
Go
to Sheet2
Keep
the cursor in the Sheet 2 (A1) and then
Edit,
Paste
Special
pdfcrowd.com
Check
in Transpose as shown below and say OK.
Now all your rows will become your columns as shown in the blow Screen.
Now
pdfcrowd.com
fill the required details exactly as shown below. You should note that you have
to enter 0001 for payment method instead of 0001, since if you straight enter
0001 it will become 1, therefore you must ensure whenever it is starting with
0 should be preceded with .
Now
select the whole sheet2.
Remove
all grids.
No colors should be there in the sheet.
No letter should be typed in different colors. All are in normal color only.
Keep the columns to LEFT Margin.
Now,
Format
=> Cells => Number => General as shown in the following screenshot.
pdfcrowd.com
pdfcrowd.com
Save
this file to your Hard Disk with a simple name. In this case I saved as Vendor.
Now
go to SAVE AS in Excel, and
Save
as Text (Tab Delimited) as shown in the above screen shot.
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
Click
F4 in the Recording Button, your structure will be populated. In this case it
is VENDRECO.
Now click on Save on Ctrl+S to save your recording.
After saving your recording click Back button or press Ctrl+F3 to go back.
pdfcrowd.com
Now you will observe that few steps have been disappeared. Only few steps are left
out. This is because of the recording mode that you have been selected. Ideally
there should not be any Idoc related steps should be visible.
Now Step1 is being completed and the system automatically takes you to second step.
Now press CTRL+F8 or Executed.
pdfcrowd.com
pdfcrowd.com
Your Source Structure Name and Description is shown. Click on Save button
pdfcrowd.com
Now press on Table Maintenance as shown above by keeping your cursor on the Source
Structure (in blue color in the above screen shot).
Copy those Fields from Sheet1 and copy it here. (from your excel file)
pdfcrowd.com
In case if your fields are came twice in recording, none of the field should be
similar. As already advised that change the field names to different field
names. Whatever, field names that you have changed in the structure should also
appear here. Meaning that in case these fields does not map with your changed
fields in your Structure, uploading will fail.
pdfcrowd.com
Enter the Field Type as C Characteristic and Length as 60. If you know the length
enter the exact length. If you do not enter the maximum length 60. You should
not enter the length less than the actual length of the field.
Say Save.
pdfcrowd.com
Select the Structure and click on Display / change button or press Ctrl+F1
pdfcrowd.com
Though
it is customary step, you should go to this step. And say OK for the message
that the system has issued. A source structure is already assigned to target
structure VENDRECO.
Now press Save and PressF3 or Click on back button to go back.
It will take you to the next screen automatically.
pdfcrowd.com
In the above screen, select the structure and then click display / change or (Ctrl+F1).
pdfcrowd.com
Go select the auto filed mapping as showing above in the above screen shot.
pdfcrowd.com
Keep on Pressing Accept Proposal for all the proposal as shown above.
pdfcrowd.com
Your entire field mapping should appear as above. Each field should have four rows as above.
Once it is being completed the system issues a statement that Auto Field Mapping is completed
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
Now Go to Specify Files Screen Manually and press Ctrl+F8 or Execute Button.
pdfcrowd.com
Select the TEXT (Tab Delimited) file that you have already created and say Open.
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
Now the system will take you to next step i.e., Assign Files. Press Ctrl+F8 or
press Execute Button.
pdfcrowd.com
Select Source Structure (as shown in blue colour above) and press Display / Change
Button (Ctrl+F1).
pdfcrowd.com
The system will take you to next step i.e., Read Data. Click on Execute or Press Ctrl+F8.
pdfcrowd.com
Value
Fields -> 1234.56
Date
Value -> YYYYMMDD as shown above. There should not be any check in the above
two check boxes.
Now
Click on Execute (F8)
The system will tell that total 8 records are being read.
Now Click on Back Button or press F3 TWICE, which will take you to initial screen.
pdfcrowd.com
Now the system takes you to next step Display Read Data
Click on Execute or Press Ctrl+F8.
pdfcrowd.com
Here you give the number of lines in your text file and say OK.
Click on Any one row and see whether the fields in SAP and columns in your Text File
are matching.
pdfcrowd.com
Once you are satisfied that everything is matching and going fine, press F3 or Click
on Back button TWICE, which will take you to initial screen.
pdfcrowd.com
pdfcrowd.com
The following screen will appear. See the screen and press Back Button (F3) twice,
which will take you to initial screen.
Now the system will automatically takes you to Display Converted Data.
Press Ctrl+F8 or Click on Execute Button.
pdfcrowd.com
Enter the number of lines From 1 to 8 in this case, to see how it is showing in
Converted Data and Say Ok. (Click on Rite Tick).
pdfcrowd.com
Click on any one of the converted data line and see how the data is going.
pdfcrowd.com
If you are satisfied that everything is going fine, then Click on Go back button
(F3) TWICE, which will take you to initial screen.
pdfcrowd.com
pdfcrowd.com
One Batch input session will be created. The system will state that 1 batch input
folder with 8 transactions created will be issued. Say OK. (Click Right),
which will take you to initial screen.
pdfcrowd.com
Now you are in SM35 Screen. Select the line that is being created to upload and
press Execute (F8) button as shown above.
pdfcrowd.com
Check in:
Extended log
Expert Mode
Dynpro Standard Size
See the log and click on Line, if there are any problems in your log.
pdfcrowd.com
Click on back button (F3) to come out of the session FOUR TIME, which will take you
to Easy Access Screen.
Go to Report
S_ALR_87012086
Now You are Viewing the vendor records that you are uploaded. You can also follow
the same steps for Change also.
pdfcrowd.com
127780 View s
Products: sap_erp_financials Topics: enterprise_resource_planning Tags: lsmw , data_migration, data_conversion
pdfcrowd.com