Number Range object skipping numbers SAP

Hi All,
Number Range object skipping numbers SAP "EINKBELEG" . While creating Purchase order with transaction code me21n, the purchase order is skipping odd numbers. I have checked the transaction code "SNRO" there is no buferring set on the object.
Please help

Are multiple users creating Purchase Orders at the same time?
If yes then this is possible. Because Number Range (unique Number) is assigned to Purchase Order at the start of the Transaction (ME21N).
Thus if multiple users are creating Purchase Orders at the same time & some of these users may have not saved the Purchase Order after partially creating it... This may lead to particular Number Range to be skipped as the following number is already assigned to some other Purchase Order.
Hope this helps,
Thanks,
Jignesh Mehta

Similar Messages

  • Sequential numbers in non-buffered number range object

    I need some help pointing in the right direction to analyze and prevent a problem with a NON-BUFFERED custom number range object.
    This process works well.  Once or twice however, sequences have been created with an apparent delay and are out of order.  I don't know why, or where to look to diagnose the timing, etc.  It's very difficult to recreate.
    We have a custom number range object; ZFSEQ in SNRO that is responsible for assigning a sequential number to a series of flat files produced by number of different interfaces.  Those interfaces all use the FM  'NUMBER_GET_NEXT' and then they build a file name with that sequence number.  That object is not buffered.
    During heavy volume of updates (where lots of these sequences are being called and created by different interfaces, the table NRIV is locked and released by each interface.  During this time of heavy updates, we have an infrequent problem that has occurred where a standard sales order create created a sequence number that is greater than the sequence number generated by the delivery create.  (The delivery was created a couple of minutes later than the order, yet the order created a flat file sequence number greater than that of the delivery.
    I hypothesize that the flat file call for the order (using the  FM  'NUMBER_GET_NEXT') was somehow delayed(because of heavy lock/usage of NRIV).  The actual order document and delivery document were created normally.  I also am thinking that buffering on the object would prevent this.  I cannot at this time implement buffering on the object, but we are working towards that.
    The order create originates from our e-commerce system through a webserive, and in SAP, flows like this:
    Main webservice RFC:     Z_ORDER_CREATE
              Call Z_create_order_bgd  IN BACKGROUND TASK
                                      Call BAPI_SALESORDER_CREATEFROMDAT2 )
                                       MV45AFZZ--> userexit_save_document.
                                            call Z_FUNCTION_TO_GET_SEQUENCE
                                                      CALL FM  'NUMBER_GET_NEXT'    <---- order create sequential file created
              commit work.
    The delivery sequential file is created in
         MV50AFZ1  (the Delivery User Exit)
    Where can I look to conclusively see what happened to delay our sales order sequence?  What could be done to prevent it?
    Thanks
    Jeremy H.

    Just want to post the answer that we found to this issue and close it, though more comments are always welcome!
    We are going to move forward with buffering the Z object for the range as studies have shown and all other consulting input seems to be that buffering will solve this problem.

  • Number range object issueing the  numbers randomly

    Hi All,
      We have created a number range object and used in a program,but it is issuing the values randomly if it  is issues 8 yest ,today is issuing 7 .
    do any any idea on this issue?
    Regards
    Channa

    Hi,
    Please check the number range configuration.
    [Number Range Example:|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015]
    Shiva

  • Document number range object

    Hi
    Please tell document number range object . T-code :FBN1
    PLEASE URGENT
    Thanks
    Krishna

    Hello
    A number range must be assigned to each document type in the SAP System. Via the document types, you distinguish the postings according to the different business transactions, for example customer payment, vendor credit memo, and so on. To store documents separately according to document types, you must assign a separate number range to each document type, for example to invoices or to credit memos.
    In the following activities:
    You define your document number ranges.
    You can determine which intervals of document number ranges are to be copied from one company code into another.
    You can determine which intervals of document number ranges are to be copied from one fiscal year into another.
    Define Document Number Ranges
    In this IMG activity you create number ranges for documents. For each number range you specify (among other things):
    a number interval from which document numbers are selected
    the type of number assignment (internal or external)
    You assign one or more document types to each number range. The number range becomes effective via the document type specified in document entry and posting.
    You can use one number range for several document types. This means you can differentiate documents by document type but combine them again for filing the original documents, provided you store your original documents under the EDP document number.
    Note
    The type of number assignment is of special importance. For each document type you should check whether a separate number range must be used and which type of number assignment is most appropriate.
    One example of a case where external number assignment would be suitable is when you transfer documents into your SAP system from a non-SAP system. The numbers must be unique. The number range is not displayed with external numbers. You must therefore ensure that you do not skip any numbers when entering numbers manually (for organizational reasons).
    You should use internal number assignment if the original documents do not have a unique document number. This is the case, for example, with vendor invoices.
    Number ranges for documents are company code-dependent. You must therefore create your number ranges for each company code in which the document type is used, namely with the same number range key.
    The number intervals must not overlap. If you use year-dependent number ranges, you can specify the same interval with the same key several times for different to- fiscal years  (the limit up to which a number range is still valid). If you want to define number ranges which are independent of the to-fiscal year, enter 9999 in the to- fiscal year field.
    Caution
    For sample documents, use a number range with key X2, for recurring entry documents with key X1. These keys may not be used for other number ranges.
    Recommendation
    Store your original documents (paper documents) under the EDP number of the SAP System. You should write the EDP document number on the original document. In this way, the original document for a business transaction can be found at any time.
    Activities
    1. Determine how document filing is to be carried out in your company codes.
    2. Define your number ranges accordingly.
    3. Make sure that the number ranges are assigned to the corresponding document types.
    Copy to Company Code
    In this activity, you can copy intervals of document number ranges from one company code to other company codes. To do this, you have to store the following information:
    Intervals which are copied
    To fiscal year(s) (validity limit up until which the number range is valid)
    Company code from which you copy (source company code)
    Company code(s) into which you copy (target company code(s))
    Activities
    Make all necessary specifications for copying the number ranges.
    Note
    The number ranges are only copied into a target company code if no number ranges exist there within the selected "To fiscal year" interval.
    Notes on transporting
    The documentation for the step "Define document number ranges" describes how to transport document number ranges.
    Copy to Fiscal Year
    In this activity, you can determine which intervals of document number ranges are to be copied from one fiscal year into another per company code. To do this, you have to define the following information:
    Company code(s) within which you copy
    Number range number(s) which are copied
    Fiscal year from which you copy (source fiscal year)
    Fiscal year into which you copy (target fiscal year)
    Activities
    Make all necessary specifications for copying the fiscal years.
    Note
    The number ranges are only copied per company code into the target fiscal year if no intervals exist there for this fiscal year.
    Reg
    *assign points if useful

  • About Number range object

    Hi All,
    what is Number range object and what is the purpose of this.?
    thanks in advance ...

    Hi,
    1) Goto Tcode SNRO
    2) select ur concerned OBJECT there.
    3) Click on Number Ranges Push Button.
    4) then click on Display Interval Button over there.
    Document:
    A number range must be assigned to each document type in the SAP System. Via the document types, you distinguish the postings according to the different business transactions, for example customer payment, vendor credit memo, and so on. To store documents separately according to document types, you must assign a separate number range to each document type, for example to invoices or to credit memos.
    In the following activities:
    You define your document number ranges.
    You can determine which intervals of document number ranges are to be copied from one company code into another.
    You can determine which intervals of document number ranges are to be copied from one fiscal year into another.
    Define Document Number Ranges
    In this IMG activity you create number ranges for documents. For each number range you specify (among other things):
    a number interval from which document numbers are selected
    the type of number assignment (internal or external)
    You assign one or more document types to each number range. The number range becomes effective via the document type specified in document entry and posting.
    You can use one number range for several document types. This means you can differentiate documents by document type but combine them again for filing the original documents, provided you store your original documents under the EDP document number.
    Note
    The type of number assignment is of special importance. For each document type you should check whether a separate number range must be used and which type of number assignment is most appropriate.
    One example of a case where external number assignment would be suitable is when you transfer documents into your SAP system from a non-SAP system. The numbers must be unique. The number range is not displayed with external numbers. You must therefore ensure that you do not skip any numbers when entering numbers manually (for organizational reasons).
    You should use internal number assignment if the original documents do not have a unique document number. This is the case, for example, with vendor invoices.
    Number ranges for documents are company code-dependent. You must therefore create your number ranges for each company code in which the document type is used, namely with the same number range key.
    The number intervals must not overlap. If you use year-dependent number ranges, you can specify the same interval with the same key several times for different to- fiscal years (the limit up to which a number range is still valid). If you want to define number ranges which are independent of the to-fiscal year, enter 9999 in the to- fiscal year field.
    Caution
    For sample documents, use a number range with key X2, for recurring entry documents with key X1. These keys may not be used for other number ranges.
    Recommendation
    Store your original documents (paper documents) under the EDP number of the SAP System. You should write the EDP document number on the original document. In this way, the original document for a business transaction can be found at any time.
    Activities
    1. Determine how document filing is to be carried out in your company codes.
    2. Define your number ranges accordingly.
    3. Make sure that the number ranges are assigned to the corresponding document types.
    Copy to Company Code
    In this activity, you can copy intervals of document number ranges from one company code to other company codes. To do this, you have to store the following information:
    Intervals which are copied
    To fiscal year(s) (validity limit up until which the number range is valid)
    Company code from which you copy (source company code)
    Company code(s) into which you copy (target company code(s))
    Activities
    Make all necessary specifications for copying the number ranges.
    Note
    The number ranges are only copied into a target company code if no number ranges exist there within the selected "To fiscal year" interval.
    Notes on transporting
    The documentation for the step "Define document number ranges" describes how to transport document number ranges.
    Copy to Fiscal Year
    In this activity, you can determine which intervals of document number ranges are to be copied from one fiscal year into another per company code. To do this, you have to define the following information:
    Company code(s) within which you copy
    Number range number(s) which are copied
    Fiscal year from which you copy (source fiscal year)
    Fiscal year into which you copy (target fiscal year)
    Activities
    Make all necessary specifications for copying the fiscal years.
    Note
    The number ranges are only copied per company code into the target fiscal year if no intervals exist there for this fiscal year.
    http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa02e3493111d182b70000e829fbfe/frameset.htm
    Regards,
    Shiva Kumar

  • Number range object interval - Production Orders

    Dear All,
    In number range object AUFTRAG, no. of numbers in buffer mentioned as 20,
    To my knowledge, because there is buffer defined as 20, system may skip some numbers in production order number range amounting to 20.
    But today I have observed that, in the system numbers skipped is not 20 but less than 20, i.e 17.
    Can anyone tell me why is this happened?
    Regards,
    Pavan

    hello
    pls check as per below
    SPRO Production-Shop Floor Control-Operations-Confirmation---
    >>>> then you can check in the follwing in the
    Define Confirmation Parameters
    Confirmation Parameters for Collective Confirmation/Fast Entry
    Define Time for Confirmation Processes
    Define Paralleling Type for Confirmation Processes
    Define Reasons for Variances
    Define Field Selection for Confirmation
    Define List Layout
    Check if required information available in the
    rgds
    Brijesh

  • Number range object reset daily

    We would like to generate a unique numeric value to represent an external invoice number. This number begins with the current date e.g. 20110905 followed by the next number in the sequence 0-9999. The sequence needs to also be reset to one at the start of each day.
    We currently use a program to select and update a database table which stores the date and next number in the sequence and reset and finally reset the number at the start of each day. Unfortunately we sometime experience duplications of the invoice numbers.
    I've tried using a SAP number range object (transaction SNRO) but I can't find a function to reset the number.
    Is there a function to reset a SAP number range object or an alternate method to obtain the required results?

    Dear Nicholas,
    Have you use locking mechanism on your custom number range table ? (using enqueue/dequeue or else)
    or you may want to check this function : NUMBER_RANGE_INTERVAL_UPDATE.
    Regards,
    Oki

  • Number Range Object for a Infoobject

    Hi Gurus,
    Can anyone explain me what is the significance of Number Range Object for a perticular infoobject and what do you mean by Buffering of those Number Range Object...
    Your help will be appreciated..
    Thanks a lot in advance..
    Thanks,
    Shalaka.

    Hai Shalaka,
    The number range buffer is used to increase performance when assigning
    numbers. Instead of fetching the numbers each time from the database,
    a single access to the buffer suffices. Only when the buffer is empty,
    is it refilled from the database (table NRIV).
    Use of the buffer has the following benefits:
    · Accessing the main memory is a thousand times quicker than accessing
    the database. Speed is particularly important for applications that
    assign numbers frequently.
    · Database accesses are always subject to the database transaction
    mechanism. Once an application has assigned a number for one user, a
    second user cannot assign a number until the first user has executed a
    commit operation on the database. The application blocks further
    assignment, and the second user has to wait, until the commit has been
    executed.
    · The number range buffer can also prevent deadlock situations, which
    may arise from assigning different numbers in a different order.
    Since the SAP kernel accesses table NRIV directly for the number range
    buffer, the structure of the table must never be changed. This also
    applies when adding new fields.
    We can set number range buffering inSNRO t code.
    Loading Master data - The number ranges buffer for the SID's resides
    on the application server and reduces DB server accesses. If you set
    e.g. the number range buffer for one InfoObject to 500, the system
    will keep 500 sequential numbers in the memory and need not access the
    database.
    #####>>> whenever master data loading is done system creates SIDs, &
    to create SIDs system look into a specific table, check the latest
    number & generate the next no in the series, so to check this latest
    no for every time ( every record) system needs to go back to database
    table & generate the next no in series. when I do the buffering I
    provide the whole series to system at application level so it need not
    to go back to table to check the latest no & generate the next one. It
    just picks up the next in available on application server.
    >>>####
    Please refer - SAPnote 130253
    Loading Transcation data - The number range buffer for the dimension
    ID's resides on the application server and reduces DB server accesses.
    For example, if you set the number range buffer for one dimension to
    500, the system will keep 500 sequential numbers in memory and need
    not access the database
    If you load a significant volume of transaction data (e.g., initial
    load), increase the number range buffer. If possible, reset it to its
    original state after the load in order to minimize unnecessary memory
    allocation
    Hope this information helps u....
    Asign points if helpfull
    regards
    KP

  • Transporting error!  While transporting Number Range Object

    Hi All,
    Thanks in Advance.
    I have created a Number Range Object(Not a interval range) in Development Box(SNUM). (We have 2 production box) I transported the Number Range object to 2 production box.
    Number Range Object Transported successfully for one box. But It is not getting transport into other box.
    Could you please help,  to solve this problem.
    is there any configuration?
    <b><u>Error Log Detail.</u></b>
    ADO import (12) Cancelled
    Log generation messages ....................................... (000-999)
    Log generation messages ....................................... (000-999)
    Ended with return code: ===> 12 <===
    Deleted from buffer ( Ended with errors )
    I don't know, how to resolve this error.
    Thanks Again!
    Regards
    Anand

    Hi,
    Please refer to the SAP note : 132020
    Symptom
    With the import of a transport request or the import of a patch with the SPAM, tp terminates during the ADO import with return code 12.
    In the ADO import log file of the request, cancelled jobs are refered to. With transaction SM37, you can find a cancelled job, suitable for the import RDDDIC1L, in the job log with one of the following messages:
    ABAP runtime error: ASSIGN_OFFSET+LENGTH_TOOLARGE
    ABAP runtime error: Exclusion criterion "RDDDR310_ERR02" initialized
    Additional key words
    Cause and prerequisites
    The ADO data file was not generated locally on a transport domain computer, rather it was, for example, transported with ftp and unpacked from out of an archive with CAR.
    Solution
    One cause could be that the data file for the ADO import was not transferred correctly. To check this, the following derivation steps are required:
    Start the operating system command 'R3trans -l <Datenfile>' and check whether the data file for the ADO import is corrupt.
    Assumed that a transport request is called C11K900123, the respective ADO data file D900123.C11 is also like this and stands in the subdirectory 'data', in the transport directory.
    Compare the size of the data file in the transport directory with that of the original file. The size must be identical.
    If a check shows that the data file is corrupt, transfer the data file again.
    Award points iff it helps.
    Regards,
    GSR.

  • SNRO - Creation of Number range object problem

    Hi Experts,
    i wanted to create a number range object thru SNRO.
    The creation was successful in DEV system.
    when i tried to create the same number range object in QA server, i am getting the following error
    "Changes to Repository or cross-client Customizing are not permitted - Choose 'Display object' or 'Cancel'."
    this is a Znumber range used to generate sequential numbers using FM NUMBER_GET_NEXT
    What could be the problem. how to over come this?
    Is it the missing authorizations? if so what could be the authorization object (SU53 shows nothing)
    Appreciate any help in this regard.
    Thanks
    Simha

    Hi All,
    I am confused with the conflicting answers for my problem. But anyways i could transport the number range object and could create a number range interval in QAS.
    Thanks a lot for all your valuable inputs.
    But i am still not out of this so called misconception - Are number range objects to be transported to QA or to be created afresh in QA/PRD?
    Earlier some one told to be created but now i see they can be transported.
    I was not ready to edit the options in SCC4 for the client to enable object creation.
    Thanks again,
    Simha

  • No authorization for number range object type BTI and activity SHOW

    Hi All,
    When I try to execute
    SAP Easy Access screen - > Auto-ID Infrastructure -> Master data -> Number Ranges -> Number Range Administration
    on the next web window when I select the object type BTI , it comes up with the error
    Number range table not maintained for object BTI in customizing  
      No authorization for number range object type BTI and activity SHOW  
    I am using AIN 5.1 .  Is this an authorization issue ?. If so which all roles I should give to the user?  IF you have any idea about this please share some tips.

    Hi Sahad,
    Only few number range object types are available in the standard system:
    Follow the link for help .
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm
    Follow the for setting up the others.
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm

  • Error in Number range object  - URGENT

    I changed one attribute(let say X) of a characteristic(A)  from dis to nav and transported to QA. The transport failed saying that the intervals for the number range object for X does not exist.
    In DEV RSRV check on X, A shows no errors
    any suggestions how can I fix this prob

    try attribute change run first if dont work try this
    you can increase the number range buffering size... go to se37 use functional module rsd_cube_get and then click on the test/execute(f8) button, then put in your cube name , then for i_obj put in a and then for i_bypass put in x press the execute button. the click on the blue icon next to E_T_DIME. you se your dimensions there. you now need to increase the buffer size for the dimensions that are receiving high volumes of records. so on the same screen not the dimention tht you want to increase the size of, scroll to the right hand side extreme and note down the NOBJECT number starts with BID. then go to transaction SNRO, put in the number you noted down and click on the change icon.
    Now in the edit tab on top drop down set up buffering and select main memory.
    now under "No. of numbers in buffer type in 500
    save and click yes to continue
    setting the number range too low will not help in load performance significantly, whereas setting it too high will consume a lot of memory on the application server, which will effect other applications.monitor the memory usage during data loading to find an appropriate number.
    hope this helps

  • Maintain number range object for object J_1IRG23C1, year 2008, excise

    Dear All,
    I am doing the purchase cycle for Assets, while doing GR i am getting the below error, pls guide me
    Maintain number range object for object J_1IRG23C1, year 2008, excise
    Maintain number range object for object J_1IRG23C2, year 2008, excise
    B/regds,
    CB

    Dear CB,
    Use Transaction "SNUM", and give the object name as "J_1IRG23C1" and maintain number range for the financial year.
    Do the same procedure for Object "J_1IRG23C2" and maintain the number range.
    Hope this helps.
    Njoy SAP
    -Saravanaganesh

  • Maintain number range object for object J_1IRG23A1, year 2011

    hi
    when i try to maintain no range for object J_1IRG23A1 with t code SNRO i get following error
    please specify an existing number range object how to rectify
    Thnx

    Hi
    Please use the following document to configure the CIN specific number ranges. Hope steps mentioned here help you.
    http://help.sap.com/bestpractices/BBLibrary/html/J81_ProcStockMaterial_EN_IN.htm
    Nishant

  • Maintain number range object for object J_1IINTNUM, year 2009, excise group

    Hi SAP Guru !
    Plz tell me the solutions quickly, Even after mantaining the required Objects in "J1I9" , when I am going to post GR , once again it is saying that ........
    1 - >   Maintain number range object for object J_1IINTNUM, year 2009, excise group
           Message no. "4F159" .
    2 - > Maintain number range object for object J_1IRG23A1, year 2009, excise group 21
           Message no. 4F159
    3 - >  Maintain number range object for object J_1IRG23A2, year 2009, excise group 21
            Message no. 4F159
    Regards,
    San

    dear sir
    while maintain number range , in the number column, it should be 01. other than 01, you will get same error.
    so please check it should be 01 in the number column and year and number range interval .
    regards
    jrp

