Number range generation

Hi All,
I want to use number range generation (tcode: SNRO) for generating numbers for my custom database primary key purpose.
Can anybody give me clear idea about number generation.
Please help its urgent. .........
Thanks in advance.

Hi,
by using SNRO you will have 3 options coming to u.
By the 1st option, u can create the new interval range from sya 0... 99999 etc..
Using second option, u can change the existing number range, incase the existing one gets exhausted by usage.
By the trhird option, you can delete the existing number range..
It's upto u you can decicde any number range.. One more point to notice is that you can have External & Internal number rnage assignment.. E.g., in case of MM Module, generally, the PO, RFQS, etc.. are generated by it own (i.e., the no is assigned to it once you save the new PO, RFQ etc...) Or otherwise, incase u assign external number range, the new avaialable number will be taken from the interval and will be provided to the newly created document (E.g., MAterial, PO, RFQ , etc..)
I hope i am clear.
Please provide atmost points.
thanks
rams

Similar Messages

  • Number range generation failure

    Dear Team,
    While creating 57F4 challan in J1IF01, we are getting followng error "number range generation failure". Kindly suggest why we are getting this error & also the solution.
    Regards,
    Sathya.

    I dont remember correctly but we have to assign a number range to the excise group which we use while creating 57F4 challan.
    check what exsice group / series group you are usiung ang check in customization whether numbner range has been assigneg to it.
    I remember that number range should be for particular excise group and fiscal year.
    check and confirm if your problem is solved.

  • TDS Number range generation failure

    Hi all,
    We are using ECC 6 . when we are generating the TDS certificate than system prompting the message " Number range generation Failure"  Message no. 8I166.
    I have done all the configuration. last week we have already generated the certificate with 40000000 certificate no. but when I re test the same scenario this week than system prompt me this message.
    and I checked the Tcode J1INCT certificate number range. where I found that in status there should be 400000000. because we have already generated the certificate. but status was 0.
    please help me what could be the cause of this error.
    Points will be assigned.
    Regards to all.

    Hi,
    Go to the Following path and maintain the Number range:
    SPRO- Financial Accounting - FA Global Setting - WTH - Extended - Posting - India - WTH Tax Certificate for Vendor & Customers -1) Maintain Number Groups 2) Assign Numer Groups.3)Mainatin Number Ranges.
    Also goto SM30
    Maintain the following :
    J_1IEWT_CERT_N
    J_1IEWTNUMGR_1
    Hope its useful,
    Thanks
    Prasada

  • Number Range generation failure Message no. 8I166

    Dear All,
    While creating subcontracting challan ( T-CODE J1IF01 ), its giving error as Number Range generation failure
    Please help me out.
    Regards,
    Sandeep.

    The correct answer was copied from NUMBER RANGE GENERATION FAILURE That answer has been rejected and the points removed. Copying other people's work is not permitted.

  • Number Range generation failure in Form16A?

    Hi Experts,
    While executing Form16A ,i am getting the error
    "Number Range generation failure"
    Message no. 8I166
    Suggest the solution.
    Regards,
    Sumeya

    Hi,
    Please maintain the follwogin three steps in config.
    1. Assign form in SM30 - J_1IEWTCERT
        - Assign form for company code, section code, Tax code wise.
    2. Later Assign number ranges for the number range groups at
    Financial Accounting  --> Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Postings --> India --> Withholding Tax Certificates for Vendors and Customers --> Assign Number Ranges to Number Groups
    3. Maintain Number Ranges
    Financial Accounting  --> Financial Accounting Global Settings --> Withholding Tax --> Extended Withholding Tax --> Postings --> India --> Withholding Tax Certificates for Vendors and Customers  --> Maintain Number Ranges
    This must help you out.
    Caio
    Raghu

  • Subcontracting number range generation failure

    Dear all,
      When im going to create subcontracting challan an error message comes
    Subcontracting number range generation failure
    pls guide me
    Thanks
      Amin

    Dear ,
    table nriv comes like
    object           sub object     to year   from no        to num                  nr level                       extend ind
    j_1i57fc        S2                  2007   000000001        9999999999    00000000000000      -
    (blank)
    my current year is 2007
    Thanks
    Amin

  • ARE 1 Number Range

    Dear Experts,
    Am having a problem in generation of are1 number range.
    Am having 3 series groups for exports, for a one plant. Where as we will maintain number range for are1 wrt Series group.
    but here the client requirement is they want only one continuation number range for a plant. they dont want wrt series group.
    For creation of excise invoice they want 3 series group but for creation of ARE1 they want only one series group. Pls let me know how to habdle this or is there any user exit is there for are1 number range generation.
    And one more problem am facing is i have to attach 2 excise invoice to one are1 form in that system is not allowing me to attach because two excise invoice are belongs to different series group. Pls let me know how to handle this series group issue in ARE1 Generation.
    Regards
    Nagesh

    Hi,
    You can make use of the user exit J_1I7_USEREXIT_EXCISE_BEF_SAVE..
    You need to maintain a custom number range with single series group through SNRO T.code .
    Call function Number_get_next Fm to get the new number from the defined number range object.
    overwrite the excise invoice number with new excise number in the above mentioned user exit.
    Regards,
    Sai

  • Defining Internal Number Ranges

    Hi,
    I am looking for a good solution for <u><b>internal number ranges generation</b></u> in MDM, I haven't find any solution for this number ranges in any of SAP MDM ref. guides and any other SAP standard documentation.
    Business requirement:
    1)Based on Account Group we have different internal number ranges for Business Partner.
    2)Once the user select a Acct. Grp for Business Partner  in MDM corresponding <u>sequential number range</u> should generate and assign to that BP.
    3) the solution should work in both Data manager and in Portal.
    Appreciate all valid suggestions and helpful answers.
    Thanks,
    Pooja Varma

    Hi Anita,
    I am not looking for Remote System key generation.
    I need a solution for the internal number range generation for any new BP or Material creation within MDM and there is no data model provided by standard SAP MDM on this.
    - I am wondering how all other clients are implementing this kind of requirement?
    - this is very crucial and important for any client in the BP.
    Hi All,
    Kindly share some of your experiences and provide solution in this regard.
    Highly appreciated all helpful answers and suggestions.
    -<u><i>Full Points will be given all valid answers</i></u>.
    Regards, Pooja

  • Number Range Split from external to internal generation

    Dear Expert,
    Currently we have various customer account group for which single below number rang 02 is assigned. Client has sub-range slab which assigned to different account group, unfortunately this is setup was not setup in SAP system. Hence whenever user wanted to create new customer in particular group they look for last account number used in that sub-goup and then input account number. Now client want to shift everything in auto-generation and wanted to use same sub-range number in continuation. which I am finding difficulties since last number used from the 02 number range is 202102 and I am not sure how system will react if I delete existing number range 02 and then split with different number range and what will be the implication on existing records?
    Looking for the assistance!
    E.g. Setup: External Number
    Customer Account Group        Number Range       (sub range - manual excel)   Number used so far   
    A0001                                    02                         200000 to 201999               201150
    A0002                                    02                         202000 to 202999               202102
    Thanks & Regards,
    Prashant Rane

    Hi Abdul,
    Currently there is one number range assigned to both customer group and now we wanted to split and change to internal assignment. In below case A0001 should use next number 201151 and A0002 next number should be 202103? second group A0002 is possible by ending last number as 202102 in number 02, but how I will achieve group A0001 to generate next number as 201151?
    E.g. Setup: External Number
    Customer Account Group        Number Range       (sub range - manual excel)   Number used so far   
    A0001                                    02                         200000 to 201999               201150
    A0002                                    02                         202000 to 202999               202102
    Thanks & Regards,
    Prashant Rane

  • Generation of Billing Document with odd number range.

    Hello SAP folks,
    There is specific issue related to billing document which are generated on Production server. There are billing document which are created on a date lets say 06.01.2009 and number ranges are assigned to it. But when another Billing doc is created on some later date, then how come the number of that billing document be less number range produced on 06.01.2009.
    Billing doc -- > 95906218 dated 06.01.2009
    Billing doc -- > 95906249 dated 13.01.2009
    Billing doc -- > 95906264 dated 06.01.2009
    Could anyone throw any light on the reason for this topic ???
    Regards,
    Sarthak

    how come the number of that billing document be less
    One possible reason could be the user would have executed via VF04 and selected for collective billing.  Based on ascending order of delivery documents, invoice would also have been generated.  This means, you have to check the corresponding delivery for the following:-
    95906249 dated 13.01.2009  and
    95906264 dated 06.01.2009
    If my assumption is correct, the date what you had indicated is nothing but "Actual GI Date" from delivery.  Having said this and also as stated above,  delivery would have been created first for the billing document dated 6th and followed by the other delivery on 13th.
    thanks
    G. Lakshmipathi

  • Excise invoice number range.

    Dear Sirs,
    For a new trading business I have assigned a new number range for commercial invoices but I am unable to create a new number range for Excise Invoices.
    Please suggest how I can create a new Excise number range for this particular business & how I can interlink it with the commercial invoices.
    Looking forward for your kind support.
    best regards,
    Rajdeep

    Hi
    As Ratish alraedy mentioned that Excise Invoice No. Range is maintained on the basis of Series Group, so check your series Group.
    T-Code : SNRO
    Following is the No. Range Objects related to Excise, select the proper no. range object as per your requirement.
    J_1I57FC - 57FC Number Range
    J_1IARE1 - ARE1 Doc No object based on Series Group
    J_1IARE3 - ARE3 Doc No object based on Series Group
    J_1IBOND - Excise Bonding: Bond number object
    J_1ICERT - Withholding Tax Certificates (India)
    J_1ICHLNNO - Internal number range for challans
    J_1ICONPLA - Consolidated PLA serial no. generation
    J_1IDEPINV - Excise Invoice Number for Depot Invoices
    J_1IEXCEXP - Export excise invoice number range
    J_1IEXCINV - Excise invoice number
    J_1IEXCLOC - Local excise invoice numebr range
    J_1IEXCTST - Excise invoice with intervals
    J_1IEXINEX - Excise invoice number for export
    J_1IINTNUM - Internally document number to be generated
    J_1IINTPR2 - Despatch serial number
    J_1ILIC - Excise Bonding: License number object
    J_1IPLA2 - PLA part II number range object
    J_1IRG1 - RG1 Number range object
    J_1IRG1_T - No. Range for RG1 - Excise group / Material
    J_1IRG23A1 - RG23A part 1 no. range object
    J_1IRG23A2 - RG23A part II number range object
    J_1IRG23C1 - RG23C part I number range object
    J_1IRG23C2 - RG23C part II number range object
    J_1IRG23D - Folio Numbers for RG 23D
    Regards
    Amitesh Anand

  • Excise number Range Maintenance

    How to maintain Excise number Range and in which object we have to maintain number range for domestic /export etc

    Hi rohith
    Go to SNRO (or) SNUM and select any of the below objects required by you and select NUMBER RANGE on top. It will ask for "Series Group". Give the respective plant's series group and click "Change intervals".
    Now give some value in the field "No" followed by year and number range and save.
    J_1IARE1         ARE1 Doc No object based on Series Group
    J_1IARE3         ARE3 Doc No object based on Series Group
    J_1IBOND        Excise Bonding: Bond number object
    J_1ICERT         Withholding Tax Certificates (India)
    J_1ICHLNNO     Internal number range for challans
    J_1ICONPLA     Consolidated PLA serial no. generation
    J_1IDEPINV      Excise Invoice Number for Depot Invoices
    J_1IEXCEXP     Export excise invoice number range
    J_1IEXCINV      Excise invoice number
    J_1IEXCLOC     Local excise invoice numebr range
    J_1IEXCTST      Excise invoice with intervals
    J_1IEXINEX       Excise invoice number for export
    J_1IINTNUM      Internally document number to be generated
    J_1IINTPR2       Despatch serial number
    J_1ILIC             Excise Bonding: License number object
    J_1IPLA2          PLA part II number range object
    J_1IRG1           RG1 Number range object
    J_1IRG1_T        No. Range for RG1 - Excise group / Material
    J_1IRG23A1      RG23A part 1 no. range object
    J_1IRG23A2      RG23A part II number range object
    J_1IRG23C1      RG23C part I number range object
    J_1IRG23C2      RG23C part II number range object
    J_1IRG23D        Folio Numbers for RG 23D
    Thanks
    G. Lakshmipathi

  • Number range in cancelling excise invoice

    Hai Gurus
    wats the number range object for cancelling excise invoice???
    regrds
    Vibhu

    Dear Vibhu,
    There is no number range object for cancellation of excise invoice.
    for excise invoice number range object is for local:J_1IEXCLOC
    when cancelllation for excise invoice system geneate internal number range number.
    for internal number range object is :J_1IINTNUM
    for your better understanding find the folloing number range objects
    J1I9 Maintenance for Number Range Object
    J_1A_AAWBL Internal Way Bill Number for Asset Movements
    J_1ANUMBER Number range for additional Argentine document number
    J_1AOFFDOC Numbering Object for Official Documents
    J_1APRNTCH Number ranges for printing characters
    J_1BNFDOCN Nota Fiscal document number
    J_1BNFNUMB Nota fiscal number
    J_1I57FC 57FC Number Range Object
    J_1IARE1 ARE1 Doc No object based on Series Group
    J_1IARE3 ARE3 Doc No object based on Series Group
    J_1IBOND Excise Bonding: Bond number object
    J_1ICERT Withholding Tax Certificates (India)
    J_1ICHLNNO Internal number range for challans
    J_1ICONPLA Consolidated PLA serial no. generation
    J_1IDEPINV Excise Invoice Number for Depot Invoices
    J_1IEXCEXP Export excise invoice number range
    J_1IEXCINV Excise invoice number **
    J_1IEXCLOC Local excise invoice number range *******
    J_1IEXCTST Excise invoice with intervals
    J_1IEXINEX Excise invoice number for export
    J_1IINTNUM Internally document number to be generated
    J_1IINTPR2 Dispatch serial number
    J_1ILIC Excise Bonding: License number object
    J_1IPLA2 PLA part II number range object
    J_1IRG1 RG1 Number range object
    J_1IRG1_T No. Range for RG1 - Excise group / Material
    J_1IRG23A1 RG23A part 1 no. range object
    J_1IRG23A2 RG23A part II number range object
    J_1IRG23C1 RG23C part I number range object
    J_1IRG23C2 RG23C part II number range object
    Regards,
    NAr

  • Same number range for two different series groups?

    Dear all,
    There are two scenarios
    1.Normal export under bond case, series group is 20 and number range maintained,running number is 300016
    2.Another scenario,where ARE1 document generation for Deemed exp customer(already customised) , series group is 30.
    But, client requirement is , for this second scenario also, system should pickup running number range of series group 20(under bond case)  as per excise legal requirement
    Ie running number is for series group 20 is 300016
    For the above deemed exp case (second scenario)it should pickup 300017
    And again when they do under bond case(first scenario), it should pick up 300018 like that
    Is it possible to maintain the same number range for two different series groups(20 and 30)?
    Even if you maintain the same number range for 30, as per running number range of 20
    Will the system update simultaneously the same number range for 20 and 30 series groups?
    Please suggest the way.

    With two different series groups, it is not possible to have the same number range. Even if you maintain it, they will be treated independently.
    Normally, you should not use different series groups if the same number range has to be used. In fact, the concept of series group has been developed to ensure that number ranges can be maintained separately.
    Regards,
    Aroop

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

Maybe you are looking for