New Doc · Title: New Doc Author: CamScanner Subject: New Doc
DOC-46251
-
Upload
jagannadhabirakayala6893 -
Category
Documents
-
view
212 -
download
0
Transcript of DOC-46251
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 1/54
Generated by Jive on 2014-06-24+02:00
1
LSMW for Functional Consultants in simplestep-by-step way
Legacy System Migration Workbench (LSMW) is handy tool for data uploads. In most of the big projects thereis 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:
Give some Unique name for Project, Subproject and Object. Click Create (Shift+F1). Now execute or press
CTRL+F8.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 2/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
2
Give the description for Project, Sub Project and Object and say OK. Now execute or press CTRL+F8.
Select Maintain Object Attributes and Execute (CTRL+F8)
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 3/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
3
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).
Click OK
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 4/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
4
Give Required Transaction Code (In this case it is FK01)
Create Vendor or Make changes for Entering Withholding tax details in the Vendor.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 5/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
5
Press Enter
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 6/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
6
C
Press Enter
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 7/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
7
Click on Save Button.
Recording is saved now. Click on “Default All” Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 8/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
8
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 9/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
9
Remove the Blank Rows.
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 10/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
10
Now Select the fixed with and say “Next”.
Select Fixed Width and click next.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 11/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
11
Keep columns wherever you want by clicking.
Now say Next and then again say “Finish”. Now all fields and texts are divided into two Columns.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 12/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
12
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
Check
in Transpose as shown below and say OK.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 13/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
13
Now all your rows will become your columns as shown in the blow Screen.
Now
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 ‘.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 14/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
14
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 15/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
15
Now say OK.
Now copy the whole Sheet2 and paste it in the Sheet3. Then
delete the header rows as shown below:
Save
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 16/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
16
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.
Click on OK button as shown below.
Click on "YES" button as shown below.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 17/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
17
Now, Click on "NO" button as shown below.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 18/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
18
Press F3 or Click on Back Button.
Now, Click on "YES" to save.
You will reach the below screen.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 19/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
19
Again, press F3 or click on back Button.
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 20/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
20
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 21/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
21
Click on Display / Change Button or press Ctrl+F1
Now create a Structure by clicking “Create Structure” or Ctrl+F4.
Give Source Structure Name and Description
Your Source Structure Name and Description is shown. Click on Save button
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 22/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
22
Now Press F3 or Click back button to go back.
Now the second step is completed and system automatically takes you to third step.
Click CTRL+F8 or Press Execute Button, which will take to maintain source fields.
Click on Display / change as shown above OR press Ctrl+F1.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 23/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
23
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)
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 24/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
24
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”.
Press "Enter". Save the results and Press
F3 or Click on back button to go back.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 25/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
25
Now Click Save in this screen and again press F3 to go back.
Now system will automatically takes you to fourth screen.
Click CTRL+F8 or Click on Execute Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 26/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
26
Select the Structure and click on Display / change button or press Ctrl+F1
Click on Relationship (Ctrl+F4)
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 27/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
27
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.
Press CTRL+F8 or Click on Execute Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 28/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
28
In the above screen, select the structure and then click display / change or (Ctrl+F1).
Again Select the Structure,
Go select the auto filed mapping as showing above in the above screen shot.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 29/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
29
Say “OK” with this 50 number screen. Do not make any changes.
Keep on Pressing “Accept Proposal” for all the proposal as shown above.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 30/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
30
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”
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 31/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
31
Click Save (Ctrl+S) and go back (F3).
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 32/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
32
Nothing to do with “Maintain Field Values, Transactions, User Defined Routines”
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 33/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
33
Now Go to “Specify Files” Screen Manually and press “Ctrl+F8” or Execute Button.
Select the first row and click on Display / change Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 34/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
34
Now Click on Add Entry “Ctrl+F2” as shown above.
Select the “TEXT (Tab Delimited)” file that you have already created and say Open.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 35/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
35
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 36/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
36
Your file has come and Enter some relevant “Name”
Select “Tabulator” Radio Button and say OK.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 37/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
37
Now Save (Ctrl+S) and press F3 or Back Button to go back.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 38/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
38
Now the system will take you to next step i.e., “Assign Files”. Press Ctrl+F8 or
press Execute Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 39/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
39
Select Source Structure (as shown in blue colour above) and press Display / Change
Button (Ctrl+F1).
Click on Assignment (Ctrl+F2)
Though it is a customary step, you need to visit this step compulsory. The system will
issue a message stating that “A file has already been assigned to source
structure “VENDOR_RECORDING”. Say Ok.
Click on Save (Ctrl+S) and Press F3 or click on back button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 40/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
40
The system will take you to next step i.e., “Read Data”. Click on Execute or Press Ctrl+F8.
Remove the Checks for
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)
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 41/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
41
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.
Now the system takes you to next step “Display Read Data”
Click on Execute or Press Ctrl+F8.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 42/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
42
Here you give the number of lines in your text file and say OK.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 43/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
43
Click on Any one row and see whether the fields in SAP and columns in your Text File
are matching.
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 44/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
44
Now you are automatically in “Convert Data” Screen.
PressCtrl+F8 or Click on Execute Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 45/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
45
Just press F8 or Execute Button.
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 46/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
46
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).
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 47/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
47
Click on any one of the converted data line and see how the data is going.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 48/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
48
If you are satisfied that everything is going fine, then Click on Go back button
(F3) TWICE, which will take you to initial screen.
You will be automatically taken to “Create Batch Input Session”.
Click Ctrl+F8 or press “Execute” Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 49/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
49
Select "Keep Batch input Folder(s)?
Just Click on Execute Button (F8).
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 50/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
50
Click Ctrl+F8 or Press on Execute Button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 51/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
51
Now you are in SM35 Screen. Select the line that is being created to upload and
press Execute (F8) button as shown above.
Select “Background” Radio Button.
Check in:
Extended log
Expert Mode
Dynpro Standard Size
As shown above and the click on “Process” button.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 52/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
52
See the log and click on Line, if there are any problems in your log.
Click on back button (F3) to come out of the session FOUR TIME, which will take you
to Easy Access Screen.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 53/54
LSMW for Functional Consultants in simple step-by-step way
Generated by Jive on 2014-06-24+02:00
53
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.
8/12/2019 DOC-46251
http://slidepdf.com/reader/full/doc-46251 54/54
LSMW for Functional Consultants in simple step-by-step way
Please let me know if you have any doubts.