Customer Master Data - LSMW
Customer Master Data - LSMW
Workbench [LSMW]
Customer Master Data (Centrally)
Processed by
Rana Waleed Mehmood
Table of Contents
1. Create a Project, Sub Project and Object........................................................................................ 2
2. Create Recordings ........................................................................................................................... 5
3. LSMW Process Steps ..................................................................................................................... 24
3.1 Maintain Object Attributes ................................................................................................... 24
3.2 Maintain Source Structures .................................................................................................. 26
3.3 Maintain Source Fields .......................................................................................................... 28
3.4 Maintain Structure Relations ................................................................................................ 34
3.5 Maintain Field Mapping and Conversion Rules .................................................................... 35
3.6 Maintain Fixed Values, Translations, User-Defined Routines ............................................... 41
3.7 Specify Files ........................................................................................................................... 42
3.8 Assign Files ............................................................................................................................ 54
3.9 Read Data .............................................................................................................................. 55
3.10 Display Read Data ................................................................................................................. 57
3.11 Convert Data ......................................................................................................................... 60
3.12 Display converted data ......................................................................................................... 61
3.13 Create Batch input session.................................................................................................... 64
3.14 Run Batch input session ........................................................................................................ 66
4. Customer List ................................................................................................................................ 83
REFERENCES .......................................................................................................................................... 87
BIBLIOGRAPHY ...................................................................................................................................... 88
1
1. Create a Project, Sub Project and Object
Enter
2
Choose Continue
3
Choose Continue
Choose Continue
Choose Continue
4
2. Create Recordings
Now we will proceed to Recordings since we want to record a transaction (Create Customer
Master data)
Important:
Please note that before you start the recording you should first actually perform this
transaction manually and plan what data you want to capture for upload purpose. This is
required so that you avoid doing mistakes while recording.
While recording you should not press enter in between, you should only press enter after you
have completed entering all the details on that screen.
5
Choose Continue
Choose Continue
Enter
6
Enter
7
Fill the relevant information about your Company’s data and Click to go to the next
screen
8
Fill the relevant information and Click to go to the next screen
9
Click to go to the next screen
10
Click to go to the next screen
11
Choose the Payment Terms and Payment Methods and Click to go to the next screen
12
Choose the Dunning Procedure and Click to go to the next screen
13
Fill the relevant information and Click to go to the next screen
14
Click to go to the next screen
15
Click to go to the next screen
16
Click to go to the next screen and you will have the following screen:
17
Click to update the field name
18
Make a note of these fields since they will be required later on.
19
Select the with the radio button
20
Choose Continue
Click to change the directory location where you want to save the Spreadsheet
21
Click
Click
22
If you have the above dialogue box, then choose and the file will be saved. The
file will be checked later.
Execute
23
3. LSMW Process Steps
There are 14 process steps included in the execution of LSMW which are as follows:
Execute
24
Click
25
Save
Go back
26
Execute
Click on .
27
Mention the following details:
Choose Continue
Save
Go back
28
Execute
Click on .
29
Now we need to update the fields which you have captured in the recording. In step 1
recording we had downloaded a file with the fields. Let us open that file in excel.
Double Click
Click on
30
Next, you can insert a new worksheet and copy all the fields shown in Column ‘J’ along with
Field type ‘C’ which represents Character and the ‘Length’ of the field ‘100’.
31
Now the field names, their type and length need to be mapped in LSMW screen, you can
copy all the data and paste it into the LSMW screen:
32
Note: No field should be mapped twice. If this is the case, then the system can give error and
the mapping should be done again without the repetition of the field name.
33
Save
Go back
Save
Go back
34
Execute
Click
Save
Go back
35
Here we create a link between the system fields and the source fields maintained in the earlier
step.
Execute
36
Click
37
38
Choose Continue
Choose and you will proceed to the proposal for the next field:
Similarly keep choosing for all the fields until you get this message:
39
Continue
Save
Click
40
Go back
41
Skip this Step and select the radio button manually to go to the next one.
Execute
42
Before we attach the file for upload, we must create this file. Use the file already downloaded
for creating upload file.
Copy column K till the end of the data and insert on a new worksheet. Right click and select.
43
44
Check ‘Transpose’ and Click
Now update the data for Customers to be uploaded into the system.
45
Save this file as an excel template for upload of Customer master data.
Next, you have to copy the data without the header row and paste that into the new
worksheet:
46
Now click on File → Save as
Click
Click
47
Click
Check the text file and make sure that it should not have single or double quotes, commas etc.
Open the text file from the location where it is saved.
There can be some single or double quotes in the file, we need to remove this:
48
Click
Click
Click
Now the file is ready for upload. Go to the LSMW screen in SAP
Click
49
Double Click on
50
Take a drop down in the field file:
51
Update the name and choose the radio button for ‘Tabulator’ option:
52
Continue
53
Save
Go back
Execute
54
Change
Save
Execute
55
Execute
Choose
56
It shows the number of transactions read, written and not written.
Go back twice
Execute
Continue
57
Double Click
58
Go back twice
59
3.11 Convert Data
In this step the read data is converted.
Execute
Execute
60
Go back twice
Execute
61
Continue
Double Click
62
63
Go back twice
64
Execute
Execute
Continue
65
3.14 Run Batch input session
In this step, we execute the Batch input session. Data is actually updated here. We should
first execute the Batch input session for a few records in foreground. After testing that the
data is getting uploaded correctly, then you can execute this session in the background.
Execute
Highlight
Click
66
Check ‘Extended log’ and ‘Expert mode’ and Uncheck ‘Dynpro standard size’.
Click
67
Click
68
Click
69
Click
70
Click
71
Click
72
Click
73
Click
Click
74
Click
75
Click
Click
76
Click
77
Click
78
Click
79
Click
80
Click
81
Click
Click
82
Click
Similarly, you can migrate all the Customer Master data by keep clicking until you get
this information:
Click and with this, the execution of LSMW process of migrating Customer
Master Data comes to an end.
4. Customer List
You can confirm the creation of Customer master data by using the following menu path:
83
Double Click
84
Choose the Company Code and Execute
85
The Customer master data created with the LSMW process can be seen in the above list.
86
REFERENCES
at SAPTOPJOBS
3. http://help.sap.com/saphelp_40b/helpdata/en/c7/a88b2743dd11d182b30000e829fbfe
4. http://help.sap.com/saphelp_46c/helpdata/en/c7/a88b9c43dd11d182b30000e829fbfe/
5. http://help.sap.com/saphelp_470/helpdata/en/c7/a88ba943dd11d182b30000e829fbfe/
7. http://help.sap.com/saphelp_46c/helpdata/en/96/8b3ee943ce11d189ee0000e81ddfac/
8. http://help.sap.com/saphelp_46c/helpdata/en/01/a9bb94455711d182b40000e829fbfe/
9. http://help.sap.com/saphelp_46c/helpdata/en/01/a9bba1455711d182b40000e829fbfe/
87
BIBLIOGRAPHY
2. help.sap.com
3. http://scn.sap.com
4. http://www.sapebooks.com
88