SlideShare a Scribd company logo
1 of 25
Download to read offline
1 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
LSMW:
Vendor Master Creation using Standard
Batch/Direct Input of LSMW
[Author-Editor-Designer = Pavan Golesar ~15.01.2016]
2 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Table of Contents
Initial Step:....................................................................................................................................................................... 3
Step 1: Maintain Object Attributes................................................................................................................................... 5
Step 2: Maintain Source Structures .................................................................................................................................. 8
Step 3: Maintain Source Fields ......................................................................................................................................... 9
Step 4. “Maintain Structure Relations”............................................................................................................................11
Step 5. “Maintain Field Mapping and Conversion Rules” ................................................................................................15
Step 6. “Maintain Fixed Values, Translations, User-Defined Routines”............................................................................16
Step 7. “Specify File”......................................................................................................................................................16
Step 8: Assign Files..........................................................................................................................................................19
Step 9: Read Files............................................................................................................................................................19
Quick troubleshoot: ................................................................................................................................................20
Step 10: Display Read Data .............................................................................................................................................21
Step 11: Convert Data .....................................................................................................................................................21
Step 12: Display Converted Data .....................................................................................................................................22
Step 13: Create Batch Input Session................................................................................................................................22
Step 14: Run Batch Input Session ....................................................................................................................................23
Testing:...........................................................................................................................................................................24
Summary ........................................................................................................................................................................25
3 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Introduction: Legacy System Migration Workbench or LSMW is an SAP System tool that
supports when you are copying data from non-SAP (LEGACY) systems.
LSMW can be used to easily load / change master data or transactions in SAP without any
programming at all. It can also be used in a production system to make changes to
existing data. Very limited authorization checks are available on the transaction, so the
use of it must be very well controlled.
Why is it needed: To mention one, it can be used to upload data at cutover, such as: open
orders, contracts, materials, vendors, stock on hand.
In simple terms, we need carry out migration activity so as to move from legacy system to
SAP.
Initial Step:
Go to transaction code LSMW.
Click on new
4 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Enter details as below:
Hit enter or press Enter as below for sub project details
Hit enter or press Enter as below for object name details & continue.
Once done, it should be looking something like this (below):
5 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 1: Maintain Object Attributes
-> Click Execute
6 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
In change mode select “Standard Batch/Direct Input”.
Press F4 key to get value help on Object field:
Press F4 key to get value help on Method field:
7 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Select Save and press F3 or back
Notice that system automatically select next step,
In our case it is step two,
Execute
8 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 2: Maintain Source Structures
-> Click Execute to get below screen
Create new source structure:
Save
9 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 3: Maintain Source Fields
-> Click Execute to get below screen
Execute
Select the structure (Place cursor on structure name) and select
NOTE: In this tutorial, I’m only taking fields (mandatory field’s obvio), In real time such minimum fields may not suffice
thus you may need to get the technical details of fields.
10 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Click Save .
Back & Save again here.
Tip: These fields in above image will be useful in making our flat file which will be
holding the data to be uploaded to our SAP System.
11 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 4. “Maintain Structure Relations”
- > Execute
12 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Tip: To maintain structure relations click on BGR00 and ‘click relationship’ (ctrl +
F4) as shown in above screenshot it will assigned to structure. Repeat this for all
required relations in that screen.
So, Select by placing cursor on respective structures.
Imp Tip:
Well this might be confusing for few guys so let me put it straight, if you ever been to tcode
XK01 (in below image), You probably have to enter Account group, Purchase Org, Company
code… These fields are referred in structure BLF00. (DOUBLE CLICK IT TO OPEN)
13 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Example: If you want to don’t know reconciliation a/c structure or table (like me) then simply goto
xk01/02/03 tcode and press F1 on that particular field. You’ll get the structure there.
Here, I went to XK02 tcode and press F1 on recon a/c and under technical information (button)
there it is LFB1…
14 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Okay, back to our main topic. Once relationships are done Screen looks (In my case) like below:
15 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Don’t forget to Save
Step 5. “Maintain Field Mapping and Conversion Rules”
- > Execute this step
Keep your cursor on ‘TCODE’ field and click on ‘Insert Rule’ icon
Choose radio button ‘Constant’ (below image).
Enter value ‘XK01’ transaction code.
16 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Now, Keep your cursor on field ‘BUKRS’ and click on ‘Assign source field’ icon ,
Similarly, Carryout this operation for our rest of the fields (Purch. Org, Comp code…etc)
Step 6. “Maintain Fixed Values, Translations, User-Defined Routines”
You can also maintain re-usable translation & user-defined routines, which can be used across
conversion tasks. In this case, that step is not required.
Step 7. “Specify File”
- > Execute
We define how the layout of the input file is.
17 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Note: Before going further, create an Excel file & save it in Tab-delimited format on your local
drive.
My .txt file looks like this.
Keep cursor on Legacy Data - On the PC (Frontend) & click create button. Browse for your flat
file on your pc as here we specify files take file from legacy data (on the pc front end).
18 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Hit Enter (Click continue.)
Hit Save and go back.
19 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 8: Assign Files
- > Execute
System automatically defaults the file name to the source structure on execution of this step.
Step 9: Read Files
- > Execute
20 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Quick troubleshoot:
If you face Error:
Error when uploading file 'C:Documents and SettingsDesktopcsk' (Return Code = 13).
Message no. /SAPDMC/LSMW_OBJ_070010.
Solution:
Check file is proper tab-delimited. If still error exits then delete file perform step 7 again (imp).
If everything goes right, below screen appears (with Not Written = 0)
21 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 10: Display Read Data
- > Execute
Optional step: Used to verify field contents for the row of data read.
Step 11: Convert Data
- > Execute
22 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Step 12: Display Converted Data
- > Execute
Step 13: Create Batch Input Session
Once the source data is converted to internal format, you may create batch input session.
23 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Once you execute above step, to verify goto tcode SM35.
Yeaa ! Look Batch input session with session name ‘XK01’ is created.
Step 14: Run Batch Input Session
Successfully I had completed all these steps.
24 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Testing:
Goto SE11 tcode, Enter table LFA1 - CONTENTS.
(REMEEMBER: We had entered search term as ZAPPER – ha haa that’s what I like)
25 | Pavan Golesar
© abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com
Summary:
In this way, We can upload (vendor master) data using LSMW Direct input method.
Below links are for more info:

