MATERIAL MASTER DATA UPLOADING THROUGH  LSMW

Hi.
I am new to lsmw.
we have a requirement to upload the material master data through LSMW,.
the data is on Excel sheet on the Desktop of the system.
Can any body help me to upload the Material Master data, procedure in step wise.
Thanks in advance,
regards,
Eswar.M

Hi Venkat,
Go through the following Steps
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr  char(18)
2) mara-mbrsh  char(1)
3) mara-mtart  char(4)
4) makt-maktx  char(40)
5) mara-meins  char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
     Subproject Name
     object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
   Maintain Object Attributes
select Standard Batch/Direct Input
   give Object -- 0020
       Method -- 0000
   save & Come Back
2) select radio-Button 2 and execute
   Maintain Source Structures
   select the source structure and got to click on create button
   give source structure name & Description
   save & Come Back
3) select radio-Button 3 and execute
   Maintain Source Fields
   select the source structure and click on create button
   give
   first field
        field name    matnr
        Field Label   material Number
        Field Length  18
        Field Type    C
   Second field
        field name    mbrsh
        Field Label   Industrial Sector
        Field Length  1
        Field Type    C
   Third field
        field name    mtart
        Field Label   material type
        Field Length  4
        Field Type    C
   fourth field
        field name    maktx
        Field Label   material description
        Field Length  40
        Field Type    C
   fifth field
        field name    meins
        Field Label   base unit of measurement
        Field Length  3
        Field Type    C
  save & come back
4) select radio-Button 4 and execute
   Maintain Structure Relations
   go to blue lines 
      select first blue line and click on create relationship button
      select Second blue line and click on create relationship button
      select Third blue line and click on create relationship button
  save & come back
5) select radio-Button 5 and execute
   Maintain Field Mapping and Conversion Rules
   Select the Tcode and click on Rule button there you will select constant
   and press continue button
   give Transaction Code : MM01 and press Enter
   after that
   1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
   2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
   3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
   4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
   5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
  finally     
  save & come back
6) select radio-Button 6 and execute
   Maintain Fixed Values, Translations, User-Defined Routines
   Create FIXED VALUE Name & Description as MM01
   Create Translations Name & Description as MM01
   Create User-Defined Routines Name & Description as MM01
   after that delete  all the above three just created in the 6th step
   FIXED VALUE --MM01
   Translations --MM01
   User-Defined Routines --MM01
   come back
7) select radio-Button 7 and execute
   Specify Files
   select On the PC (Frontend) -- and click on Create button(f5)
                                  give the path of the file like "c:\material_data.xls"
                                  description : -
                                  separators as select tab radiao- button
   and press enter   save & come back
8) select radio-Button 8 and execute
   Assign Files
   Save & come back
9) select radio-Button 9 and execute
   Read Files
   Execute
   come back
   come back
10) select radio-Button 10 and execute
    Display Imported Data
    Execute and press enter
    come back
    Come back
11) select radio-Button 11 and execute
    Convert Data
    Execute
    come back
    Come back
12) select radio-Button 12 and execute
    Display Converted Data
    Execute & come back
13) select radio-Button 13 and execute
    Start Direct Input Program
   select the Program
   select continue button
go with via physical file
give the lock mode as 'E'
and execute
Regards
Sreeni

