How to modify material number in MM01

Hi Guru,
I want to modify material number in MM01 according to the material group selected by the user. For example if material group 100 is selected, the material number should be 100xxxxx, 200 is selected, number should be 200xxxxx. I tried coding in user exit MGA00001, everything is fine except the classification view was not updated by the generated material number. How can I achieve this?
Thanks a lot,
Tony.

Hi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type  t-code MM01
Hope this helps!!
Regards,
Raghu

Similar Messages

  • How to get material number in smart form driver prog attached to MM01:NACE?

    Hi,
    I have attached driver program of smart form to MM01 usinfg nace.
    On save smart form should get generated.
    Can anybody guide me how to get material number from MM01 in driver program on saving MM01.
    as of now am not getting values in smart form.
    What additional lines to be coaded in driver program to get material number.
    Thanks.

    hi,
    use nast table in your import paramaters of smart forms.
    In the Nast table you can find a field with object key which holds the Material Number.
    Hope this helps.
    Thanks,
    subash

  • How to Restrict Material Type in MM01 ?

    *Hi experts,*
    *How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
    *I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
    *can anyone help out.*

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • Make material number in MM01 case sensitive

    Hi Experts,
    I got an requirement like to make MM01 transaction while creating material number it has to accept both Lower and Upper Case..
    Say for example : "a12"   as one material
                                  "A12" as another one material
    any suggestions please send.....
    Thanks.
    Preethi jose

    First check conversion-exit of domain MATNR (something like MATN1) with Customizing behind, you will have to analyze your Customizing (and the list of extensions, solutions installed on your system) to find the actual field(s) which contains the external format of the material master id (e.g. MARA-MFRPN for a sample) AND look at table MATERIALID (domain MATNR_EXT is also not case sensitive), then you may, with a SSCR key for the object as it will be a change of the standard, change the domain(s) definition to allow lowercase. But consider before some problems like search help becoming case sensitive, it is usually (at least) not a good idea to have key fields case-sensitive...
    If possible, my advice is to not make this change by a developement, but to look for Customizing, check
    Regards,
    Raymond

  • What Changes should i do for taking material number in MM01.

    Hi ,
    I am recording Material Master 'MM01'. In that Material Number is not taking numeric values. Automatically its generating one number for one record. But I want to give my own number to that material. what changes I need to do. I want to use that recording in BDC program.
    Plz..give me the solution.

    That is due to functional settings. Here the internal and external no ranges are defined on the basis of material types.
    Just go through spro tcode logistics general->material master->material types---> define number ranges for each material type. Here you can see a table control just check whether any material type is there with external check box as checked. Now at the time of recording just enter that material types which allows you to give a external material no( inside the defined range). Or just ask your functional.

  • How to Change Material number in Accouting Document on ML81N

    Hi,
    I have a requirement to change the Material Number based on the User custom data from the Custom Tab.
    Since Service PO does not contains any material number, so based on the custom tab, we are trying to update the same.
    Using ML81N T-Code.
    Please suggest is there any User Exit or BADI to add or change the Material number in the Accounting Document.
    Regards.
    Praveer.

    You have to update the field BSEG - MATNR from your custom field to see the material number in accounting document.
    There are many exit or badi available for t-code ML81N.. Just find appropriate one by using the document Methods to find Customer/User Exit's & BADi's for a Transaction Code!

  • How to change material number?

    Hi guruz,
    Is there a way to change the muterial number (eg ABC123 to ABC223)?
    Thanks,
    Utpal

    HI,
    can we clear this up because the thread is becoming confusing with the different viewpoints being expressed (all right in their own way, but still confusing).
    Firstly, you cannot change the material number of a materail master record. This is simply NOT POSSIBLE.
    The 309 movement type that has been suggested will simply move STOCK from one material number to another. Even if this is what you wanted to achieve a 309 is NOT the recommended option for this. The 309 movement is NOT designed to correct errors, it has a VERY specific purpose. It is designed to be used where the material has physically changed somehow without a production process happening. So if you make cheese (or wine etc.). The material matures naturally and even though you have not actually done anything to it, the new cheese (or wine) will change into a saleable product. this is what a 309 is designed for.
    Similarly if a material ages and becomes a lower quality just due to its age, a 309 is appropriate for that purpose because no physical process was involved (it there was a physical process then a PP order should have been used).
    To use a 309 movement to correct an error (such as the wrong material was GRd etc.) is wrong. The accounting postings involved will be corrupted by a use such as this (for example, any value difference will be shown as a gain/loss of profit due to the material improving or degrading and this is WRONG). I
    If an error has occured and the wrong material has been GRd etc. the correct way is to reverse the GR and do it correctlty.
    So please do not use a 309 to corrct errors.
    So the answer is NO you can't change the material number and a 309 is NOT a relevant solution to this situation.
    Steve B

  • How to make material number field invisible in MM60?

    Dear expert,
    Is there any way to make material number field invisible in MM60 for one user?
    Best regards

    Hello,
    You may create a transaction variant for MM60 and hide Material code using SHD0. Then create Variant group and assign users to this group.
    Thanks,
    Venu

  • How to display an Image corresponding to it Material Number.

    Dear All,
    I have a  question .. Is it possible to display a Material image .. corresponding to a Material Number in MM01.
    EX: matn = 123 and for which there's a corresponding material image.
    How can i achieve this ?
    Can u please provide me with some links or any clue .. ?
    Looking forward to your replies .
    Thanks.
    Best Regards,
    Jitesh pamnani.

    http://wiki.sdn.sap.com/wiki/display/ABAP/AssigningImageusingDocumentManagement+System
    Dear,
    Please check the useful links:
    Upload a graphic in material master
    Screen exit for MM01 to add additional fields to basic data tab .
    Button on Material Master
    Upload Article Images and Map to Master Data in SAP Retail 6.0
    http://wiki.sdn.sap.com/wiki/display/ABAP/AssigningImageusingDocumentManagement+System
    Regards,
    Syed Hussain.

  • How to Populate Materialk number in special ledger

    Hi,
       We have special ledger ODS where we have material number as data field. But its not getting populated. The table in R/3 used for special ledger extractor doesnt have Material number. How to populate  material number in BW for special ledger?
    Thanks

    Hi Rajesh,
    I am using PEXR2002 format for Idoc. Problem is i want Cheque number to populate in the Idoc for assigned payment method. For that i have assigned payment method for the cheque lot using t-code FCHI. After this i created proposal and run the payment. Status shows 1 generated, 1 completed. But the Idoc doesn't get created.Whats the problem. Can someone help me in this issue.
    Thanks,
    Shilpa
    Edited by: Shilpa Korad on Jan 20, 2010 9:29 AM
    Edited by: Shilpa Korad on Jan 20, 2010 9:48 AM

  • ERP - SD Sales orders with billing plan (material number change appear)

    Sales and Distribution.
    Regarding sales orders with billing plan.
    We create the sales order and create billing plan at header or item level.
    We issue down payment request(s) upon receipt of sales order.
    Often during the life time of the sales order one or more of the material numbers are changed after the down payment request(s) has been issued and paid by the client.
    Our issue is that prior to changing the material number in the sales order we have to reverse the payment(s), reverse the down payment request(s) and after the material number change re-issue the down payment request(s) and register the payment again.
    We wish to find a solution avoiding all the reversals.
    If you have a similar situation please inform how to handle material number change in the sales orders with billing plan.
    Best regards
    Lise

    Dear Consultor SD ,
    There is no setting to create the invoice based on schedule line.
    What you can possibly do is create multiple deliveries based on the schedule line and
    then invoice the individual deliveries.
    If you want system to split the deliveries based on schedule line, then you will have to include Schedule line also
    in the COMBINATION REQUIREMENT in VTLA.
    Thanks & Regards,
    Hegal K Charles

  • How to find Change number for a Material

    Hi,
    If we know the material number and Revision level then how can we find the Change Number of that material.
    Is there any table in which i can find Change number for a revision level or is there any Function module available.
    Regards,
    Vaibhav

    Hi Vaibhav,
    Is there any table to find the change number and revision level of a material. I have change number and material and revision level coming from external system. But i need to check that with SAP whether it exists or not.
    Is there any table link to find whether a material has change number.

  • How to set a default value in MARA field 'Old material number'

    Hello everyone,
    I have a requirement to fill automatically the field MARA-BISMT (Old material number), when creating a new material (using for example MM01). What is the best way to do it?
    My idea is to have somewhere a field exit (?) with some ABAP lines to concatenate the material type code with part of the material number, and show the field already filled when in 'Basic data 1' screen.
    Does anyone have an idea? Or an example in the system with a similar functionality already implemented?
    Thanks
    Davide

    hi
    use the same logic in the excel file and upload through lsmw

  • HOW TO FIND LAST DOCUMENT DATE BASED ON MATERIAL NUMBER

    Hi,
           I want to know how to find the last document details based on material number.
    Is there any Functional modulle or BAPI programe?
    i,e, I want know last goods receipt details (MIGO)  based on material number.
    Can u please anybody tell me.
    Thanks,
    S.Muthu.
    Edited by: Subramaniyan Marimuthu on Jan 2, 2008 9:07 AM

    Hello.
    Check the BAPI_GOODSMVT_GETITEMS
    -example--
    Get GRs after a specific date for a specific plant/ storage location and movement types
      wa_budats-sign = 'I'.
      wa_budats-option = 'GE'.
      wa_budats-low = '20071201'.
      APPEND wa_budats TO budats.
      wa_plants-sign = 'I'.
      wa_plants-option = 'EQ'.
      wa_plants-low = '1000'.
      APPEND wa_plants TO plants.
      wa_stlocs-sign = 'I'.
      wa_stlocs-option = 'EQ'.
      wa_stlocs-low = '0001'.
      APPEND wa_stlocs TO stlocs.
      wa_mvts-sign = 'I'.
      wa_mvts-option = 'EQ'.
      wa_mvts-low = '101'.
      APPEND wa_mvts TO mvts.
      wa_mvts-low = '901'.
      APPEND wa_mvts TO mvts.
      wa_mvts-low = '123'.
      APPEND wa_mvts TO mvts.
      CALL FUNCTION 'BAPI_GOODSMVT_GETITEMS'
        TABLES
          plant_ra        = plants
          stge_loc_ra     = stlocs
          move_type_ra    = mvts
          pstng_date_ra   = budats
          goodsmvt_header = header
          goodsmvt_items  = item
          return          = return.
    Reward if helpful.
    Cheers,
    George

  • How to get the number of Item in Material Document?

    Hi all.
    I'm using the BAPI_GOODSMVT_CREATE, and want to get the Item number in Material Document of every entry in the internal table. How can I do that?
    Thanks in advance.

    Hi YiNing
    You can use this code after calling BAPI.
          SELECT SINGLE mblnr
           INTO CORRESPONDING FIELDS OF wa_mkpf
           FROM mkpf
           WHERE mblnr = p_mblnr.
          IF sy-subrc EQ 0.
            EXIT.
          ELSE.
            CALL FUNCTION 'RZL_SLEEP'
              EXPORTING
                seconds        = 2
              EXCEPTIONS
                argument_error = 1
                OTHERS         = 2.
          ENDIF.
    *Check material document number is in table MKPF
      CHECK wa_mkpf-mblnr IS NOT INITIAL.
      REFRESH : i_mseg[],i_ser03[],i_objk[]..
      SELECT matnr charg vfdat erfmg erfme mblnr zeile
             INTO CORRESPONDING FIELDS OF TABLE i_mseg
             FROM mseg
             WHERE mblnr = wa_mkpf-mblnr.
    Here you will get  the item in material number (ZEILE).
    Regards,
    Mukesh Kumar

Maybe you are looking for

  • Report Row Template - header

    Hi I have made a custom "Report Row Template". I have write the "header" direct in the html code. Is that a problem if i want to translate the application? Is there a way how to use the headers from the apex? Best Regrads Jesper Vels

  • 1.4.2_02 incompatible with RedHat 9 2.4.20-20.9?

    Our program would hang because of a system level lock when running 1.4.2_02 on Redhat 9 2.4.20-20.9 Kernel. Notice that the MAIN thread is stuck within Sun's code. This is the line of our source code that created the call stack: System.out.println(th

  • HT1349 I cant get my bluetooth to work

    I cant get my bluetooth to work

  • Two measures in a same row for crosstab report

    Hi Guru, I would like to design a crosstab report with 3 dimensions and 1 key figure like this Dimension 1 and 2 should be in the same row. Would it be possible? If yes, then how can I do it? Thanks, Huu Nguyen

  • Export Safari bookmarks via FireWire target disk mode?

    FYI There is NO "export bookmarks" in my Safari File, as there should be. I need to export my Safari bookmarks via firewire from a G4 to a G5. BUT I can't find anyway to export them. Please help!