More Related Content

What's hot

New Asset Accounting in S4 HANA
New Asset Accounting in S4 HANANew Asset Accounting in S4 HANA
New Asset Accounting in S4 HANAraman2664
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginnerssapdocs. info
 
PCA Configuration
PCA ConfigurationPCA Configuration
PCA Configurationvannakm
 
Sap fi automatic payment configuration
Sap fi   automatic payment configurationSap fi   automatic payment configuration
Sap fi automatic payment configurationExpertPlug
 
SAP FICO Online Training
SAP FICO Online Training SAP FICO Online Training
SAP FICO Online Training Thanusha154
 
GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD Ganesh Tarlana
 
Fi sd integration with copa
Fi sd integration with copaFi sd integration with copa
Fi sd integration with copaCapgemini
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap agLluckyy
 
Sap sd-sun-surya-material
Sap sd-sun-surya-materialSap sd-sun-surya-material
Sap sd-sun-surya-materialsahilkh500
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsyuppy
 
Guia configuracao-fi
Guia configuracao-fiGuia configuracao-fi
Guia configuracao-fiRose1208
 
F.16 balance carry forward of gl accounts
F.16 balance carry forward of gl accountsF.16 balance carry forward of gl accounts
F.16 balance carry forward of gl accountsFarooq Wangde
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE MSND Prasad
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Documentsapdocs. info
 
Vendor downpayment process mapping with EHP4 enhanced functionality
Vendor downpayment process mapping with EHP4 enhanced functionalityVendor downpayment process mapping with EHP4 enhanced functionality
Vendor downpayment process mapping with EHP4 enhanced functionalitySubhrajyoti (Subhra) Bhattacharjee
 

