Upload historical material consumption data

I have my material master up and running.
Now I need to update the material master with the historical material consumption data.
Can someone help me out as to how to carry out this exercise.
I need to upload monthly consumption data of past 5 years for around 40,000 material.
Regards
Sridhar

You can use report MVER_DI
Please read the documentation of this program, and SAP note 200547.

Similar Messages

  • Error in uploading the material master data

    HI friends,
    I have trasferred the material master data through idocs from one server to another server(with in SAP only).
    Outbound side the status of idoc is 3 which is OK.But inbound side ,the status is 51 and the error is 'Function module not allowed  IDOC_INPUT_MATMAS01'.I debugged the function module in which the control records , data records are getting transferred correctly and also the segments data is also fine.But , i am not able to rectify  the error.
    Can anybody give the solut

    Hi mahesh,
    check the proces code may be having the FM module 'IDOC_INPUT_MATMAS01'. change with some other FM for processing the IDOC. you need check with different ways what is the problem. better dont stick on one thought.
    ~linganna

  • Uploading the Material consumption

    Hi,
    One of my client's requirement is to upload the Material consumtion (as the legacy system is also SAP). My first question is is this possible , if yes then can anyone outline the process of migration.
    Regards
    Sudhakar
    Edited by: Csaba Szommer on Jun 15, 2011 11:13 PM

    Hi mahesh,
    check the proces code may be having the FM module 'IDOC_INPUT_MATMAS01'. change with some other FM for processing the IDOC. you need check with different ways what is the problem. better dont stick on one thought.
    ~linganna

  • Uploading of material master data using bapi BAPI_MATERIAL_SAVEDATA

    hi guys,
    i am uploading data from a flatfile (say notepad file).
    the value for the field BRGEW(gross_wt) is displayed as 0.0000 WHEN i run the transaction MM03 where as  in the flat file its value  is 0000000000003
    the data type of BRGEW is P
    what should i do to solve this issue.
    my flat file looks like this
    000000000000010760FERTRNY01test material                           KG 005      NY010KG 0000000000003
    My structure is
    DATA:
    BEGIN OF MATERIAL_MASTER,
    MATNR(018) TYPE C,      "Material number
    MTART(004) TYPE C,      "Material type
    MBRSH(001) TYPE C,      "Industry sector
    WERKS LIKE MARC-WERKS,  "TYPE C Plant
    MAKTX(040) TYPE C,      "Material description
    MEINS(3)   TYPE C,      "base unit of measure
    MATKL(009) TYPE C,      "Material group
    SPART(002) TYPE C,      "Division
    WEBAZ(03)  TYPE C,      "GR processing time
    GEWEI LIKE MARA-GEWEI, "Weight unit
    BRGEW(13) type c, "Gross weight
    end of MATERIAL_MASTER.
    thanks
    Edited by: nishant patel on Aug 7, 2008 11:16 AM

    Hi,
    try to fill the BAPI structure
    WRITE ds_output1-brgew
                TO <bapi_structure>
                UNIT 'Pass the unit here'
                NO-GROUPING.
    Hope it will work.
    Thanks,
    Kamesh Bathla
    Edited by: Kamesh Bathla on Aug 7, 2008 6:51 PM

  • Re:Uploading of material master data using lsmw-idoc method

    Hi friends,
                While processing each idoc  one log on window is opening,and status of idoc is 51,eventhough i am passing material description to maktx of e1maktm,it is showing an 'No description is passed'.
    Colud you please tell me how to correct these errors,i am new to this lsmw-idoc method.
    Thanks in advance,
    Anusha.

    Thank you for reply.
    Actually I am uploading the data in flat file from file port to sap.
    In idoc inbound processing of lsmw i have created a file port and iam giving the logical system name of the same client.
    is this the correct procedure.
    Every time when i process each idoc one new logon window is opening and it is showing idoc status as 51.
    could you please tell me how to correct this one.

  • 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 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 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

  • Consumption data material master

    hi can any one tell how to upload consumption data in material master  using BAPI or any other method..
    regards,
    deepthi

    Hi Deepthi,
    Please check this FM <b>MB_UPDATE_MATERIAL_CONSUMPTION</b> perhaps it may help.
    Regards,
    Ferry Lianto

  • Material consumption posting date before MIGO

    Hi,
    I have one issue related to Material Consumption....
    If material received and posted on 25.12.2011 then how come system is allowing to consume ( Mtype 261) on 12.12.2011.  As material stock on 12.12.2011 is Zero.  We have not allowed Negative Stock Posting for Plant or in Material.
    We are consuming material for Production Order with in CO11N with Mtype 261.  Material phisically received on 12.12.2011 and we used it but due to some problem we are not able to do MIGO.  Now problem solved and MIGO posted on 25.12.2011, so we entered confirmation of production order with posting date 12.12.2011 and system is allowed to consume the material and now account reports shows nigetive values on 12.12.2011.
    can anybody focus on this issue......

    SAP checks only if there is enough stock in the period (month) not at a certain day (for performance reasons)
    Dont blame SAP, Why has your user posted the goods issue with an earlier date?
    Usually they do it because it was the date the goods issue happened physically, I have rarely seen users that user changing posting dates to fraud the system.
    was the GR eventually posted with  a wrong date?

  • Uploading Material Master data from legacy system

    Hi all,
    do we have any sap defined bdc for material master data ,if no ho to do that can anybody explain me step by step procedure how to do that
    Thanks in advance
    Santosh R

    Santosh,
    Use BAPI as we already have pre-defined BAPI for material upload given by SAP.
    <b>BAPI_MATERIAL_SAVEDATA</b>
    Also check this BAPI in MM01 uploading for the complete code I have written.
    Regards
    Aneesh.

  • Consumption data in the material master

    Dear All,
    Can anyone explain me about consumption data in the material master?
    1.     How the consumption datau2019s are automatically updated in the material master?
    2.     List of movement types, that creates consumption data in the material master
    Thanks in advance
    Regards,
    Krishna samy

    Krishna Samy wrote:
    Dear All,
    >
    >
    > Can anyone explain me about consumption data in the material master?
    >
    >
    > 1.     How the consumption datau2019s are automatically updated in the material master?
    >
    > 2.     List of movement types, that creates consumption data in the material master
    >
    >
    > Thanks in advance
    >
    >
    > Regards,
    >
    > Krishna samy
    Hi,
    When a PO is created (say for Cost Center(s)), and if the material has a Material Master record, after the goods are received the same goes directly into Consumption account and not in stock account since it is meant for direct consumption by Cost Center(s). (Ex`s. of consumables are Office supplies).
    Please go thru this document to understand how automatic postings works: [CLICK HERE|http://help.sap.com/saphelp_46c/helpdata/en/12/1a39516e36d1118b3f0060b03ca329/content.htm]
    Reetesh
    Edited by: Reetesh on Nov 27, 2011 7:47 PM

  • 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

  • Need to obtain material last consumption date

    Greetings, Experts!
    I am writing a report, and one of the requirements is supplying the date a material was last consumed. I will also be using this date as a date range selection.
    Where can I find the last consumption date of a material? Not a period, but an actual date.
    Many thanks!
    Cheryl

    Hi,
    You may get the data consumption of movement data from the below 2 tables.
    MKPF     material document
    MSEG     material document (item level)
    Other than this, you may also use the transaction MB51 to pull the data for all the movement related.
    For BSIM table, which contains material movement and also the value direct posted to GL, i don't know if you required this.
    Thank you very much,
    Regards,
    Chee Wee

  • Uploadind consumption data to material master

    Hi Gurus,
    Is there a program to load previous consumption data for a material into the material master as part of data migration, so that it could be used later for forecasting etc.
    Thanks,
    M2202

    Hello,
    Refer the OSS Note: 200547.
    Clear instructions on how to use the OSS Note and the report MVER_DI is given in this..
    Regards,
    Siva

Maybe you are looking for