Professional Documents
Culture Documents
Chapter 30 LSMW and Balances Upload-1
Chapter 30 LSMW and Balances Upload-1
Table of Contents
1 LSMW Introduction................................................................................................... 2
1.1 Create a project, sub project and object ................................................................... 2
1.2 Create Recordings ................................................................................................... 4
1.3 Maintain object attributes ....................................................................................... 10
1.4 Maintain Source Structure ...................................................................................... 12
1.5 Maintain source fields ............................................................................................ 13
1.6 Maintain Structure relations.................................................................................... 19
1.7 Maintain field mapping and conversion rules .......................................................... 19
1.8 Specify file for upload and create a file for upload .................................................. 21
1.9 Assign files ............................................................................................................. 29
1.10 Read data .............................................................................................................. 30
1.11 Display Read data .................................................................................................. 31
1.12 Convert data .......................................................................................................... 33
1.13 Display converted data........................................................................................... 34
1.14 Create Batch input session .................................................................................... 36
2 Opening Balances Upload...................................................................................... 39
3 Closing Procedure.................................................................................................. 42
3.2 To carry forwarded asset balances ........................................................................ 43
3.3 To close Previous Fiscal Year (Optional Step) ....................................................... 43
1 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1 LSMW Introduction
LSMW an abbreviation for Legacy System Migration Workbench is a tool in SAP which is used
to migrate Legacy data into SAP. It is a very important tool and easy to learn and master it.
LSMW has a recording tool which can record the transaction and the fields to be uploaded.
Thus upload of master data and transaction data is made very simple in this tool.
Thus in FI you can upload the following master data through this:
Vendors, Customers, General Ledger, Asset master, Bank Master.
In this document, we cover the creation of a Vendor master data with accounting view.
Click to continue.
If you do not want this message to appear every time,
You can click on check box
2 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
Create a subproject
Click
Create an object description
Click
3 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.2 Create Recordings
Now we will proceed to Recordings since we want to record a transaction (Create Vendor
Master Data)
Important Note:
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.
4 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
Update the following fields:
Click on
We do not want capture anything here.
Click on to go to the next screen
Click on to go to the next screen.
5 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Update the following:-
Click
Click Yes
6 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
7 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
Make a note of these fields since they will be required later on.
You can export these fields to an excel sheet as follows:-
Select spreadsheet
8 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
Click to change the location and give File name
Click
9 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
Click
Click
10 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
Click on
11 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.4 Maintain Source Structure
Notice that the radio button has automatically moved to the next step Maintain source
structures. Each time you perform a transaction the radio button moves to the next step
automatically.
Also notice on the extreme right hand side under the column Last action (date, time, and user).
This is updated with information each time the transaction is performed.
Here we maintain the source structure for the LSMW.
Click on
Click
Click
Update the following:-
12 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.5 Maintain source fields
Here we maintain the source fields which are to be updated with the data.
Click on
Click on
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.
13 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
14 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
15 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Now go to SAP LSMW screen and copy and paste all these fields from excel.
To know the length of fields, go to the transaction code FK02 and enter the Vendor code you
just now saved. In our case we saved vendor code 9000020
We want to know the length of the field Name
Position the cursor on field and press F1 function button on the keyboard or right click and
select Help
Position the cursor on field and press F1 function button on the keyboard or right click and
select Help
16 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Double click
The length of the field Name1 is 40 and the data type is character
17 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Here you update the field name, the type of field whether C (Character, alphanumeric) or N
(Numeric) and the length of the field
18 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.6 Maintain Structure relations
We actually don’t do anything except click on change button and click on save button.
Click on
Click on
Click on and Click
Click on
19 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
20 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
Click on
System message
1.8 Specify file for upload and create a file for upload
Here you attach the text file for upload.
Skip the Step Maintain fixed values, translations, user defined routines
21 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Select as below
Click on
Before we attach the file for upload, we must create this the file.
Use the file already downloaded for creating upload file
22 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Right click and select Paste Special
Click on
23 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Remove the blank columns in between and your sheet would like this after removing the blank
columns
Now update the data for vendors to be uploaded into the system.
24 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click
Click on
Click on
Open the text file to see if it is ok, whether it has no double quotes etc.
25 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
There are some double quotes or special characters in the file, we need to remove those.
Go to LSMW Screen in SAP
Click on
26 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Double click on
27 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
28 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.9 Assign files
We just click on change button and save the assignment
Click on
Click on
Click on and Click
29 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.10 Read data
By executing this step the system actually reads the data from the upload file.
Click on
Click on
Click on
Click on
31 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
32 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.12 Convert data
In this step the read data is converted.
Click on
Click on
33 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
Click on
34 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
35 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.14 Create Batch input session
In this step we create the Batch input session for the upload data. The data is not updated when
you create Batch input session.
Click on
Click on
Press Enter
36 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
1.15 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.
Click on
37 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
38 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Company going live in SAP from 1st January 2012 onwards, - Take Balance Sheet
account balances as on 31st December 2011 in SAP. We do not enter all the
transactions because of the following reasons:
Reasons:
1. In normal accounting all vendors, Customers, Assets are part of General Ledger
where as in SAP we have sub ledger concept.
2. In normal accounting –for vendors/ customers –Purchases /Sales transactions and
advances will be entered in one account where as in SAP we have normal items and
special GL Item.
3. In normal accounting for Fixed Assets- We have account wise acquisition value and
accumulated depreciation where as in SAP for Fixed Assets, we have each sub
asset wise acquisition value and accumulated depreciation.
4. In normal accounting depreciation in a provisional figure where as in SAP it is
actually calculated figure.
5. In normal accounting raw material consumption is a derived figure.
Opening Stock + Purchases - Closing Stock, whereas in SAP we maintain each
material wise quantity, rate and amount and raw material consumption is actually
calculated figure.
6. In normal accounting we will not pass production entries and delivery entries where
as in SAP, system pass production entries and delivery entries with production cost.
Procedure
1) We should enter day to day data in SAP production client till balances are up loaded and
tallied.
3) In case of Assets, prepare a statement showing each asset wise acquisition value and
accumulated depreciation which should match with trail balance figure.
4) In case of materials, prepare as a statement showing Material wise, Quantity, Rate and
Amount which should match with Trail Balance figure.
6) After uploading balances, if the above 5 clearing accounts become zero, Then our
opening balances upload is correct
39 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Create GL Accounts
1. GL clearing A/c
2. Vendor clearing A/c
3. Customer clearing A/c
4. Asset clearing A/c
5. Stock taking A/c
40 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
3A Prepare a statement showing each vendor wise bill wise open item and
Advances which showed match with trail balance.
Vendor Account Balance 100,000
Debit: Advance 20,000 advances to vendor
Credit: Bill no.1345 40,000
Credit: Bill No.2234 50,000
Credit: Bill No.3455 30,000
4 A Prepare a statement showing each customer wise bill wise open items and
advances which should match with trail balances
Customer Account Balance 200,000
Debit: Bill no.1234 50,000
Debit: Bill No.2567 180,000
Credit: Customer Spl. GL 30,000 Advance from Customer
41 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
3 Closing Procedure
Click on
Ignore the warning message press enter
This is one time activity for each year
42 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
3.2 To carry forwarded asset balances
Via Menus AccountingFinancial accountingFixed assetsPeriodic processing
Year end closingExecute
Via Transaction Code 0AAQ
Click on
To close only year for asset accounting we have to post depreciation for all assets and for all
months
43 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
44 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
45 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
3.7 To copy number range interval for next year
Via Menus IMGFinancial accounting Financial accounting global settings
DocumentDocument number rangescopy to fiscal year
Via Transaction Code OBH2
Click on
Select Yes button for the warning message
Click on
Click on
46 venkat.emani@yahoo.com
CHAPTER 30 LSMW & OPENING BALANCES UPLOAD
Click on
If you are not able to see the field period. From menu, select Settings Editing Options
Select
Click on
47 venkat.emani@yahoo.com