What's hot (20)

New Asset Accounting in S4 HANA
New Asset Accounting in S4 HANANew Asset Accounting in S4 HANA
New Asset Accounting in S4 HANA
 
SAP S4 HANA.pptx
SAP S4 HANA.pptxSAP S4 HANA.pptx
SAP S4 HANA.pptx
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginners
 
PCA Configuration
PCA ConfigurationPCA Configuration
PCA Configuration
 
Sap fi automatic payment configuration
Sap fi   automatic payment configurationSap fi   automatic payment configuration
Sap fi automatic payment configuration
 
SAP FICO Online Training
SAP FICO Online Training SAP FICO Online Training
SAP FICO Online Training
 
GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD
 
Fi sd integration with copa
Fi sd integration with copaFi sd integration with copa
Fi sd integration with copa
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
Sap sd-sun-surya-material
Sap sd-sun-surya-materialSap sd-sun-surya-material
Sap sd-sun-surya-material
 
Sap fi configuration
Sap fi configurationSap fi configuration
Sap fi configuration
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN tickets
 
Transfer pricing in sap
Transfer pricing in sapTransfer pricing in sap
Transfer pricing in sap
 
Guia configuracao-fi
Guia configuracao-fiGuia configuracao-fi
Guia configuracao-fi
 
F.16 balance carry forward of gl accounts
F.16 balance carry forward of gl accountsF.16 balance carry forward of gl accounts
F.16 balance carry forward of gl accounts
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Document
 
Sap funds management training
Sap funds management trainingSap funds management training
Sap funds management training
 
Vendor downpayment process mapping with EHP4 enhanced functionality
Vendor downpayment process mapping with EHP4 enhanced functionalityVendor downpayment process mapping with EHP4 enhanced functionality
Vendor downpayment process mapping with EHP4 enhanced functionality
 

Similar to SAP LSMW - Direct input approach v2.5 by Pavan Golesar

SAP Workflow Po create workflow by pavan golesar
SAP Workflow Po create workflow by pavan golesarSAP Workflow Po create workflow by pavan golesar
SAP Workflow Po create workflow by pavan golesarPavan Golesar
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Leila Morteza
 
How to create_an_ecatt
How to create_an_ecattHow to create_an_ecatt
How to create_an_ecattMohammed Azhad
 
Let start with GUIXT
Let start with GUIXTLet start with GUIXT
Let start with GUIXTKang YAyan
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerKaushal Mewar
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Srinivas Dukka
 
Sap basis administration handbook
Sap basis administration handbookSap basis administration handbook
Sap basis administration handbookblackgoldboy
 
How to Install Magento on WAMP Server
How to Install Magento on WAMP ServerHow to Install Magento on WAMP Server
How to Install Magento on WAMP ServerAPPSeCONNECT
 
Crm dynamics workflow
Crm dynamics workflowCrm dynamics workflow
Crm dynamics workflowDynamic-CRM
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creationyoung moon woo
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfPhani Pavan
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfPhani Pavan
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6Imran M Arab
 
Bpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management toolBpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management toolShanmugam Veerichetty
 
Class 23. sap hr (hcm) end user 2 v7.0
Class 23. sap hr (hcm) end user 2 v7.0Class 23. sap hr (hcm) end user 2 v7.0
Class 23. sap hr (hcm) end user 2 v7.0HR Spot
 

Similar to SAP LSMW - Direct input approach v2.5 by Pavan Golesar (20)

SAP Workflow Po create workflow by pavan golesar
SAP Workflow Po create workflow by pavan golesarSAP Workflow Po create workflow by pavan golesar
SAP Workflow Po create workflow by pavan golesar
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)
 
How to create_an_ecatt
How to create_an_ecattHow to create_an_ecatt
How to create_an_ecatt
 
Lsmw
LsmwLsmw
Lsmw
 
Let start with GUIXT
Let start with GUIXTLet start with GUIXT
Let start with GUIXT
 
