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

Similar Messages

  • 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

  • Approval for Material Master Creation !

    Dear All ,
    My requirement is to have approval process for Material master. is it possible.?
    My Client is expecting approval process same like PO ( release strategy )
    Is there any standard approval  process for every masters which are  created as part of MM transactions.
    Can it  be achieved by means of any workflow.?
    Thanks
    Jinoy

    Hi,
    Yes it can be achieved by Work flow & also through the Enterprise Portal development.
    If you have Workflow consultant you can take a help in setting up the approval for Material master creation.
    If you want high fund & centralization of Material master you can go for EP development but Cost & effort will be on higher side.
    Discuss with your Workflow consultant he will help you.
    rgds
    gsc

  • Material Master creation workflow

    Hi everyone....
    Last week I went on the BIT601 training course and I'm now tryinig to create my first workflow for material master creation, so please forgive my rather noobish questions. I think this must be a common workflow but I'm sure every company has a different process.
    My process is as follows:
    - User creates basic data view for material master in MM01.
    - Workflow is triggered when material is saved.
    - Work item arrives in inbox of master data enigneer who completes all material master views.
    - Mail is sent to workflow initiator to inform that material is complete.
    - End of workflow
    I have defined the start event CREATED from business object BUS1001006 in my workflow definition. I have defined a standard task for the first step in my workflow using bus object BUS1001006 with method Create. The workflow starts correctly however ...
    My question is how do I get the material number to pull through to my first step? I am assuming I need to setup some binding to pull the material number into the workflow container? 
    Can someone please point in the right direction.
    Many thanks,
    Neil

    wow, thanks for the super quick reply Rob!
    I figured it must be some binding I had not done.
    So ... I go to my Start events in my workflow header, I see I have only the "auto-generated" binding i.e. EVTCREATOR > WFINITIAOR ....
    now, I see EVTOBJECT as a possible container object from the event side of the window (left hand side) but what do I link it too? I was kinda expecting to see my business object as a possible container object in the workflow side of the screen (right hand side).
    I really hope that makes sense... If I understand correctly, the idea is to link the event object to the business object container element ... but if thats the case why can't I see my business object in the workflow side of the binding window?
    Many thanks for taking the time to help a noob
    [edit] ... I may have partially answered my own question ... I think I need to define the properties of my business object in my workflow container element such that its is an input field? ...
    I'm going home now... will carry on with this in the morning.
    Edited by: Neil Ward on Oct 4, 2010 6:17 PM

  • Workflow to approve Material Master creation

    Dear all,
    I would like to create workflow to approve Material Master creation as below:
    When Material is created -> Check & Approval (Yes) -> Material is active
                           -> Check & Approval (No)   -> Material is inactive
    How can I do that?
    Could you pls help me to solve this?
    Thanks,
    CH

    Hi,
    Before designing the workflow, you need to find what is the business object and what is the event which gets triggered when material master is created... you can do that using event trace....
    1. SWELS - switch on trace
    2. Create material
    3. SWEL - check trace to find which event is fired
    This will give you business object name..
    Now start building workflow using SWDD... Go thru basic steps for designing workflow...

  • Standard Adobe Form for SAP Material Master Creation

    Hi,
    Did SAP develop standard adobe interactive form for Material Master Creation?
    I heard SAP delivered standard forms for Customer Master and Vendor Master. I am not sure about Material Master Form. If any one knows about Adobe Forms for Material Master... please rerply.
    Thanks in advance.

    Check yourself here:
    List of SAP standard Adobe forms: Go to http://service.sap.com/erp  (SAP ERP) -> Media Library - SAP ERP Overview -> Detailed information cross ERP -> Adobe Forms for SAP ERP
    Standard programs: Standard program for Adobe forms
    Regards Otto

  • LSMW - inforecord / material master - syntax error when converting data

    Hi all,
    I used LSMW for classification uploads (material master, vendor master) so far - it was easy :-). But..I tried to create/update inforecords by object 0060, method 0000, program RM06IBI0. I declared source structure, source fields, field mappings and conversion rules (in my batch input I use only fields which we defined as required for infrecs.), files etc. LSMW reads the data but when I try Convert data - the is syntax error in program /1CADMC/SAP_LSMW_CONV_00000018 and dump with message "For type "C", a maximum length specification of 65535 is allowed." When I tried to create material master (object 0020, method 0000), Convert data command worked the same.
    Any help would be appreciated. (? sample from your batch input file which works well to compare)
    Tomas

    Hi Tomas,
    Please do me a favor. In the initial screen of LSMW, there is a pushbutton for 'Personal Menu'. Once you press that it will pop-up a screen with a bunch of checkboxes. Select the checkbox for 'Display Conversion Program' and press enter. Now you should see the 'Display Conversion Program' option in your initial screen. Select that and go into the conversion program. Put a break-point in the conversion program on the statement 'perform execute_data_conversion.'.
    Debug it and find out exactly where the error is occuring. Perhaps that will help you figure out what the error is, if not, let the forum know where you hit the error. Even looking at the dump, you should get more information.
    Srinivas

  • Error-Material Ledger currency were changed in material master creation

    Hi all,
    Iam trying to create a material master record in IDES database.
    When iam entering into accounting 1 tab system is throwing the following error "Material Ledger currency were changed".
    Without entering necessary information in the accounting tab i cannot proceed further , so kindly suggest me what is the necessary  setup that i need to do to avoid this error.
    Expecting a reply from you all.
    Thanking You
    Gopala

    Hi,
    In the configuration the material ledger might be active in the valuation area.If it is active in the valuation area then the check box in the material master is automatically checked.
    If the material ledger is active for a particular valuation area, all materials in the valuation area are valuated using the material ledger.
    If you activate the material ledger for a plant, you should also activate it for all the other plants in the company code. This ensures that the accounts in Financial Accounting and Materials Management are reconciled.
    You can deactivate this in SPRO-Controlling -General controlling--Multiple valuation approaches-Basic settings-Check material ledger settings.
    But be careful about the controlling settings while changing this.

  • Updating Material master purchase order text -LSMW

    Dear Experts
    How can update Purchase order Text  through LSMW, while am doing recording system is not recording this field from material master
    Regards
    Ajeesh.s

    Dear Expert
    Please throw some light on this issue
    Regards
    Ajeesh.s

  • 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

  • Vendor Master Upload error in LSMW

    Dear Forum members
    While Uploading Vendor Master data through LSMW
    i completed all steps upto read data upto this step i am not facing any issue after converting data   system display converted data  in display converted data it is showing some error in sort key in text file i mentioned sortkey 002 but system display 201..ie instead of 002 system diplay 201
    finally i run batch input session it is showing error in batch input session bacuse of sort key
    is there any possibility to change sort key 002 in lsmw for all master records at a same time because i can't change manually i have thousands of vendors
    Any one Have idea about this issue Plz give me a solution
    Thanks in Advance
    Regards
    Srikanth

    Hi ,
    First of all if i am not wrong then your vendors are not created rite .
    So if you want to keep the sort key as 002 then i LSMW in field mapping you can keep the sort key as constant 002 .
    The error that you are facing might be due to field lenght , i guess at the time of selection of file you would not have selecte the TAB DELIMITED selection so due to filed lenght the field might have ovelapped .
    So to sum up in the input file you can remove the column for sort key and in field mapping put the sort key as constant .
    Hope this helps .
    Regards ,
    Dev

  • During Material master creation

    hi friends,
    in my system during material creation  system will through the material number,
    my doubt is, i entered into material master and system thrown the number too but half way i exit that transaction with out saving the material,  for my next transaction of material master system through the next number why
    and whenever i entered into mmo1 view screen system counted and throw a material number why and how can i delete the numbers
    thanks
    ganesh

    hi,
    >
    Can flag for deletion from
    Logistics --> Materials management --> Material master -->Other --> Archiving --> Material.
    >
    Can see these Deleted numbers in SARA tables or DB15..
    >
    You can see all normal material numbers in MARA...IN SE16 Tcode...
    Regards
    Priyanka.P
    AWARD IF HELPFULL

  • Close period for material Master record error

    my current period is 07 2010.
    I want to close period 07 2010, and make new posting to period 08 2010.
    but when i do the posting, system show error "Posting only possible in periods 2010/07 and 2010/06 in company code C999"
    PS: C999 is the company code that contains the plant P999
    And when i try to close the current period of material Master record  by MMPV, system show below information :
    "L O G
    Mode: Check and close period
    Client: 000
    Period entered (month/year): 07 2010
    Incorrect period in control rec. of CoCd C999; no conversion The current period (month/year) of the control record is 07 2010
    Period closing complete; log issued.
    E N D"
    and my current OB52 setting is below:
    Please help to supply some suggestion.
    P999     +               1     2010     12     2010     13     2010     16     2010
    P999     A          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     D          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     K          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    P999     M          ZZZZZZZZZZ     1     2000     12     2010     13     2000     16     2010
    P999     S          ZZZZZZZZZZ     1     2010     12     2010     13     2010     16     2010
    V001     +               1     2000     12     2010     13     2000     16     2010

    Hi,
    Check in T.code: MMRV and see which period is open for ur Co.Code and back posting is allowed or not. If you are sure to open new period now of  new posting to period 08, then
    use t.code: MMPV ,
    enter
    Company code C999
    Period to open 08
    Fiscal Year 2010
    Execute
    ( system will close the period last period 07 and automatically system open the new one 08)
    Now try ur transaction.
    if any problem, then check  in FI Side:
    Use t.code: OB52 and open the 08,2010 period in Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts type and save. Better consult FICO consultant for OB52 step.
    Regards,
    Biju K

  • Defaulting values in material master creation

    Hi,
    I want to have some filed values to be appeared as default in all the views while creation of material master.
    By user settings, I can restrict Org level values such as C Code,S Org Distribution Channel etc etc.
    But how to make field values such as account assignment grop,division,valuation class,price control,transport grp,loading grp etc appearing default so that user does not have to think.
    Regards,
    manOO

    Hi,
    You can set values for Parameter IDs of the fields that you want to default.
    Set values in system -> user profile -> own data under parameters tab.
    For example Disision's parameter id is 'SPA'. You can set a default value for division by giving proper value for SPA under parameters data in own data.
    Hope this will help.
    Regards,
    Naveen.

  • Bydefault selection of profit centers during material master creation.

    Dear SAP Experts,
    My business wants that when ever they want to create a new material the profit center field should come bydefault after the selection of the plant.
    Each plant has been associated with a profit center.
    Is it possible , If yes then How.
    Please guide me.
    Regards
    Debjeet Banerjee

    There is no direct link of profit center and plant , the profit center is linked with plant via material master.So you cannot default the profit center when you select the plant while creating the MMR.
    Better try with any custom table were you can make this link and default it while creation of material master.

