Can I generate Number Range Type automatically?

Hi everybody,
is it possible to generate number range automatically, instead of using transaction 'snro'?
Here 'automatically' means to call certain FM.
Thanks in advace!
Regards,
Liying

The problem is, this function NUMBER_RANGE_OBJECT_MAINTAIN also is capable of maintaining the number range object is a dialog program, so throws the screens where in the user can edit the data of a specific number.
It still doesn't create a number range.
NUMBER_RANGE_OBJECT_READ - just gets you the details of the object.
Look at the documentation, they are very clear
NUMBER_RANGE_OBJECT_INIT - This just intializes the memory of the project.
Regards,
Ravi
Note : Please mark the helpful answers
Message was edited by: Ravikumar Allampallam

Similar Messages

  • Can't select number and type of tracks from drop down menu!

    When I create an empty project you are supposed to be able to select the number and type of tracks you want from a drop down menu. This menu worked when I opened logic for the first time. In subsequent new projects this window does not drop down fully and I'm unable to make any selections!
    Can anyone help?

    Thanks for your replies.
    I tried Eriksimon's solution which worked the first time i re-opened Logic, but reverted back to how it was everytime after that!
    As you'll know when you launch Logic you get prompted to choose a template, so i slect empty project, then when the main window opens you're prompted with New Tracks drop down/pop out box. What I should get is a choice of Type - Audio, Software Instrument and External MIDI with another section underneath with Format, Input, Output etc... All i get is Number of tracks to choose and External MIDI as the only option! Even if i create the track any subsequent tracks are all External MIDI, no other options!
    When i installed Logic i left off the Jam packs as i'm short on HD space at the minute, i don't think this would be the cause but it's the only thing i've left out of the installation. If i have to re-install i will, but it took nearly 2 hours!

  • How can prevent the number range of document skip

    Dear friend,
         I want to preverify the cancel billing document process via VF11. If the FI period is closed, the cancel billing document (which refers to closed period) process  is not permitted.
         I found the user exit: SDVFX001 (User exit header line in delivery to accounting) and implemented / activated it already.
         My user exit is work, the cancel process of old billing document is denied, but !!! I found that the number range of cancel document is reserved already (but the document is not create). So the number range of cancel document is skip  in the next time when I cancel other billing document....
         Are there any exit or BTE to prevent this case?
    Thank you in advances,
    Sam.

    Hi,
    In your user exit itself, try finding out any FM available for closed period.
    Thanks,
    Sriram Ponna.

  • Generating number range

    what is the tcode used to created number ranges?

    HEllo,
    Check the TCode SNRO
    Use the FM to get the number range
       CALL FUNCTION 'NUMBER_GET_NEXT'
             EXPORTING
                  nr_range_nr             = lva_range_nr
                  object                  = 'ZSTOCKCARD'
             IMPORTING
                  number                  = upa_scnum
             EXCEPTIONS
                  interval_not_found      = 1
                  number_range_not_intern = 2
                  object_not_found        = 3
                  quantity_is_0           = 4
                  quantity_is_not_1       = 5
                  interval_overflow       = 6
                  buffer_overflow         = 7
                  OTHERS                  = 8.
        IF sy-subrc IS INITIAL.
          EXIT.
        ELSE.
    If useful reward.
    Vasanth

  • Me_process_po_cust badi for generating internal number range in me21n tcode

    Hi all,
    I have requirement while creating purchase order my client want to generate internal number range based on company code,document type and plant.here, we are making one custom table to hold compny code,plant,doc.type and Number range number.I am using me_process_po_cust badi for the same.I got the po header and item data from this badi.my problem is how i can pass this number range number in me21n to respective fields.
    Regards,
    Sleela Patil

    Hi,
    Thank u both of you..I tried that exit.following is the code I have written for that exit.
    TABLES: T001K,NRIV,EKKO,ZVS_MM_RANGE.
    DATA: WA_TAB TYPE ZVS_MM_RANGE,
          WERKS LIKE T001W-WERKS.
    GET PARAMETER ID 'WRK' FIELD WERKS.
    SELECT SINGLE * FROM T001K
                    WHERE BUKRS EQ NEKKO-BUKRS.
    IF SY-SUBRC EQ 0.
      SELECT SINGLE * FROM ZVS_MM_RANGE
                      INTO WA_TAB
                      WHERE BUKRS EQ NEKKO-BUKRS
                      AND WERKS EQ WERKS    "T001K-BWKEY
                      AND BSART EQ NEKKO-BSART.
      IF SY-SUBRC EQ 0.
        MOVE: NEKKO-EBELN TO NUMBER,
              WA_TAB-NRRANGENR TO RANGE.
      ELSE.
        MESSAGE 'Please maintain Number range in table zvs_mm_range' TYPE 'E'.
      ENDIF.
    ENDIF.
    Here, I am getting data as I needed but problem is client having multiple plant for single company code.I am not able to capture plant in this exit.as, it is in item level.so,later on tried to do it using me_process_po_cust badi.
    Now my problem is that how to pass this number range number in me23n tansaction.
    Regards,
    Sheela Patil

  • Is it possible to create Order type with different number ranges-Plant wise

    Hi Experts
    Client wants to get the different number ranges for the order types created in the different plants. Is there any user exit for the same.
    I have assigned the order type to the different plants. And Order type is assigned to a no range. So whenever a order type is created in different plants; order types uses the same number ranges.
    so with this situation one cann't know the total no. of order created within a plant.
    Is there any solution for the same.
    Pease give your valuable solutions.
    Regards
    Pankaj

    Hi
    Best way is to create different order types for different plants.
    like we have order types OR15 ,OR20 & OR30 for different plants 1500 ,2000 & 3000 .
    you can assign different number range for different order type.
    this is simplest solution.
    Regards
    Sujit

  • Assignment of number range to order type

    Hi all,
    Please help me out of this. How can i assign number range to the order type?
    Regards
    Kaisar

    Co82 let us say order number range maintenance
    let us say you have created a new order type and you want to assign a new number range
    In CO82..
    Menu path  Group -->maintain
    In maintain number range group screen,
    Group --> insert
    Give text and from number and to number 
    say text = new order
    range - 100000000000 to 199999999999 (tick ext check box if the range is external number range-manual input)
    click on +
    You can see your group at the end of list
    In Not assigned group your new order type will be present
    Place the curser on that order type and fallow the menu path as below
    Edit -->select element
    Select NEW order number range group check box
    edit --> assign element group.
    Now the number range is assigned to the new order. Save it, You will get a pop up, just ignore it.
    I hope it will help you

  • Number Range for '01' type inspection lot

    Dear QM gurus,
    Inspection lot numebr getting increment by two instead one when doing GR against purchase order, please guide.
    Thanks in advance
    Kailash Thakkar

    It is impossible in SAP standard because the inspeciton lot origin can have one number range only.
    You can check why it is impossible in configuration.
    Customizing > Quality Management > Quality Inspection > Inspection Lot Creation > Maintain Inspection Lot Origins and Assign Inspection Types
    Regards
    Luke

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

  • Number range for sales document type

    Hi,
    I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
    so for one comapany code including all there are 15 sales document types same for other also
    my question is
    How can I assign number range for all that?
    If i am going to maintain seperate document type it goes to 75
    which userexit will help me out for this?
    without userexit what is the otherway?
    regards,
    Rahul

    Not only at order level, you will have to use exits at delivery and billing document level also.
    For sales documents:
    Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
    For delivery documents:
    Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
    For billing documents:
    Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
    You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
    Regards,
    GSL.

  • Number range table for MM document types

    hi
    Can anybody help me to find the number range for the mm document types.
    Regards
    rajeev

    Hi,
    go to transaction SPRO, Materials Management, then choose one of the following:
    Purchasing or
    External Services Management or
    Logistics Invoice Verification or
    Inventory Management and Physical Inventory
    and look for the document types you would like to customize.
    Like within purchasing for purchase order -> Define Number Ranges. In this step, you maintain the number ranges for the following purchasing documents:
    RFQ/quotation
    Purchase order
    Contract
    Scheduling agreement
    After that you can add the number ranges to the document types under Define Document Types. ...
    Please be more specific next time as MM document types can relate to 4 main areas within MM.
    Regards,
    Edit

  • How can I setup different number range for each company code?

    Dear GURU,
         Is it possible to setup different number range for material document by company code? If yes, what should i do.
         Thank you in advance.
    Thammarit

    Hi,
    you maintain the number assignment for the following documents:
    material documents
    physical inventory documents
    The number assignment for these documents is not to be confused with the number assignment for accounting documents . The number assignment for accounting documents depends on the document type which is allocated to the transaction.
    The number assignment for material documents and physical inventory documents depends on the transaction/event type which is also allocated to each transaction in Inventory Management. The transaction/event types are divided into groups of number ranges. A number range interval has to be defined for each group.
    You cannot change the transaction/event types. However, you can change the number range intervals or you can allocate transaction/event types to new groups.
    Caution: Change in the Fiscal Year
    If, at the time of a fiscal year change, you reset the number range in the new fiscal year, separate number range intervals for the previous year and for the current year must be maintained for one month to allow postings to the prior period.
    Example:
    Interval for 1995: 4900000000 to 4999999999 status: 4900451234
    Interval for 1996: 4900000000 to 4999999999 status: 4900000000
    If only one number range interval exists for both years and you make any postings to the previous period, the system will assign numbers that already exist in the previous year. This would lead to an update termination.
    In the standard system, the transaction/event types and number range intervals are preset for Inventory Management as follows:
    Physical inventory documents
    Number range interval from 0100000000 to 0199999999
    This group contains the following transaction/event types:
    - IB Physical inventory documents
    - ID Physical inventory documents for counts and differences
    without reference
    - IN Physical inventory documents for recounts
    - IZ Physical inventory documents for count without reference
    - WV Physical inventory documents for difference postings in the WM System
    Material documents for goods movements and inventory differences
    Number range interval from 4900000000 to 4999999999
    This group contains the following transaction/event types:
    - WA Goods issues, transfer postings, other goods receipts
    - WH Goods movements for handling units (HU)
    - WI Material documents for inventory adjustment postings
    - WL Goods issues for delivery documents (SD)
    - WQ Goods movements for usage decisions (QM)
    - WR Goods movements for completion confirmations (PP)
    - WS Goods movements for run schedule headers (PP)
    - WZ Documents for batch status changes
    Material documents for goods receipts
    Number range interval from 5000000000 to 5999999999
    This group contains the following transaction/event types:
    - WE Goods receipts for purchase orders
    - WF Goods receipts for production orders
    - WO Subsequent adjustment of subcontract orders
    - WW Subsequent adjustment of active ingredient materials
    Inventory sampling numbers
    Number range interval from 0200000000 to 0299999999
    This group contains the transaction/event type SI.
    SAP recommends that you accept the settings defined in the standard system. In this case, no action is required on your part.
    Note
    For performance reasons, 10 document numbers are buffered on the application server. In this way, gaps in number assignment can occur.
    Actions
    Check whether you can use the predefined groups and number intervals.
    If you want to change any groups, proceed as follows:
    a) Choose Group -> Maintain.
    b) Select the transaction/event type that you want to re-allocate.
    c) Place the cursor on the new group and choose Edit -> Assign element group).
    d) Save your settings.
    If you want to define new groups, proceed as follows:
    a) Select Group -> Maintain.
    b) Then select Group -> Insert.
    c) Enter a text for the number range group.
    d) Maintain the number interval for this number range group.
    e) Allocate the transaction/event types to the number range groups (see step 2).
    If you want to maintain new number range intervals for an existing group, proceed as follows:
    a) Choose Group -> Maintain.
    b) Select a group and choose Interval -> Maintain.
    c) Choose Edit -> Insert year.
    d) Maintain the number interval for the new fiscal year.
    If you do not want to use the year-related number assignment method, enter 9999 in the field Year.
    Note on transport
    You transport number range objects as follows:
    In the initial screen, choose Interval -> Transport.
    Note that all intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
    Dependent tables are not transported or converted.
    Thanks and regards
    Rajesh

  • Can we use same number range for different  fields

    can we use same number range for different  fields. how can we see the number range defined for a particular field

    Hai,
    Yes you can have same number range for different fields  by using the same domain to the data elements that are user to your two fields.
    To see the range:
    Go to SE11,Type table Name open it-->double click on the DataElement adjasent to the field name ,You will get Domian ,Double click on Domain You will get Domain.There See Value range option .Value range cam also be defined by Value Table which will also at the Doamin level.
    <b>Reward points if it helps you.</b>
    Regds,
    Rama.Pammi

  • Po number range as per document type

    Hi All,
    How to configure PO number range as per document type? Like i want my service POs (doc type FO) with different number range than with document type NB.
    Regards,
    Shailendra

    Define document types.  Method
    Transaction: SPRO
    Menupath -> Materials Management -> Purchasing -> Purchase Order -> Define document types
    Select document types:
    Enter - Document type (NB) , Type description (Std PO with delivery) , Item interval (1) , NR rng as. (Number range assignment) as 01, Field selection (NB).
    Save the details entered.
    Then go to Define Number range (OMH6) or menu path Materials Management -> Purchasing -> Purchase Order -> Define number range
    Select Interval
    Define NO as 01 (Number range assignment already maintained in document types), then give from range, to range.  Current number is 0
    Hope you have understood and now you can link with number range with document types.
    Any clarifications, please revert back.
    Thanks,
    Ravi

  • Number Ranges-The data is locked by user ... and can be displayed only

    I wanted ti define number ranges - Transaction CXEG in Consolidation, and somehow i blocked the data (message: The data is locked by user ... and can be displayed only). How i can unlock the data so i can define new number ranges for this year. Please help

    Hi,
    Make sure you don't have any open sessions. If not, then go to SM12, and delete the relevant locked entry.
    Regards,
    Eli

Maybe you are looking for

  • Flash Text not displaying certain fonts

    Thanks as always- I am trying to use Flash text for some headings, but after an hour of pulling my hair out I've just realised it will only display certain fonts, such as Helvetica etc. I added the font I want to use to my font list but it still does

  • Auto fill for passwords in iphone safari

    in ff and safai, 1P is very helpful, ur bring up a URL and it shows you your saved passwords to log in. I cannot find the equivalent for iphone. Option 1 - it would be fine with me if browser simply saved password for common web sites, like FF can do

  • Ability to rename folders in Launchpad in Mountain Lion Seems to be broken. Is there a fix?

    Ability to rename folders in Launchpad in Mountain Lion Seems to be broken. Is there a fix?

  • Fatal Issues with Text in Adobe Illustrator CC 17.1

    I am having serious issues with my AI file today.  Whenever I select a text box, I get the error "Can't edit the type" if I try to modify the text.  Then it just pastes gibberish into the text box.  Please help, as I am on a tight deadline and this i

  • CC default On?

    Is there a way to make the closed captions default true (visual) at the start of the slide? I am creating two presentations, one with audio and one without, I would like to make the one without audio have captions auto play at the start of the presen