How to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another ServerHow to Transfer Magento Project from One Server to another Server
How to Transfer Magento Project from One Server to another Server
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
 
Lsmw Anilkumar chowdary
Lsmw  Anilkumar chowdaryLsmw  Anilkumar chowdary
Lsmw Anilkumar chowdary
 
Sap basis administration handbook
Sap basis administration handbookSap basis administration handbook
Sap basis administration handbook
 
How to Install Magento on WAMP Server
How to Install Magento on WAMP ServerHow to Install Magento on WAMP Server
How to Install Magento on WAMP Server
 
Crm dynamics workflow
Crm dynamics workflowCrm dynamics workflow
Crm dynamics workflow
 
My lsmw
My lsmwMy lsmw
My lsmw
 
Soa8
Soa8Soa8
Soa8
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
 
SAP INTRODUCTION.pptx
SAP INTRODUCTION.pptxSAP INTRODUCTION.pptx
SAP INTRODUCTION.pptx
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdf
 
SAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdfSAP ABAP lsmw beginner lerning tutorial.pdf
SAP ABAP lsmw beginner lerning tutorial.pdf
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6
 
Bpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management toolBpc 10.0 NW Mass User Management tool
Bpc 10.0 NW Mass User Management tool
 
Class 23. sap hr (hcm) end user 2 v7.0
Class 23. sap hr (hcm) end user 2 v7.0Class 23. sap hr (hcm) end user 2 v7.0
Class 23. sap hr (hcm) end user 2 v7.0
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 

