How to create Number Range

Hi All Sap Experts
Please tell me How to create Number Range
I tried with the Transaction Code " SNRO "
But Im getting The following error
Dialog box title : " Buffering Methods ".
Message in the Dialog box is :
   -Numbers may be lost!
   -Do not use for Financial accounting Documents!!
?. Do you want set this Buffering method?
And another error is :
Dialog box title : " Transport number range intervals "
Message in the Dialog box is :
     The number range intervals are not included in automatic customizing changes.
     Transport all changes made within range interval maintenance must be  
     triggered manually.
     In the initial screen for range interval maintenance function
<b>      Interval</b>              -->      <b>Transport</b>
     Please note the information that you get when transporting intervals.
So please tell me the solution for this error.
Thank you
Basu
Another is

hi,
Create number range object using OYSN.
Then call the following function modules.
FORM get_next_id CHANGING p_discrep.
  DATA: last_id LIKE zrecaudit-discrep,
        quant   LIKE inri-quantity,    "dummy
        code    LIKE inri-returncode.  "returncode
  CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
       EXPORTING
            object           = 'ZRECAUDIT'
       EXCEPTIONS
            foreign_lock     = 1
            object_not_found = 2
            system_failure   = 3
            OTHERS           = 4.
  IF sy-subrc = 0.
    CALL FUNCTION 'NUMBER_GET_NEXT'
         EXPORTING
              nr_range_nr             = '01'
              object                  = 'ZRECAUDIT'
         IMPORTING
              number                  = last_id
              quantity                = quant
              returncode              = code
         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.
    CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
         EXPORTING
              object           = 'ZRECAUDIT'
         EXCEPTIONS
              object_not_found = 1
              OTHERS           = 2.
  ENDIF.
ENDFORM.                    " get_next_id
<u><i><b>refer the links</b></i></u>
http://www.sap-img.com/ge003.htm
http://www.sap-basis-abap.com/sapmm009.htm
http://www.erpgenie.com/abap/code/abap33.htm
http://www.kabai.com/abaps/z26.htm
Rgds
Anversha