Similar Messages

  • MATERIAL MASTER DATA UPLOADING BY LSMW

    Hi.
    I am new to lsmw.
    we have a requirement to upload the material master data through LSMW,.
    the data is on Excel sheet on the Desktop of the system.
    Can any body help me to upload the Material Master data, procedure in step wise.
    Thanks in advance,
    regards,
    Eswar.M

    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary

  • Material master data upload in wms

    Dear all ,
    Kindly explain me how to upload the material master data in WMS.
    Thanx in advance.
    Regards,
    velu

    Hi Velu
    You have to load this in a normal way you do it with LSMW.
    Additionally you have to update the warehouse view fields too.
    Select the batch input recording in LSMW and go to the MM01 transaction enter all the required fields including WM views.
    If you handle material with fixed bin strategy & Replenishment scenario, you have to create a material by selecting the respective storage type in "selection view tab"
    Regards
    edwin

  • Material Master Data upload approach

    Hi,
    I have a requirement to upload material master data into D.B
    1. Which is the best option to use - BDC/LSMW/BAPI(Program)/Direct upload program!
    2. Based on Material types fields to be uploaded will change as per sample sheet,
       Can we make use of single sheet With all fields in it(By removing common fields for all Mat.Types)!
    Will BAPI - BAPI_MATERIAL_SAVEDATA useful for both MM01/MM02!
    What is the better approach for the same!
    Thanks,
    Deep.

    Hi,
    I have 2 queations in addition to above.
    1. If i write a program using above BAPI for material master data. Then will it be better approach than LSMW with BAPI?
    In this case user will trigger Z tcode & he will select input file from desktop & execute & report log will be shown in the output with successful & unsuccessful materials.
    2. I have to upload material master data. Now i have got sample files for Basic, Plant & Sales organization specific.
    If i have single excel file (All fields in one single sheet/line) which covers all unique fields of material master related to diff Basic, Plant & Sales organization specific data & also for all diffrent material types will that be fine (or) it usually required seperate excel sheets for diffrent kinds of data!
    Please clarify about above 2 issues!
    Thanks in advance.
    Thanks,
    Deep.
    Edited by: Deep on May 12, 2009 6:56 AM

  • Tables used in MM Master Data Upload using LSMW or BDC?

    Hi,
    Can anyone provide me with the following information about uploading MM Master Data using LSMW or BDC :-
    1. What and all tables are used for uploading Material Master, Vendor Master, Info Record, Open PO, Open PR, RFQ, Open Contracts/Agreements ?
    2. What problems are faced during Data Upload ?
    3. What error appears/encouontered during upload ?
    4. What is the diffrence b/w LSMW and BDC ? Both can be used for Data upload so, what differences are b/w them ?
    5. Any other thing to remember/know during Data Upload ?
    Thanks,
    Lucky

    Hi Lucky,
    Dont get angry by seeing my response.
    See each and every question posted by u is available , in this forum,
    u need to do just a search on individual post.
    see what ever ur posted, u r definetly got the solutions through others,
    remember most of these answers are fetching by this threads itself (60-70%)
    a few solutions are there that are given by own,
    so better to search first, in the forum , if not satisfied with the solutions then .........
    Just its an friendly talk
    and Reward points for helpful answers
    Thanks
    Naveen khan

  • Class data upload through LSMW using BAPI

    Hi All,
    Plz tell me how to upload class data through LSMW using BAPI.I also need some study material on BAPI.
    Bye,
    Mithilesh Tiwari

    its not possible with single file
    for this you need to pass two files of data
    1 ) Header data ZSOURCE_LIST_HEADER       Source List Header
         MATNR                          C(018)    Material Number
                                        Selection Parameter for "Import/
         WERKS                          C(004)    Plant
    2) item data     ZSOURCE_LIST_ITEM         Source List Item
             MATNR                          C(018)    Material Number
             LIFNR                          C(010)    Vendor Number
             EKORG                          C(004)    Purchasing Organiz
             WERKS                          C(004)    Plant
             VDATU                          C(008)    Valid From
             BDATU                          C(008)    Valid to
    for this use below LSMW IDOC method
    Message Type         SRCLST                      Source List
    Basic Type           SRCLST01                    Source List

  • Master data upload via LSMW using IDoc method

    Dear all,
    I know this has been a topic of many discussions but I would like to ask you is to share your thoughts and possibly experience with the following scenario:
    Interface between non-SAP system and SAP system has to be built whereby master data gets created in the non-SAP system and has to be uploaded into SAP. This is a process that needs to be performed on a constant basis and hence my question: is there a way that the MD upload takes place in the background via LSMW with IDoc? Or any other way, for instance, with a flat file, etc.?
    Thank you very much for your input!
    Regards,
    Miro

    Miro - It depends upon many factors
    1. Number of source systems
    2. Volumn of recorsds ( Data to be loaded)
    3. Transformation needed or not needed from S to D ( source to destination), We may consider it as
        business rules/mapping
    Based on above you may segrigate the objects related to data, eventually you can shoose approach of loading in SAP,
    As if straigt forward load for some 20k-30K records ( Just a file load on regular basis), one to one mapping then go for LSMW, if some complex transformation logic needed then go SAP data services implementation. best part here is if you multiple sources that can be handeled here.
    Accordingly you can proceed ...
    Hope it helps.
    Best !
    Deep

  • Material master data BAPI and LSMW log

    I have three questions want to ask :
    1. I will use all the view  to create material master. I want to know if there is one BAPI to create it.?
    2. If I use LSMW to create it, in LSMW i use the BAPI method to create it. But I should to know the detail log information When I finished the LSMW. How can I get the log information ,because I should send the log information to other system. I must get the log, then I can send out the log information to other system.
    3. I want to know if i can run lsmw in report. if there one FM to do this ? User don't want to step by step to run this , they want to run only once time so they can create the master data.
    Thanks in Advance .
    susan

    Hi Ming,
    Use the BAPIs:
    BAPI_RETAILMATERIAL_CREATE.
    BAPI_MATERIAL_SAVEDATA
    refer the sample code
    https://forums.sdn.sap.com/click.jspa?searchID=13348102&messageID=3459824
    Regards,
    Chandra Sekhar

  • Material master creation error through LSMW

    Hi,
    I have a problem with creation material master through LSMW with object type BAPI.  I use below import methods
    Business Object BUS1001006 
    Method                SAVEDATA
    Message Type    MATMAS_BAPI
    Basic Type          MATMAS_BAPI03
    Material number is configured length of 12 with leading zeros.
    In my text file material number is given as XXXXXXXXXXX which is 11 digits. When I start IDoc processing it issues an error message u201CMG019 the numeric material number & was transferred without leading zerosu201D.
    Then I add 0 to material number in the file (it becomes 0XXXXXXXXXXX) and run IDOC processing it issues same error message again.  
    How I can resolve this issue?
    Thanks

    Hi,
    Please check the below link...
    Re: Creating new material using i/b MATMAS IDOC
    and also check the OSS note 707602.
    Hope it may help you.
    Kuber
    Edited by: kuberk on Aug 14, 2011 4:00 AM

  • Problem with Material Master Data Upload using MM01?

    Dear Abapers,
    I done recording for uploading Material Master using MM01. I selected respective views at the time of recording. Then at the time of uploading it is not selecting the Quality view and Account1 view. Even I used 'P+' function code. it is working but not selecting the 2 views. Manually, if I select those 2 views uploading successfully.
    Could you please let me clear on this issue?
    Regards,
    Sekhar

    Hi Chandrasekar,
      Scrolling in the view-selecting screen wont be recorded during SHBD ( Recording ).So you need to first select Basic data1 rather than Accounting 1 or Quality management.Once you are in the basic data screen, fill the required description( if its unavailable ) and then choose the accounting 1 or quality tab.Do a fresh recording with the above approach, your issue should be solved.
    Regards,
    Kiran
    Edited by: Kiran NN on Feb 29, 2008 11:02 AM

  • Item master Data upload through DTW

    Hi Experts
                        I want to upload Item master Data through DTW what are the fields needed as mandatory..
    Regards
    Vinoth             

    Hi,
    Please refer sample template to get an idea for mandatory field.
    C:\Program Files (x86)\SAP\Data Transfer Workbench\Templates\Samples\1. Add New Data\Inventory\Item Master Data
    For item master data, only item code is mandatory when you are adding new item.
    Thanks & Regards,
    Nagarajan

  • Data Upload through LSMW In ME01

    I have to upload data into ME01 from single file .
    I am using recording method but stuck at the table control handling in it.
    How can i handle logic for table control in LSMW.
    I have read so mant posts on SDN but no one is clear abt it.
    File format:
    MATNR      WERKS             VDAT                     BDAT                   EKORG
    11                 211                 10.10.2009             10.10.2009          XYZ
    11                 211                 11.11.2009             11.11.2009          XXX
    Edited by: sanju on Jan 15, 2010 5:34 AM

    its not possible with single file
    for this you need to pass two files of data
    1 ) Header data ZSOURCE_LIST_HEADER       Source List Header
         MATNR                          C(018)    Material Number
                                        Selection Parameter for "Import/
         WERKS                          C(004)    Plant
    2) item data     ZSOURCE_LIST_ITEM         Source List Item
             MATNR                          C(018)    Material Number
             LIFNR                          C(010)    Vendor Number
             EKORG                          C(004)    Purchasing Organiz
             WERKS                          C(004)    Plant
             VDATU                          C(008)    Valid From
             BDATU                          C(008)    Valid to
    for this use below LSMW IDOC method
    Message Type         SRCLST                      Source List
    Basic Type           SRCLST01                    Source List

  • Material PO text upload through LSMW

    Dear All,
    I have uploaded all the material using LSMW . I have used Direct Input Method. But how can i upload the material PO text. Since it does not get stored in any field , i cannot map in field mapping.
    Please suggest how to upload material PO text
    Thanks
    John

    For long text, you need to use object 0001. To link it to the PO, please create the long texts for 1 PO manually and see the values.
    For your reference, for header texts, the text name is the PO number and the text ID is the long text - for example F01 is Header Text, F02 is Header note, etc (you can see this in configuration).
    For item texts, the text name is the PO number and item number.
    You need to upload the texts separately.
    Lakshman

  • Profit center and cost center master data upload errors

    Hi Sapiens,
    Could you please guide me to resolve the below errors in profit center and cost cost center master data upload through LSMW. i am usinng recording method for upload and  getting below error while uploading the data from txt file.
    1. Valid from and to dates are not converting in DDMMYYYY format, which field type we have to use in field mapping?
    2. some of the fields data are overlapping when uploading the data.
    3. How to create validation for empty cells data.
    thank in advance.
    regards,
    jagadeesh.

    Hi
    when you are using LSMW for uploading PC & CC, simple way to correct the Error's WHILE RECORDING The First record, while Creating LSMW, B very care full while entering the details ,bez wht ever Fields your updating ..the same Fields get updated While LSMW Processed.
    As mentioned above update the vaild from and to date in wht ever format you want While recording, in the same format all the remaining records gets updated.. 
    Hope the suggections will Help you in solving your Issues.
    Thanks
    Goutam
    Edited by: Goutam78 on Apr 29, 2011 8:59 PM

  • HR Master  Data Upload

    Hi All,
    I am doing the HR master data upload, I found one idoc HRMD_A but i am unable to find the infotypes  PA2001,PA2002,PA2010,PA2012 in this idoc type.
    Could you please let me know in which type i can get all inoftypes including these .
    Thanks,
    Satheesh

    Check these threads.
    Need ur helps on - HR master data upload Thru LSMW
    about HR data upload

