Professional Documents
Culture Documents
Data Uploading in SAP
Data Uploading in SAP
Much of the data being uploaded into SAP already exists in a digital format such as Microsoft Excel
spreadsheets or Microsoft Access databases. Moving data out of these spreadsheets and databases
requires either manual data entry or ABAP development resources.
There are two ways to load the legacy data into the SAP system:
LSMW – is a best tool and functional-consultant-friendly. It has capability to work equivalent to BDC.
The tool supports conversion of data of the legacy system in a convenient way. The data can then be
imported into the R/3 system via batch input, direct input, BAPIs or IDocs.
Furthermore, the LSM Workbench provides a recording function that allows to generate a "data
migration object" in an entry or change transaction
To start working with the LSM Workbench, use transaction LSMW:
Click on the create button to create new project, sub project and the object.
On the initial screen, you can create a new project, corresponding sub projects and objects via Edit ->
Create new entry.
Project: An ID with a maximum of 10 characters to name your data transfer project. If you
want to transfer data from several legacy systems, you may create a project e.g. for every
legacy system.
Sub project: An ID with a maximum of 10 characters that is used as further structuring
attribute.
Object: An ID with a maximum of 10 characters to name the business object.
Click on the execute button once the project, sub project and the object are created.
Now record using Batch Input Recording Data Migration - Step by Step via Batch
Input Recording
In this step, you need to list what fields are present in the source structure. The easiest
way is to click on 'Table Maintenance' icon to enter Field name, Type and Length for
each field
Step 4: Maintain Structure Relations
The relationship is defaulted automatically. Save while coming back to the main
screen.
Step 5: Maintain field mapping and conversion rules
Keep cursor on field and click on 'Assign Source field' icon to choose source field
from structure. Repeat this for every field.
Step 6: Maintain fixed values, translations, user-defined routines
You can also maintain re-usable translations and user-defined routines, which can be
used across conversion tasks.
Step 7: Specify files
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 and it has to be present on local drive.
Double Click on the legacy data.
** Create an Excel with your data and save it as a Tab-delimited text file on your
local drive
Step 8: Assign files
Execute step 'Assign Files' and the system automatically defaults the file name to the
source structure.Save while going to main screen.
Step 9: Read data
In this step, LSMW reads the data from the source file (from your PC's local drive).
You have the option to read only selected rows and convert data values to internal
format.
Step 10: Display read data
This step is optional. If required, you can review the field contents for the rows of
data read.
Step 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.
Step 12: Display Converted data
Again this is an optional step to view how the source data is converted to internal SAP
format.
Step 13: Create batch input session
Once the source data is converted in an internal format, you can create a batch session
to process updates. Click EXECUTE button to execute a batch input session.
Step 14: Run Batch Input Session
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 records are updated in the
system. You can confirm this by viewing the record using the particular transaction.