Similar Messages

  • How to create number ranges with "OK60" transaction or any other.

    Hello,
    I need to create a new number range to asigne to a document type , using transaction OK60 ( the error says this transaction).
    but I only can display with this transaction, and I would like to update.
    Is there any other transaction to do this , or is there any way to do this with this transaction OK60?
    Thank you very much.
    Kind regards
    Olga

    Hi,
    OK60 indeed is used for creating number ranges for FI/CO earmarked funds transactions. You should press on 'Pencil' button and create an interval. If for some reasons, you cannot do this via this transaction, try using SNRO transaction, with IRW_BELEG parameter. If this also fails, then apply to BASIS team to check your authorizations.
    Regards,
    Eli

  • How to create number range for custom object

    Hi all,
    I want to create number range for custom object or custom tables
    Thanks
    Hemalatha

    Hi,
       Thanks, I am able to create a number range for custom object through SNRO tcode.
    Thanks
    Hemalatha

  • How To create number range for custom BO

    Dear All,
    I have created a Custom Business Object and i have created its alternative key.. I want an Internal number range to be used against that alternative key.
    How do i achieve this functionality?
    Regards,
    Dhruvin

    Hi Dhruvin,
    Find the below discussion where I answered to generate number.
    Does anyone have sample code to auto generate Alternate key/ID field data
    in this example number will start from 1, you can enter your own starting number.
    If it help you or  have any doubt, let me know.
    regard
    Sunil

  • How to create numkr range in pe03

    hello experts
    how to create number range in pe03 when already some others number range is saved whether to delete the others ra nge  or create a new one under others. even after creating under otherwise it is showing as error

    Hi,
    Pls correct it T.code.. Number ranges will create in PA04 T.Code. not in PE03. PE03 for features. In PE03 - NUMKR  feature- will assign the default number range- for trigger automatic no. while hiring ee's.
    See, if already some number ranges saved into one number range, you can split it with other number range like;
    01 - 000001 - 100000
    Like in your system it was saved like above.
    now you want to split the above no. range to below number range. I hope you are expecting following way.
    01- 000001 - 50000
    01- 500001- 100000
    Regards,
    Devi.

  • Question: How to assign number ranges to the Official Excise Document Numbe

    Question: How to assign number ranges to the Official Excise Document Number
    Field name is: EXNUM, table name: J_1IEXCHDR
    SAP CIN
    Dear expert,
    I will briefly explain the scenario:
    I have created return po.
    Process MIGO w.r.t. return PO- Material document generated.
    Process: J1IS - excise invoice other movement create.
    --> Now I want to print the document --> I m trying with T-code J1IP --> entered all the required data --. Used out put type - J1I0
    But I am not getting the list of document for printing and even print is not coming.
    There is no print document getting for a printing.
    When I checked in an above said table (mentioned in question), I found that for transaction type OTHR, there is no number ranges defined for official document no.
    And because of this reason I m not getting any document in the print.
    Can you Pl extend Ur help and Pl suggest me where (path or transaction) the number ranges can be maintained for the official excise document No.
    Thanking you all n advance and expecting your earliest response.
    Regards
    om

    Dear Friend,
    J_1IEXCHDR this table stores the all the excise documents created while excise transactions are done ,
    for that Goto j1i9 or SNRO  in these transaction you maintiane the number ranges  for the
    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
    like these  lot of objects are there  for them u maintiane the no. ranges
    Regards
    Pramod

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • Not able to created Number Ranges for Asset Classes in AS08

    Dear Friends,
    I am not able create Number Ranges for Asset Classes in AS08.
    It is giving me an error message as company code does not exist.
    When I Check Consistency under path SPRO -> Financial Accounting -> Asset Accounting -> Preparing for Production Startup -> Check Consistency -> Overview Report: Company Codes. I am getting the following
    RSOL  Reliance Sealink One PLtd                                            
    CoCode no. alloc.    NKTR                                                
    Fiscal Year Variant  V3   Apr.- March, 4 special periods                 
    Start 2nd half month 00                                                  
    Transfer date        31.03.2006                                          
    Chart of dep.        TOLL Chart of Depreciation - For Highway Projects   
    Net worth tax        01   Book depreciation as per Compinies Act 1956    
    Enter net book value                                                     
    Status company code  2                                                   
    Current fiscal year  2007                                                
    Doc. type dep. pstng AF   Dep. postings                                  
    > Number range &1 in co.code &2 for doc.type &3 must be defined as internal
    Calc.insur.value                                                         
    Input tax exempt         
    If you see the above first two line you will find the difference is that Company code RSOL in the first line and NKTR company code in the second line.
    Actually CoCode no. alloc. has been wrongly copied as NKTR while copying CoCode it should be RSOL and not NKTR.
    I think because of this wrong allocation it is giving me an error in AS08. Also it is not showing me CoCode in drop down list in AS08.
    Please help me to resolve the problem.
    Thanks
    Rahul Jain

    Look in TC OAOB if the company code is assigned to a chart of depreciation

  • How to transport number range group Configuration in Material Master

    Hi,
    I have this query regarding how to transport number range group in material master from one server to another.
    Problem: There was no number range assignment done for a particular material type. So, i assigned the particular mat. type to a group which had some number range intervals with the help of T-Code MMNR.
    But when i want to transport this config. to other sever, it is only transporting the interval but not the assignment done to that group. In the menu bar only Interval transport option is there.
    Can anybody help me with this I hope the query is clear.
    Regards
    Vivek

    Hi,
    Number range objects can be transported using Workbench requests.
    Thanks
    Kishore

  • Create Number range

    I have to create a number range for OM ids . OM ids will be assigned to organistion units .  OM ids will be unique and cannot be assigned to more then one org units . Please tell me the steps to create Number range which should start with 10000 till 99999.
    Waiting for reply.

    Thanks Guys
      I had already done what 'Jatra Riwayanto ' suggested now . It is better if before getting the next number via FM 'NUMBER_GET_NEXT' we should lock the number range object using FM 'NUMBER_RANGE_ENQUEUE' and after getting the number unlocks the number range ob ject using FM 'NUMBER_RANGE_DEQUEUE'  .
    <b>Sample code</b>
    CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
    EXPORTING
    object = 'ZPOMID'
    EXCEPTIONS
    foreign_lock = 1
    object_not_found = 2
    system_failure = 3
    OTHERS = 4.
    IF sy-subrc = 0.
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    nr_range_nr = '01'
    object = 'ZPOMID'
    IMPORTING
    number = NEXT_NUMBER
    quantity = quant
    returncode = code
    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.
    CALL FUNCTION 'NUMBER_RANGE_DEQUEUE'
    EXPORTING
    object = 'ZPOMID'
    EXCEPTIONS
    object_not_found = 1
    OTHERS = 2.
    ENDIF.
    Thanks Buddies , full points awarded.

  • Creating number ranges in PRD

    Good afternoon,
    I understand it is advisable to create number ranges in each client.  When using SNRO in PRD we have to open the client via SE06 and SCC4.  We do not like having to open PRD client.  Is it possible to create number ranges in PRD without having to open client? 
    Regards,
    Steve

    Hi,
    Every team will have firefighter ID for such purposes.  Before logging to the user ID, you will be asked to maintain the reason for login.  So, all the changes made through firefighter ID is tracked.  So, check with your basis team to provide access for maintaining number ranges under this ID.
    Regards,
    P Gomatheeswaran

  • Create Number Ranges for Budgeting

    Hello Experts,
                            Can you please tell me what is the significance of "Create Number Ranges for Budgeting" in Customizing view of PS->Costs->Budget. ? Also, where does it impact ?
    Please help.
    Regards ,
    Ankur
    Edited by: ankur_sau on Feb 17, 2012 7:11 AM

    Hi,
    It refers that you can define your own number for budget documents which will be created on aloocation, supplement, transfer, release etc.. for the project.
    Plus for all types of budget transactions like allocation, supplement, transfer, release etc. range defined in 01 will be used.
    External number is not possible in this case.
    Impact is budget documents will be created with the defined number range in this step.
    Regards,
    Harsh.

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • How to change number range in solution manager

    Hi all,
    Recently we had upgrade of ST patch, after that our support message sequence got changed and now support messages are getting created starting from 1. We want to change the sequence(number range).
    how/where can i change the sequence of the support messages(number ranges).
    Thanks & Regards
    Nick Loy

    Hi Prakar,
    Thanks but as you told above, i am not able to change the number range 01 to 02 in SNRO.
    System is not allowing me to chagne the existing one.
    now my system has the details as below:in SNRO>>>>CRM_SERVIC>>>>
    01     0000000001     0000999999     780
    02     9999000000     9999999999     0         External
    I want to change the message sequence starting from 9999000001 which is in extenal number range.
    And one more thing, where can i find the number range which is being used for particular transaction?
    can you help me how to change?
    Thanks & regards
    Nick Loy

  • How to change number range for document type ?

    Dear All
    Experts
    How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as 
    Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
    Message no. FAGL_LEDGER_CUST093
    I have defined a leading ledger in system too with these settings
    1)     Define ledger for accounting.
    2)     Defining currencies for it.
    3)     Defining ledger group for the same.
    4)     Defining accounting principles
    5)     Assignment of principles to leading ledger.  
    Are there any extra settings required for leading ledger settings?
    I have some doubts those are :-
    How document types defined at ledger level?
    How to define them at leading ledger level?  (Like my case)
    Focus on this will be appreciable.
    Regards,
    Sharvari Joshi.

    hi ,
    The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the  number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
    coming to
    1.How document types defined at ledger level?
    2.How to define them at leading ledger level? (Like my case)
    Ans 1. please try defining document types for entry view in a ledger.
    path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
    upon prompt enter the ledger and go ahead creating the number ranges for the document types.
    Hope this helps.
    Regards
    amrutha

Maybe you are looking for

  • Can I use Icloud with 2 Iphones both registrated on the same apple ID?

    With the first it works but second iphone cannot connect to icloud.

  • Mavericks (10.9.1) blocking Java 7 update 51

    I am trying to play the NY Times Java Acrostic.  Every couple of months I have to update Java in order to get the applet to load (I get a message that my Java is out of date). This time I updated to Java 7 update 51, installed it, verified that it is

  • Macbook pro and two monitors

    Which macbook pro, if any, could handle two monitors for motion and FCP work?

  • Value Mapping issue in PI 7.4

    Hi All, We are working on value mapping in PI 7.4. We have a requirement where we should map same target value for different input values (n:1). Example: AA     10 BB     10 CA     30 CC     30 CD     30 BA     20 Could you please let us know what ar

  • Rewriting a select statement containing a correlated subquery

    Hi, I would like to rewrite the statement below to improve it's performance. Is it possible? *SELECT DISTINCT A.FIELD1           ,A.FIELD2           ,A.FIELD3           ,A.FIELD4           ,A.DATE_FIELD1           ,(SELECT SUM(B.NUMBER_FIELD1)