SAP LSMW - Direct input approach v2.5 by Pavan Golesar

  • 1. 1 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com LSMW: Vendor Master Creation using Standard Batch/Direct Input of LSMW [Author-Editor-Designer = Pavan Golesar ~15.01.2016]
  • 2. 2 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Table of Contents Initial Step:....................................................................................................................................................................... 3 Step 1: Maintain Object Attributes................................................................................................................................... 5 Step 2: Maintain Source Structures .................................................................................................................................. 8 Step 3: Maintain Source Fields ......................................................................................................................................... 9 Step 4. “Maintain Structure Relations”............................................................................................................................11 Step 5. “Maintain Field Mapping and Conversion Rules” ................................................................................................15 Step 6. “Maintain Fixed Values, Translations, User-Defined Routines”............................................................................16 Step 7. “Specify File”......................................................................................................................................................16 Step 8: Assign Files..........................................................................................................................................................19 Step 9: Read Files............................................................................................................................................................19 Quick troubleshoot: ................................................................................................................................................20 Step 10: Display Read Data .............................................................................................................................................21 Step 11: Convert Data .....................................................................................................................................................21 Step 12: Display Converted Data .....................................................................................................................................22 Step 13: Create Batch Input Session................................................................................................................................22 Step 14: Run Batch Input Session ....................................................................................................................................23 Testing:...........................................................................................................................................................................24 Summary ........................................................................................................................................................................25
  • 3. 3 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Introduction: Legacy System Migration Workbench or LSMW is an SAP System tool that supports when you are copying data from non-SAP (LEGACY) systems. LSMW can be used to easily load / change master data or transactions in SAP without any programming at all. It can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the use of it must be very well controlled. Why is it needed: To mention one, it can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand. In simple terms, we need carry out migration activity so as to move from legacy system to SAP. Initial Step: Go to transaction code LSMW. Click on new
  • 4. 4 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Enter details as below: Hit enter or press Enter as below for sub project details Hit enter or press Enter as below for object name details & continue. Once done, it should be looking something like this (below):
  • 5. 5 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 1: Maintain Object Attributes -> Click Execute
  • 6. 6 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com In change mode select “Standard Batch/Direct Input”. Press F4 key to get value help on Object field: Press F4 key to get value help on Method field:
  • 7. 7 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Select Save and press F3 or back Notice that system automatically select next step, In our case it is step two, Execute
  • 8. 8 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 2: Maintain Source Structures -> Click Execute to get below screen Create new source structure: Save
  • 9. 9 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 3: Maintain Source Fields -> Click Execute to get below screen Execute Select the structure (Place cursor on structure name) and select NOTE: In this tutorial, I’m only taking fields (mandatory field’s obvio), In real time such minimum fields may not suffice thus you may need to get the technical details of fields.
  • 10. 10 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Click Save . Back & Save again here. Tip: These fields in above image will be useful in making our flat file which will be holding the data to be uploaded to our SAP System.
  • 11. 11 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 4. “Maintain Structure Relations” - > Execute
  • 12. 12 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Tip: To maintain structure relations click on BGR00 and ‘click relationship’ (ctrl + F4) as shown in above screenshot it will assigned to structure. Repeat this for all required relations in that screen. So, Select by placing cursor on respective structures. Imp Tip: Well this might be confusing for few guys so let me put it straight, if you ever been to tcode XK01 (in below image), You probably have to enter Account group, Purchase Org, Company code… These fields are referred in structure BLF00. (DOUBLE CLICK IT TO OPEN)
  • 13. 13 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Example: If you want to don’t know reconciliation a/c structure or table (like me) then simply goto xk01/02/03 tcode and press F1 on that particular field. You’ll get the structure there. Here, I went to XK02 tcode and press F1 on recon a/c and under technical information (button) there it is LFB1…
  • 14. 14 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Okay, back to our main topic. Once relationships are done Screen looks (In my case) like below:
  • 15. 15 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Don’t forget to Save Step 5. “Maintain Field Mapping and Conversion Rules” - > Execute this step Keep your cursor on ‘TCODE’ field and click on ‘Insert Rule’ icon Choose radio button ‘Constant’ (below image). Enter value ‘XK01’ transaction code.
  • 16. 16 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Now, Keep your cursor on field ‘BUKRS’ and click on ‘Assign source field’ icon , Similarly, Carryout this operation for our rest of the fields (Purch. Org, Comp code…etc) Step 6. “Maintain Fixed Values, Translations, User-Defined Routines” You can also maintain re-usable translation & user-defined routines, which can be used across conversion tasks. In this case, that step is not required. Step 7. “Specify File” - > Execute We define how the layout of the input file is.
  • 17. 17 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Note: Before going further, create an Excel file & save it in Tab-delimited format on your local drive. My .txt file looks like this. Keep cursor on Legacy Data - On the PC (Frontend) & click create button. Browse for your flat file on your pc as here we specify files take file from legacy data (on the pc front end).
  • 18. 18 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Hit Enter (Click continue.) Hit Save and go back.
  • 19. 19 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 8: Assign Files - > Execute System automatically defaults the file name to the source structure on execution of this step. Step 9: Read Files - > Execute
  • 20. 20 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Quick troubleshoot: If you face Error: Error when uploading file 'C:Documents and SettingsDesktopcsk' (Return Code = 13). Message no. /SAPDMC/LSMW_OBJ_070010. Solution: Check file is proper tab-delimited. If still error exits then delete file perform step 7 again (imp). If everything goes right, below screen appears (with Not Written = 0)
  • 21. 21 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 10: Display Read Data - > Execute Optional step: Used to verify field contents for the row of data read. Step 11: Convert Data - > Execute
  • 22. 22 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Step 12: Display Converted Data - > Execute Step 13: Create Batch Input Session Once the source data is converted to internal format, you may create batch input session.
  • 23. 23 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Once you execute above step, to verify goto tcode SM35. Yeaa ! Look Batch input session with session name ‘XK01’ is created. Step 14: Run Batch Input Session Successfully I had completed all these steps.
  • 24. 24 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Testing: Goto SE11 tcode, Enter table LFA1 - CONTENTS. (REMEEMBER: We had entered search term as ZAPPER – ha haa that’s what I like)
  • 25. 25 | Pavan Golesar © abaper.weebly.com | Pavan Golesar - sapparamount@gmail.com Summary: In this way, We can upload (vendor master) data using LSMW Direct input method. Below links are for more info: