Material type HERS - number range

I have configured the HERS material type which external number assignment, however I am now encountering a problem with tcreate a purely numerical MMR.  I have selected "external no. w/out check" and that does not let me create MMR with only numerical digits. The MPN will be both alphanumerical, numerical or alphan. 
any suggestions.

Hi,
The number range for material type can be External or Internal.
If you have configured External number range for HERS material type,it will allow for  alphanumerical or  numerical whatever u wants.Accordingly u can define the number range in MMNR Transaction code
If you have configured Internal number range for HERS material type,it will allow only numerical Numbers..

Similar Messages

  • Creation of material in material type "hers"

    Can anybody please tell me in detail how to create a material in material type "hers"

    Hi Keerthi,
    you can take eg: of Manufacturer Part Profile for this scenario.
    Create External No ranges for Vendor Account Group MNFR and save.
    Now Create Each Make like ABB as one Vendor in XK01 Trxn code.
    Create Material Code original in mm01 with ROH material type. (for eg Transistor which is available with ABB & Seimens make)
    Create material code with Material type HERS which contain only two views (Basic Data & Purchasing) and give Make, Original material No & Material group and other details and save.
    Create a Purchase order with original Material, then it will ask for mnfg part profile then select the material and click F4 on it it will show you the created mfg part nos like ABb 7 seimes and select one and save.
    Before this you have to Activate MFg part profile in OMPN trxn code.
    And in Material master Purchasing View Select the mfg part profile and save.
    Reg,
    Ashok

  • Material Master External Number Range problem

    Material Master External Number Range that allows numerics only and combo of numerics, Alpha and Characters
    I have the following issue. My client wants to use a purely External Numbering System in SAP
    - They only use one Material Type (HALB).
    The range must be able to manage material numbers that:
    1. Are up to 18 CHAR
    2. Have Leading Zero's(Numeric Only) - example 0123, 0000223, etc
    3. Purely numeric (no zeros) - ex 56788, 1235456
    4. Have Leading Zero's with (Alpha Numeric) - ex 00A456
    5. Alpha numeric (No Zeros) ex T123542
    6. Leading Zero's with a '.' in the Mat Number
    Four examples
    005.009.23
    0000A.123.5544 M1
    000.593.33234
    0.1234
    I have the Lexiographical Setting Checked
    Leading Zero's Checked
    Range is - 000000000000000000 to ZZZZZZZZZZZZZZZZZZ
    The issue I have is with the last two examples in 6 above 'Leading zero's with a '.' in the Mat Number.
    It seems the system has an issue with zero's then a decimal point without having another number of letter in between. It will allow 00000002.1223 but not 000000.1223. The only way I can get the system to take the leading zero then '.' entries is to check 'X' the 'External Number Assignment w/o Check in the Material Type HALB. When I do that I am no longer allowed to create purely numeric numbers. Any help?
    Creating another material type is not an option. Also the '.' can be in any position in the layout.
    Thanks in Advance!
    --Chris

    ASCII and UNICODE values of period (.) are lower that 0.
    Solution: Change your number range like this
    From
    Range is - 000000000000000000 to ZZZZZZZZZZZZZZZZZZ
    To
    Range is  - - - - - - - - - - - - - - - - - - to ZZZZZZZZZZZZZZZZZZ
    (replace zeroes with hyphen, because the value of hyphen is lower than period)
    [ASCII table|http://www.asciitable.com/] for reference.
    Edited by: Jeevan Sagar on Nov 29, 2011 1:04 PM

  • Hello Guru's  Error MSG while creating Material Type HERS

    Hello Guru's,
    While creating material type HERS the system is showing the following error *"The field orign acceptance is defined as a required field; it does't contain an entry'"* will any one give solution.
    even i have filled orign field in info record also still it is giving same error message,  will anyone give solution.
    full points for the answer.

    hers is for the mpn
    note the techincal name of that field and then go to oms9 and there make that filed for the filed selection key of hers as optional
    u can get the field selcton key of hers from the tcode oms2

  • Could you check our source? (To determine the PR type and number range)

    Hello.
    We use SRM Server5.5 with Classic Scenario.
    We will use the BADI BBP_SC_TRANSFER_BE to determine the PR type and number range according to your recommend.
    We have two PR type in R/3.
    1) KGPR
    2) KTR1
    As you know that shopping cart has no type. So we add customer field to mapping to R/3 PR type and this field has two values.
    1)     PR01: mapping to KGPR
    2)     PR02: mapping to KTR1
    We will use the method GROUP_RQ to determine the PR type.
    If customer field is PR01, PR type is determined KGPR
    If customer field is PR002, PR type is determined KTR1.
    To determine the PR number range, we will use the method GET_NUMBER_OR_RANGE.
    If PR type is KGPR, Choose the No key 12
    If PR type is KTR1, Choose the No key 16.
    Configuration step:
    1.     Maintain the PR number range in SRM.
    No key: 12  (for KGPR) internal NR
    No range: 2520000000 – 2529000000
    No key: 16 (for KTR1) internal NR
    No range: 2560000000 – 2569000000
    2.     Maintain the PR number range in R/3
    No key: 12  (for KGPR) Ext NR
    No range: 2520000000 – 2529000000
    No key: 16 (for KTR1) Ext NR
    No range: 2560000000 – 2569000000
    3.     Assign the PR number range to PR type in R/3
    KGPR – 12 (EXT)
    KTR1 – 16 (EXT)
    4.     Maintain the attribute in SRM
    Document type in R/3
          Add KGPR and KTR1
    We developed this logic, but it’s not working.
    LOOP AT ct_proc_item INTO ls_proc_item “ Where is no date in ct_proc_item:
    We can not find out the reason.
    Could you check our source?
    METHOD if_ex_bbp_sc_transfer_be~group_rq.
      DATA:
           ls_proc_item           TYPE bbps_procurement,
           lv_number_int          TYPE bbp_item_no,
           ls_item                TYPE bbp_pds_transfer_item,
           lv_group_counter       TYPE numc5,
      CONSTANTS:
          lc_on(1)               VALUE 'X'.
      SORT ct_proc_item BY obj_to_gen.
      CLEAR: lv_group_counter.
    LOOP AT ct_proc_item INTO ls_proc_item  
    where obj_to_gen eq iv_object_to_generate.
    get item data which includes customer fields
        MOVE ls_proc_item-preq_item TO lv_number_int. " convert
        READ TABLE it_item INTO ls_item WITH KEY number_int = lv_number_int.
        IF sy-subrc = 0.
          IF ls_item-pr_type EQ 'PR01'.
            ls_proc_item-doc_type = 'KGRP'.
          ELSEIF ls_item-pr_type EQ 'PR02'.
            ls_proc_item-doc_type = 'KTR1'.
          ENDIF. " lv_cust_field
          lv_group_counter = lv_group_counter + 1.   " increase counter
          ls_proc_item-group_1 = lv_group_counter.
          MODIFY ct_proc_item FROM ls_proc_item
                 TRANSPORTING group_1.
        ENDIF.  " sy-subrc
      ENDLOOP.
      cv_method_active = lc_on.
    ENDMETHOD.
    method IF_EX_BBP_SC_TRANSFER_BE~GET_NUMBER_OR_RANGE.
      if is_item-pr_type = 'PR01'.
         CV_NUMBER_RANGE = '12'.
         CV_NUMBER = '2520000000'.
      elseif is_item-pr_type = 'PR02'.
         CV_NUMBER_RANGE = '16'.
         CV_NUMBER = '2560000000'.
      endif. " is_proc_item / is_item
    Thank you
    Best Regard
    SH

    Hi
    Please find some suitable sample code, which might help you out.
    method IF_EX_BBP_SC_TRANSFER_BE~GET_NUMBER_OR_RANGE .
    * IV_OBJECT_TO_GENERATE
    *   '1' Reservation
    *   '2' Purchase Requsition (BANF)
    *   '3' Purchase Order
    *   '4' Customer Object
    * 1. current item data are in structures
    *    - IS_ITEM shopping cart item data including Customer Fields
    *    - IS_PROC backend relevant item purchasing data
    * 2. accounting data in tables
    *    - IT_ACCOUNT all shopping cart account. data with Customer Fields
    *    - IT_PROC_ACCOUNT backend relevant accounting data for current item
    *  - key criteria between this tables are
    *    - it_proc_account-preq_item
    *                     -serial_no (numc 2)
    *    - guid from is_item
    *    - it_account-p_guid
    *                -accno(numc 4)
    * A) example to use current item data + item customer fields
    *  if is_proc_item-DOC_TYPE = 'ABCD' AND
    *     is_item-<field of CI_BBP_ITEM> = .
    * set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *  endif. " is_proc_item / is_item
    * B) example to use only proc_account no accounting customer fields
    *data:
    *     ls_proc_account   type bbp_bapipogna.
    *  loop at it_proc_account
    *            into ls_proc_account.
    *    if ls_proc_account-BUS_AREA = '9988'.
    ** set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *     endif. " ls_proc_account
    *  endloop.
    * C) example to use only accounting customer fields, no other accounting
    *data:
    *     ls_account        type bbp_pds_acc.
    *  loop at it_account
    *            into ls_account
    *            where p_guid = is_item-guid.
    *    if ls_account-<field of CI_BBP_ACC> = .
    ** set own number range
    *  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    *  CV_NUMBER = .
    *   endif. " ls_account
    *  endloop.
    * D) example to use proc_account + customer fields for accounting
    *data:
    *     lv_serial_no      type bbp_bapipogna-serial_no,  " sequence num 2
    *     lv_acc_no         type bbp_pds_acc-acc_no,       " sequence num 4
    *     ls_proc_account   type bbp_bapipogna,
    *     ls_account        type bbp_pds_acc.
    *  loop at it_proc_account
    *            into ls_proc_account.
    *    move ls_proc_account-serial_no to lv_acc_no.
    *    read table it_account
    *         into ls_account
    *         with key p_guid = is_item-guid
    *                  acc_no = lv_acc_no.
    *    if sy-subrc = 0.
    **     if ls_account-<field of CI_BBP_ACC> = .
    ** set own number range
    **  CV_NUMBER_RANGE = .
    ** set own number
    ** .. ==> if initial SAP Standard with no.range will be processed
    **  CV_NUMBER = .
    **      endif. " ls_account
    *    endif. " sy-subrc
    *  endloop.
    endmethod.
    method IF_EX_BBP_SC_TRANSFER_BE~GROUP_RQ .
    * 1. current item data are in structures
    *    - IT_ITEM all shopping cart item data including Customer Fields
    *    - IT_PROC_ITEM backend relevant item data of current log.system
    *    key criteria between this tables are:
    *    - IT_ITEM-NUMBER_INT (numc 10)
    *    - IT_PROC_ITEM       (numc  5)
    * 2. accounting data in tables
    *    - IT_ACCOUNT all shopping cart account. data incl. Customer Fields
    *    - IT_PROC_ACCOUNT backend relevant accounting data for current item
    *  - key criteria between this tables are
    *    - it_proc_account-preq_item (numc 5)
    *                     -serial_no (numc 2)
    *    - is_item-guid
    *             -number_int (numc 10)
    *    - it_account-p_guid
    *                -accno(numc 4)
    constants:
          lc_on(1)               VALUE 'X'.
    * A) example to use only proc_item with NO customer fields
    *         group requisitions by backend document type
    *data: lv_doc_type            TYPE esart,
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lv_group_counter       type numc5.
    *    clear lv_group_counter.
    *    clear lv_doc_type.
    *    SORT ct_proc_item BY obj_to_gen doc_type.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** new group criteria?
    *      if lv_doc_type ne ls_proc_item-doc_type.     " backend doc.type
    *        lv_group_counter = lv_group_counter + 1.   " increase counter
    *        lv_doc_type      = ls_proc_item-doc_type.       " save criteria
    *      endif.
    *      ls_proc_item-group_1 = lv_group_counter.
    *      modify ct_proc_item from ls_proc_item
    *             transporting group_1.
    *    ENDLOOP.
    * B) example to use item customer fields
    * data:
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lv_cust_field          type <field of ci_bbp_item>.
    *      lv_number_int          type BBP_ITEM_NO,
    *      ls_item                type BBP_PDS_TRANSFER_ITEM.
    *    clear lv_group_counter.
    *    clear lv_cust_field .
    *    SORT ct_proc_item BY obj_to_gen.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** get item data which includes customer fields
    *      move ls_proc_item-preq_item to lv_number_int. " convert
    *      read table it_item
    *           into ls_item
    *           with key number_int = lv_number_int.
    *      if sy-subrc = 0.
    **       new group criteria?
    *        if lv_cust_field ne 'XYZ'.
    *         lv_group_counter = lv_group_counter + 1.   " increase counter
    *         lv_cust_field = ls_item-<field of ci_bbp_item>."save criteria
    *        endif. " lv_cust_field
    *        ls_proc_item-group_1 = lv_group_counter.
    *        modify ct_proc_item from ls_proc_item
    *               transporting group_1.
    *      endif.  " sy-subrc
    *    ENDLOOP.
    * C) example to use accounting data with customer fields
    *            group requisitions by backend document type
    *data: lv_doc_type            TYPE esart,
    *      ls_proc_item           type BBPS_PROCUREMENT,
    *      lt_account             type BBPT_PD_ACC,
    *      ls_account             type bbp_pds_acc,
    *      ls_item                type BBP_PDS_TRANSFER_ITEM,
    *      lv_number_int          type BBP_ITEM_NO,
    *      lv_account_flag        type c,
    *      lv_group_counter       type numc5.
    *    clear lv_group_counter.
    *    clear lv_doc_type.
    *    SORT ct_proc_item BY obj_to_gen doc_type.
    *    lt_account[] = it_account[].
    *    SORT lt_account BY p_guid acc_no.
    *    LOOP AT ct_proc_item
    *            into ls_proc_item
    *            WHERE obj_to_gen EQ iv_object_to_generate.
    ** get accounting customer fields for this item
    *    clear lv_account_flag.
    ** ..first get item guid
    *    move ls_proc_item-preq_item to lv_number_int.
    *    read table it_item
    *         into ls_item
    *         with key number_int = lv_number_int.
    *    if sy-subrc = 0.
    *      loop at lt_account
    *           into ls_account
    *           where p_guid = ls_item-guid.
    *        if ls_account-<field of CI_BBP_ACC> = .
    *           lv_account_flag = lc_on.
    *        endif.
    *      endloop.
    *    endif. " sy-subrc it_item
    ** new group criteria?
    *      if lv_doc_type ne ls_proc_item-doc_type OR     " backend doc.type
    *         lv_account_flag = lc_on.                    " accounting
    *        lv_group_counter = lv_group_counter + 1.   " increase counter
    *        lv_doc_type      = ls_proc_item-doc_type.       " save criteria
    *      endif.
    *      ls_proc_item-group_1 = lv_group_counter.
    *      modify ct_proc_item from ls_proc_item
    *             transporting group_1.
    *    ENDLOOP.
    * !!!! set flag that BADI was processed
    * .. ==> no SAP Standard grouping will be processed
        cv_method_active = lc_on.
    endmethod.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • BBP_BS_GROUP_BE for new document type and number range

    Hi gurus,
    I am working on Classic scenario in SRM and currently have used the above BADI to use a different document type and number range when creating the PO in the backend system. It all works fine. The only thing is I noticed that the BE_DOC_TYPE field in the shopping cart is still reflected as 'EC' even though the PO created in ECC is for example EC1. My question: Is this standard SRM? If so, is it common to leave this field as it is or is it advisable for us to change the document type to EC1 as well? Also, is there any implication in standard SRM reporting and downstream processes that you are aware of?
    Appreciate any advice on the above.
    Cheers!
    Sf

    We have ended up having to populate the document type on a custom field or alternatively replace the existing one.

  • Internal order types and number ranges

    We have two SAP instances and want to load Internal order types and number ranges and Internal orders from 4.6 to 4.5 version.
    I need to determine if there is an overlap of number ranges for the internal order types used in 4.6 and 4.5
    Could you please help me how to approach? Manually verifying each range in both system is a tedious job and very confusing as the numbers are too big.

    Hi,
    I can suggest one thing which seems to be worth trying. Involve one technical guy in downloading the number ranges as well the orders of the numbers used from both the system and compare it. Then compile them and upload it again.
    Trust this helps much!
    Cheers!

  • To create document type related number range

    Dear Experts,
    I want to maintain number range document typewise say ABC, XYZ, LMN.
    For these document type i want to maintain internal numcer range.
    Please suggest.
    Thanks

    Dear all,
    Go to SAP customizing implementation guide--> cross application component->  Document management--> control data--
    .> Define ducument type.
    Select document type for which internal number range has to be assigned and click on Details
    nuber range assignment should be  '1'
    Then select the Internal number range for which your are going to assign  say 04/05/06/08  etc
    Then come back
    Go to SAP customizing implementation guide--> cross application component->  Document management--> control data--> Define number range for document number
    here for assinged number maintain required number range.
    Thanks

  • Same Document type, Different number ranges

    All SAP Gurus,
    I want to assign  Different number based on movement types, but the problem is that both the number ranges (101 for purchase order and 122 return delivery to vendor) are having the same document type (WE).
    Is it possible to assign different number ranges to them?
    Please give ur valuable suggestions.
    Regards

    In Std SAP , It is Not Possible..

  • One order type different number range for different company code

    Hi
    I have created one order type. Same order type I extended in another company code (plant).
    I required different number range for another company code.
    Can any give detail solution.
    Regards
    ARK

    Hi,
    In CO82, define groups of order types. Define number intervals and assign number intervals to groups. Organize order types that you want to assign same number interval under groups.
    Regards.

  • Movement type wise number range

    Hi,
    We have created a 'Z' Movement type (copying 541 movememt type).
    Now, we want to assign a new number range to this 'Z' Movement type.
    How it can be done?
    Regards,

    Hi,
    As per SAP Standard, we assign no:ranges to document types only such as WE,WA etc in MM-Inventory management.
    Hence you have to create Z - No range object &  assign the same to your Z movement.
    check for available BADI's/User Exits to meet your requirement.
    Thanks & Regards,

  • Plant wise, Delivery type wise number range

    Is it possible maintain of number range plant wise and delivery type. If possible can suggest the user exit with related program.
    Can some body arrange the document regarding depot excise process which inclusive of A certificate registration etc.

    Hi Rao,
    use MV50AFZ1 user exit
    FORM USEREXIT_NUMBER_RANGE
    Reward points if it helpful
    Regards
    Govind.

  • Material type with No. ranges

    Great day dear pandits,
    I am preparing customer specific config document.
    I wish to maintain the material type with corresponding sl.No.  MMNR will give No. ranges only OMS2 will give material type.
    Precisely, I want material type in one col. and corresponding No. ranges in the other.
    It is possible,
    thanks
    v balajee

    great gudos
    v balajee

  • Material type number range question

    I want to have an interval for which I could have external naming both for numbers and for letters. I want to have the option to name the material eg 111111111 or aabbccddg or aa11bb11nnn.
    I have created a group, I have a for external numbering  - from 00000000001 to 9999999999, but I cannot create another line for 00000000000a to zzzzzzzzzzz.
    How can I do it??
    Is it possible?
    Thank you

    Dear,
    Go to transaction code MMNR create number range depends on ur material type.
    Enter the number range AAAA0000 - Z9999999.
    And select the External number range flag.
    path: img>log general>material master>basic setting>material types>define number range for material types
    For Internal Number range Standard SAP does not support for maintaining "Alphanumeric" number range. For that please consult to the ABAPu2019r.
    Internal number assignment:
    If your company uses nonmnemonic keys, you do not enter a material number when creating a material master record. Instead, the system assigns a consecutive number to the material. This number is visible when you maintain the material master record.
    Further options are provided by the following SAP Enhancements:
    SAP Enhancement MGA00002
    This enhancement contains three customer exits that you can use for the following purposes:
    To modify material numbers entered externally by users, for example, by appending a check digit. To assign material numbers internally by customer programs
    SAP Enhancement MGA00003
    This enhancement allows you to edit the display of material numbers as required. For example, a material is assigned the number 123.
    With this enhancement, you can define that the material number is displayed with, for example, the prefix MAT-, even though the number in the database is still 123.
    I hope it will work for you.
    Regards,
    R.Brahmankar

  • Cretaion of new material type in sequence and defining No. range

    Dear Pal,
    Please enlighten with steps for creation of new material type and subsequent configuration and defining No. ranges for the same.
    thanks
    v balajee

    Hi,
    To configure new material type please follow the below process:
    In transation code OMS2 please select any standard material type and copy as for new material type.
    You can give the name of material type here and then save it.
    Now just double click on new material type and then select the necessary views as per your requirement.
    Then select your new material type and click on quantity\value updation and select the check box for required plants.
    For the Number ranges please follow the below path in SPRO:
    Logistics-General>Material master>Basic settings>Material types>Define number ranges for each material type
    Assign material type with Number range group
    Regards,
    Manish

Maybe you are looking for

  • HELP! Cannot find Laserwriter in Print Center w/AppleTalk

    I can connect to the Internet through ethernet, but cannot add a printer. When I go to Network prefs, AppleTalk is enabled, although the Zones pulldown is grayed out. I read some posts and already tried fixing permissions, but no luck. I also upgrade

  • Logic to update the table with IDOC numbers

    Hi all, I have an issue while I am running my interface. The IDOCs are getting generated and are displaying in WE02 successfully. But in my logic, I have a requirement to update these created IDOCs in a customized database table. This table has the I

  • HiRes photos

    I have created photo pages using the conventional iPhoto / iWeb functionality. But my photos only load in low / med resolution when accessing the site. Can I provide an option for HiRes - large size - access to the photos?

  • Jagged edges when using rounded rectangle

    Hi, Hope someone can help me here. I am designing a website for myself (first timer) and have created menu bars and buttons using the rounded rectangle tool. The images look good but the edges are pixelated. I am using anti-alias and have also try fe

  • Rank function not working as expected

    select a.col1 col1,a.col2 col2,sum(B.col3) /sum(B.col4) calc_col3, dense_rank() over(partition by a.col1 ORDER BY a.col2,(sum(B.col3) /sum(B.col3)) rank FROM table1 b,table2 a group by a.col1,a.col2; i am firing this query to find the rank based on g