Documente Academic
Documente Profesional
Documente Cultură
System Document
3/11/2012
Author
Alok
Samantaray
Document Control
LSMW Recording Method Page 1 of 28
Project
BSNL
Author(s)
Alok Samantaray
File Name
Document Location
Document Server
Created
8 JULY 2012
Last Edited
03 March 2015
Number of Pages
30
This document contains information, which is confidential
and proprietary by nature. It is intended for learning
purpose used by Learner. It may not be reproduced or
disclosed to any other party or utilized in any manner
other than that specifically contemplated herein.
Comments
New Financial
This document was
System
data collected by
Configuration
Document
Document History
Enterprise
VersionStructure
Revision Date
Changed By
Revision Description
Vol. 1
Table of Contents
INTRODUCTION 4
LSMW Recording Method Page 2 of 28
1.1
1.2
Section 1
LSMW Recording Method Page 3 of 28
Introduction
1.1 Purpose of this document
The purpose of the document is to enhance the knowledge on SAP migration tool -LSMW
batch recording method. It will help to know the SAP standard way to upload master data &
transaction data. It will Step-by-Step Guide for using LSMW to Update master data/financial
transaction Records. After you complete this entire document you can independently
upload transaction data & master data by using SAP standard method by LSMW.
Note! Browsing thru these 14 steps, you may get a feeling that this is a very lengthy and
time-consuming activity. However, for the purposes of demonstration, I have made it
detailed. Although it looks lengthy, actually it takes hardly few hours from start-to-finish!
After playing around with few simple LSMW scripts, you will find it so easy to change and
create more complex ones.
Document Name
Knowledge Document
Section 2
Filled up project, sub-project, object field without spacing but description fields
are freely definable with spacing up to certain extent of charter.
Figure 4
Keep Cursor on these four target structures and click on icon Create Relation and
structure relations are maintained as shown in Figure 22.
In this step, we define how the layout of the input file is. The input file is a [Tab] delimited
with the first row as field names. It is present on my PC (local drive) as C:/header.txt. (See
Figure 13.)
2.10
This step (Figure 17) is optional. If required, you can review the field contents/value
for the rows of data read by double click on the row.
2.11
Convert Data
This is the step that actually converts the source data (in source format) to a target
format. Based on the conversion rules defined, source fields are mapped to target
fields.
2.12
When you convert data, LSMW automatically converts into the appropriate structure
layouts, as required by Standard program (RFBIDL00). (See Figure 27).
Note that if you had only one record in source file, the converted file has four records.
Earlier, creating this input file, so that the standard interface program can read it, was a big
nightmare, the primary reason being that it could have multiple record layouts. Even for a
simple conversion with one input record, you would have to create this complex file with
many record layouts. The advantage of LSMW is that it prepares these multi-layout files
automatically.
2.13
Once source data is converted in internal format, you can create a BDC session to process
the updates (Figures 28 and 29). Figure 28 Create BDC Session
2.14
You can execute the BDC session by Run Batch input session. Executing a batch input
session is a standard SM35 transaction for managing BDC sessions. Once you have
successfully executed the batch input session, the financial document are updated in the
system. You can confirm this by viewing the FB03
Document End