About material number,Urgent!

Hi,All,
   When we create a material master data,if we use auto number,the material group number will be not take into account by the system,for example, we use 1 present electronics Industry(Industry sector) ,01 present finished products(material type),01 present computer(material group),the system generate number as 101xxxxx,not 10101xxx,Is there any way to let the system genrate material number as 10101xxx so we can take material group number into account?
Thanks!

It sounds like you want CMOD: MGA00002.  In this exit we accomplished very much the same thing, just using material type.

Similar Messages

  • ABOUT MATERIAL NUMBER

    hi, if the material number is with numbers, for example, 1000000001, we can use FM CONVERSION_EXIT_ALPHA_INPUT to add the leading zeros to make the material to 18 char.
    But if the material number is with character, how should I make it to 18 char.
    I need to CONCATENATE MATNR VKORG VTWEG INTO V_NAME. But the MATNR must be 18 char. Many thanks in advance!

    Ok..try this...
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
    EXPORTING
    input = matnr
    IMPORTING
    OUTPUT = matnr
    EXCEPTIONS
    LENGTH_ERROR = 1
    OTHERS = 2
    IF sy-subrc 0.
    ENDIF.
    CONSTANTS: c_space TYPE syhex02 VALUE '00a0'. " Value for space
    DATA: g_space TYPE string,
                 l_pos type i,
                 l_pos1 type i.
    Get the actual value for a space*
    g_space = cl_abap_conv_in_ce=>uccp( c_space ).
    L_pos = strlen( matnr ).
    l_pos1 = 18 - l_pos.
    Do l_pos1 times.
    matnr+l_pos(1) = g_space.
    L_pos = l_pos + 1.
    Enddo.
    Than use the material for concatenation purpose...
    CONCATENATE MATNR VKORG VTWEG INTO V_NAME.
    By this way u can keep the trailing spaces...
    Regards,
    Joy.

  • Material Number and Serial Number are not getting filled...Very very urgent

    I have my code in the badi...CRM_EQUI_LOAD...method PERFORM_LOAD.In this i try to to create a component for the ibase using the function module... CRM_ICSS_CREATE_COMPONENT...The component gets created but the material and serial number are not getting updated...It is very very urgent..please help....

    I am not sure what information you are passing in given FM.
    But in my case I have used FM 'CRM_CREATE_IBASE_FROM_EQUI' to create Ibase and component. It creates IBase and Component along with other details like material number and serial number.
    you may refer the below code for the same >
    Call the standard handling for crm equi load.
      call function 'CRM_CREATE_IBASE_FROM_EQUI'
        exporting
          is_header         = is_header
          it_equi_dmbdoc    = it_equi_dmbdoc
        changing
          et_error_segments = ct_error_segment
        exceptions
          technical_error   = 1
          others            = 2.
      if sy-subrc <> 0.
        raise equi_load_badi_error.
      endif.
    Cheers,
    Ashish

  • Urgent!!!! Material Number Problem

    Hi Experts,
      i am facing the simple problem,
    I Loaded the Hierachy Data from IS-R/3 to Bw,
    Its Loaded successfully, but the Problme is that its not
    showing in the BEx Report,
      The Problme is , in the Hierarchy the Material number
    is like Ex:3530014 this is not displaying in the BEx(displays like not assigned nodes)
    But When i am inserted the Same Material number manually
    its inserted like EX:000000000003530014(this is displaying in the bex hierarchy)
    to the same node which 3530014 is having.
       The Problme is that this Same material number is differing between leading'zeros and the non-leading zeros.
    is there any convesion exit routine problem,
    i am unable to find out this... help plzzz

    In BW system , if you set material length 18 and checked leading zero option.
    when material no is below 18 length, the leading zero will be added, in your case 3530014(below 18).
    How the infoobject(0material) masterdata looks?
    with leading zero or not?
    also check conversion routine(MATN1) is set.
    thank you
    senthil kumar

  • Report to find a material by a mfr part number and old material number

    Hi,
    Is there any standard report to find a material by a mfr part number and old material number ?
    For the moment, we are using MM03 to search articles by these selection criterion.
    Thanks,
    Julien Girard

    Hi
    As there is no stsndard report use the SQVI to find out the details, It is very simple , please follwo the below steps.
    Use Txn SQVI, enter the Quick view field say- ZMNFR and click the  create button, Enter the title in the next screen i.e Report name- Say - Manufacturer's Part No. Details, in the same screen you need to enter  MARA  for the data from table/database view, please leave the 1. data source as Table only and the radio button as Basis mode only.  Click the tick mark , you will go to the next screen,
    You will notice Quick viewer Intial screen
    Open the node general material data
    Select the Buttons besides the fields MARA-MATNR for material number, MARA-MFRPN for manufacturers part number, and MARA-BISMT for old material number. You can include any other field if you wish to have in your output. You will notice two check boxes against each field, one is for input screen field and the other is for outputf field. But currently you do not bother about and select both the check boxes or any other field you wish to have as input and output as well. Once selected all the fields afer clicking the check boxes save the total arrangement. and then in the same screen use the execute button or use F8 to find out your report input screen.
    Now enter the Material number for which you wish to know other two details in the report and execute again you will find the report output.
    Please ensure that you are maintaining both the details in material master basic data1 and purchasing  view if you wish to get  out output
    Best regards
    SAM
    Edited by: samuel mendis on Apr 8, 2009 6:52 AM

  • Material Number Truncated in ALV to Excel Download

    Hi Guru,
    I have a ALV program report. It has about 18 columns, but for some strange reason, when we download this report to an ALV the 3rd column which host the material number as the last digit missing/truncated.
    For example if we have a material number in SAP ALV Grid as 1234567, when we download this the excel, what we get in excel is 123456. with the last number missing.
    What is the best solution to fix this issue.
    Thanks for you help in advance.

    Hi Keshav,
    Previously I faced the same situation, like in ALV grid I was displaying the material nos with output length as 15. Since in the Grid display you can readjust the columns, So after displaying we just expanded in the grid and try to download the same in excel. But at that time the ALV was downloading with material number field length as 15 ( What I set in my field catalog). Even when I saw the print priview I saw only the length it is showing as 15.  After changing the output length as 18 in field cat  I got the correct download.
    (Here I am assuming that the question is raised for  ALV grid display since no where it is mentioned the type of ALV).
    Sorry it was mentioned in the question itself
    Regards
    Shiba
    Edited by: Shiba Prasad Dutta on Feb 22, 2010 2:41 PM

  • Delivery Created with out Material Number

    HI
    I created an STO for material, when i have done the VL10B i got a message "See log for information about creating deliveries"
    A Delivery got created with out the Material number, When i look in the Document Flow for the Delivery Created its preceding document (PO) is not linked
    In the log information i see an error, Please advise
    Diagnosis                                                                               
    The sales unit is not allowed for the material in item               
        000001.                                                                               
    System Response                                                                               
    The system does not allow further processing of this item.                                                                               
    Procedure                                                                               
    Check your entry.                                                    
        Select a sales unit which is defined for the material in the         
        material master record. Normally the sales unit will be              
        determined immediately from the master master record.

    see the change log of material master in MM04.
    check if  the sales unit got removed recently (after the PO creation - before delivery creation)
    if it is not caused by material master directly, then check if you have any userexit in place that changes the sales unit in the delivery.
    SAP has a sales unit in mind which is not available in material master, hence it issues this error.

  • Printing 'material number' in vertical manner in smartforms

    i am printing a smartforms where in the output i have to print a variable in the vertical format.... how can i rotate the variable to print it in the vertical manner... please do help me out.... its very urgent.....

    Hi
    if you want to print only 'material number' text in secondary window... make secondary window width minimal 1 ch and increase the height of window
    you will get the result in Veritical. result for materi number.
    if you want to print material number variable in mainwindow / seconarday window ,
    Create a font using SE73 , go to System barcode - change mode
    select the line "KUNAUNR  Kundenauftragsnumme", dbclick. , you can see
    no barcode type mentioned, like this, create new barcode sytem font and finally give the rotation % , we have 4 different %, 0, 90,180,  270, you this font in your character font/ paragraph font, you can get the result. but make sure printer should support this functionality
    Sriram Chellappa

  • Add Competitor Material via MMW1 but material number exists

    Master Data Experts:
    1. We are adding material type WETT competitor materials via tcode MMW1. However, we have many cases where our competitor number is the same as one of our own existing physically different material numbers. When we try to add the material, we get the hard error message "Specified material already assigned to material type xxxx" and cannot add the competitor material number.
    2. Similarly, we have many cases where more than one of our competitors use the same material number, so we cannot add more than one as a competitor number.
    3. Lastly, we have some competitor material numbers that are more than 18 characters long, and due to the SAP limitation of 18 characters we cannot add these competitor numbers via MMW1.
    These scenarios have never worked before, there is no ABAP related user exits, etc, and no changes done before the problem occurred. We understand that under the single instance system you cannot add the same material number more than once, and we have a company policy system in place so our businesses will not have these material number collisions. However, we cannot control what material numbers our competitors use, so we need some way to remedy this so we can add competitor numbers even though they may already exist.
    Any help that can be given would be appreciated,
    David Bruhn
    Hubbell, Inc.

    Hello James and happy new year.
    Thank you for your answer.
    In fact, I already tried to leave the matnr field with blanks and for a material type which use internal numbers range. I hoped/thought it would have worked as you said but it wouldn't.
    About the external old numbers I keep, I think I don't have to use the field external_number of the E1MARA1 segment, because some of my tests showed me that it works good. Moreover, I don't really understand the reason why this field exists because the field matnr is here for.
    I presume that the external_number is maybe for another use I don't know, aren't you ?
    I've never used this segment for data take over.
    Do you know if the principle you described in your previous mail is also the same to apply to customers & vendors idocs ?
    Best regards.
    David

  • Material Number on PR/PO

    All -
    I had a question regarding material numbers on PR/PO - It seems like material number is mandatory for some material groups and not for others. Can anyone tell me about that?
    Appreciate your help.

    MM > Purchasing > Material master > Entry aids for item without a material master
    Anythign with a val class here can be used to create a PR without material

  • Populate material number into SAPMV45A 4001dynpro

    my requirement.
    while creating sale order, before entering the screen 4001 where we enter sold to party and material and order quantity, i need to populate these fields from my exit.
    i am able to populate the sold to party field from the exist EXIT_SAPMV45A_002 and
    INCLUDE ZXVVAU04 .
    in the same fashion i need to populate my material filed in the table with the required qunatity.
    how do i do it

    can u be a little more clear and broad about your requirements...
    if it is something like , you want the material number to be populated before you enter 4001 then do the necessary coding in the PBO event of your flow logic
    Regards
    Abhinab

  • Consulatancy sales order with only desription not material number

    Hello ,
    I want to make a CONSULTANCY TYPE  of sales order where in I just want to enter description  for eg LABOUR CHARGES, but then system asks me to enter the material number in sales order, kindly guide me how to go about it . My requirement is that I want only the description in sales order and i dont want to enter the material number, pls guide me about teh config.
    Regards
    Sunaina

    Another option is to use a generic material # (e.g. CONSULTANT) and just type in the description when entering the sales order. We use this technique and only maintain material numbers per consulting position, e.g. "consultant", "senior consultant", etc.

  • Different material number for SD and for PP MM

    Hello
    Does sap provide a functionality to manage different material number for SD and for PP MM:
    We produce and stock material A . We want to be able to sell material A and B. For MM (stock)  and PP, B = A but for reglementation, we need to print on the delivery document  caracteristics stored at the material level.
    We don't want to substitute B by A on the sale document and we want that the stock of A beeing reduced by sales orders of A and B.
    Thanks
    Simon

    Simon,
    Iu2019m not aware of any way to manage the same thing using one material number in MM/PP and a different number in SD.
    What makes B different from A?  From your description it sounds like itu2019s the same thing with different characteristics.  Without more info itu2019s difficult to offer solutions to your problem but Iu2019d start by looking at classification and batch management so you can differentiate differences between materials based on characteristics captured at the batch level. 
    If you provide a little more info about the products perhaps I can help.

  • Hazardous material number

    Hello All,
    what is the Hazardous material number.How to use.
    Please advice me.
    Thanks in advance.

    hi
    please check below thread
    it will useful to you
    Re: Hazardous material URGENT
    regards
    vijay

  • MC.9 - Material Number appears for period 06/2007 but not 07/2007

    Hi Experts,
    Have you encountered the situation whereby in MC.9(S039), the data of a certain Material Number appears for period 06/2007 but not 07/2007
    This material# has no stock & movements for 07/2007, but for another material# with the same conditions, there is no problem.
    Thanks & Regards
    Lawrence

    Hello Experts,
    i´m having the same issue at my system.
    Does anyone know why for a certain material report MC.9 shows balance at some Store Location although it doesn´t have any movements, while for other Store Location it isn´t showed any line, not even with zero values.
    I hope somebody can answer this issue.
    Thank you very much in advance.
    Regards,
    cecil

Maybe you are looking for