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

Similar Messages

  • 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 the data for custom objects in pList

    Hi,
    I am new in developing on iPhone and I don't know much about this area. I would like to ask a question. I couldn't find the answer on this question in apple documentation but I hope Internet community will help me.
    Lets say I have a class called classA. The classA has 2 public properties (or fields):
    *int customIndex*;
    and
    NSString *customTitle;
    My view controller class showMeSomething has a property NSArray which holds the objects of type classA. I would like to load the array from the plist resource file. How do I edit the resource file with initial values or how do I know the format of the plist which can be loaded from using mainBundle for my array of custom objects?
    Thanks!

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • 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

  • Creation of Unique Number Ranges for Organizational Objects

    Hi Gurus,
    As per our client's requirements, We need to create unique number ranges for Organizational Objects such as O,S,P to distinguish based on the Object ID. Could you please help me out to create the same.
    And also to create unique number ranges for Personnel Development Objects such as QK & Q.
    Thanks in Advance
    Regards
    Vinoth Kumar.R

    Hi,
    To maintain object specific number ranges, go to customising node Personnel management --> Org. management --> Basic settings --> Number range manitenance --> Maintain Number ranges
    Here there will already be a default entry as $$$$.
    To create different range for object say O you can use the following options:
    Create entry as $$O - number range applicable to all Org units across all plan versions.
    Create entry as 01O - number range applicable to all Org units under plan version "01"
    Then under Interval maintenance create the desired number ranges under IN for internal or EX for external (check the external tick box for external number ranges)
    In the similar manner you can create the number ranges for objects C, S , Q & QK.
    Hope this is helpful.
    Regards,
    Shreyasi.

  • Different Number range for different objects

    HI Gurus
    Could you please explain how can we make different Number range for different objects(O,S,P).Can we do with standards or we can go for UserExit??.
    Your early Advise will be appreciated.
    Thanks
    Chandra

    Hi Chandra,
    SM31 -> T77IV : 01S -> Number Range Maintenance.
    (or SPRO -> Pers Man -> Org Man -> Basic Settings -> Maintain Number Ranges)
    For the subgroups
    01C (plan variant 01, Object type C) Job
    01O (plan variant 01, Object type O) Org unit
    01S (plan variant 01, Object type S) Position
    Define the following number ranges respectively.
    (EX 60000000 69999999)
    (EX 70000000 79999999)
    (EX 80000000 89999999)
    Regards,
    Dilek

  • 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

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

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

  • Number range for customer

    Dear Friends,
    How sud I maintain number range for the customer?....

    Hi
    No ranges are defined customers account groups in t code XN01 and
    assigned to the respective account group in  t code OBAR
    Img-financial accounting (old/new both you can use)-accounts receivable and accounts payable--customer accounts-master data----preparations for creating customer master data
    (The whole controls you can see here under this)
    Here first you will define your account group (for field selection)
    1. T code OBD2 define  account groups with screen layout (customer accounts) activity
    then you will define no ranges for your account group
    2. T code XN01 define no ranges for customer account groups
    then you will assign no ranges for your respective account group
    3. T code OBAR assign no ranges for account group
    You have to go to change intervals and define your pwn available intervals and then assign them to the respective account group
    So while you create a customer in XD01 in the respective account group that no range will be automatically assigned if it is internal or we can give our no if it is external
    Note if you define a new account group then you have to define partner functions also in img-sd-basic functions-setup partner determination---setup partner determination for CMR apart from the three major activities listed above
    Regards
    Raja

  • 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

  • How to create a listener for an Object.

    Can someone help me with creating a listener for an Object?
    What is the easiest way?
    For example... if I have the following class.... how could I set up a listener to know if "attribute1" value has changed?
    class MyObject {
    private int attribute1;
    private int attribute2;
    // Set the attribute
    public void setAttribute1(int num) {
    attribute1 = num;

    This can be done but depends on your situation. give me some more details about the program.
    In the worst scenario, u can set up a thread watching this variable to check for its previous value. if the value is different, u can get an alert.

  • Set Up number range for OM Objects

    Hi All,
    I have set up Ext number range for Org Unit & Position.
    example: Org Unit 50000000 - 599999999 and i have uploaded data till 50000999.
    so it should be update current number as 50000999.
    but in my scenario its not updating current number still is '0'
    Please help me.
    regards

    Hi Waseem
    I am agree with your reply as I am doing the same thng. Currently I am using External Number Range as I am going to upload data and later will change into Internal.
    but my question is in Number Range Maintanace in Current Number should be update automatically or not.
    Example Org Unit from 500000000 - 59999999 and we uploaded data till 50000900
    so  in Current it should show 50000900
    NO      From Number     To Number      Current Number     EXT
    EX      500000000          59999999     0
    but in my case it is showing '0' in current number
    so Please confirm me whether it should update automatically, if yes pls tell me how
    regards,

Maybe you are looking for

  • Can you video-chat with more than one friend at a time in new Hello?

    Simply wondering if a group of people can video-chat together at same time, or just one-on-one?

  • Is this a GCC bug or what?

    Ok, i've written this simple program in C: #include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) char *c,*str,C[8]; unsigned short int D,y; time_t h; struct tm *t; h=time(NULL); t=gmtime(&h); str=asctime(t); sscanf(str,"%*s %*s %hu

  • Error Installing SAP Netweaver ABAP Trial version on windows XP

    Dear all, I was trying to install SAP NEtweaver 7.01 ABP trial version with MaxDB. DB installed fine but it failed later. Below is the error I am getting in the log file. I don't know what went wrong. I don't see it installed thus I can not uninstall

  • Java.lang.NullPointerException for FTP listening channel in B2B

    Hi, We are getting this error for FTP listening channel in B2B. These are the parameters details that we setup in B2B listening channel: Host Name ,Polling interval =60 ,Folder name =Get, username ,password,confirm password, minimum age =120000,Trans

  • Fixed size thread pool excepting more tasks then it should

    Hello, I have the following code in a simple program (code below)           BlockingQueue<Runnable> q = new ArrayBlockingQueue<Runnable>(10, false);           ThreadPoolExecutor newPool = new ThreadPoolExecutor(1, 10, 20, TimeUnit.SECONDS, q); for (i