Maybe you are looking for

  • How to find the list of Queries for that have statistics enabled in the sys

    Hi , How to find the list of Queries  that have statistics enabled on them in the system. Please help me in this regard Thanks Maruthi

  • Testing mapping program

    hi all. i want to clear one thing that. i have defined graphical mapping in design. i.f a file to bapi. so i created a graphical mapping program and in that i just need to check no of records in body witn trailer and sum of individaul amounts in body

  • Dump time out message in the portal

    Hi experts , In my portal , the web dynpro  component "FPM_OIF_COMPONENT" is being used. when user logs in and then sit idle for 30 min. then after he press "save" button, he gets the dump message like "the URL http://...WebDynpro /sap/hap_main_docum

  • Formulas not calculating

    Hello, <BR><BR>My teammates and I are using Hyperion Essbase Add-In for Excel v 6.5.5.0 with Excel 2002 SP3. We've got two ranges in a template that use formulas to specify the headers in our pull. One formula uses Excel's VLOOKUP function to retriev

  • How to implement HTTP Streaming for Flash Player 10.1 ?

    Hi there, I have been developing a streaming video player application in Flash Builder 4, and have been really excited about the HTTP Streaming functionality now available in Flash Player 10.1. Unfortunately, there seems to be an extreme dearth of ma