Maybe you are looking for

  • Cintiq 24HD as third monitor

    Hello, I am new to the forums, and would like some help. My set up is as follows: 2010 Mac Pro 2x2.4 Quad-Core Intel Xeon - Running Lion 12GB 1066 MHz DDR3 2TB HD ATI Radeon HD 5770 1024 MB Graphics Displays: 27" LED Cinema Display 24" Acer HD Monito

  • Iphone drivers wont let itunes open or find my iphone 3GS

    my windows 7 dell wont open my iphone 3GS in Itunes. It shows up under my computers divices as "Apple Mobile Device USB Driver" . I am currently running 3.1.3 on my iphone and have never updated the phone since i first got it in 2009. I have Itunes 1

  • Need to Modify Existing Hierarchy

    Hi Experts, Problem: There are two hierarchies, one from CRM system and another from ECC system. Both the hierarchies show same data. however ECC hierarchy is having one more detail level then CRM hierarchy.CRM hierarchy is having 4(continent, subcon

  • How do I open draft folder of my mail?

    How do I open draft folder of my mail?

  • Skype online number doesn't display in Hong Kong, ...

    Hi all, I've subscribed a Skype number in Hong Kong, set it as my caller ID. However, whonever I call in Hong Kong, it only show as Unknown Caller. On the other hand, if I call someone in Australia, the number does come up correctly as +852XXXXXXXX.