Maybe you are looking for

  • Open Session: unexpected error

    Hi everybody, I'm using BO XI R3.0 and since couple of last days I'm having problem with opening Universe Designer. The message I'm getting is "Open session: unexpected error". This happens after I provide user name and password for the access to the

  • I Need Dire Help Making a Flash Form

    Hello, I need some serious help creating a Flash Form. I Have used a template from another site with the following input boxes: Name: __________ Email: __________ Comments: ____________ However, i had the script working fine, along with its php scrip

  • Windows 8 Single Language boot camp

    I have a 10.8.3 with 8GB RAM and 750GB HDD and I want to use boot camp to dual boot it with Windows 8. In the article of boot camp, it says that I can install Windows 8 or Windows 8 Pro; but I could only find Windows 8 Single Language (for emerging m

  • Drill Down are not giving correct values

    Hi We created sales Order values as a character and putting them in Rows and populating data by writing update rule. We created variables on calendar month in order to choose specific period of data in the query. For example if we need 02/2008 to 0/4

  • Someone help me out in finding the answer

    SELECT pd.NodeID, pd.DefaultLocation AS Location, d.DComment AS Description, (SELECT FieldValue FROM PhysItemExt AS p2 WHERE (FieldName = N'Title_Name') AND (NodeID = p1.NodeID)) AS Title, pd.PhysItemKeywords AS Keyword, (SELECT FieldValue FROM PhysI