Maintenance dialog with Number Range Object

Hello Experts,
i want to create a maintenance dialog with some fields for maintain a db table. In this field i have a id. This i should increment automatically like a Number Range Object. How can i do this.
E.g.
id    name
1    manfred
2    steve
When i will write a new name i only want to write the name not the id. The id should be the 3 in this case automatically. Can anybody say how i can do this?
Regards
Chris

I would guess you can create a number range object and then use the NUMBER_GET_NEXT FM to get the next number as part of your event (before saving like event 01 or other events as per your requirement) ...
Check out the following links which talks about making field READ only
HOW TO MAKE FIELDS AS READ ONLY IN TABLE MAINTAINANCE
and also the wiki entry on table maintenance
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609

Similar Messages

  • Number Range Object

    Hi
    During data extraction im getting the following error message
    "Error calling number range object ZMATNO for dimension D2"
    pls help me out.. how should i proceed from here...
    Thanks in advance,
    Sowdha.

    Hi Sowdha,
    First any way you have to correct the number range interval using RSRV. If it reports error with number range interval for this particular dimension.
    (RSRV should report error when you check the dimension)
    The reason(s) for the error could be:
    1. The number range interval for this dimension is "Buffered"
    2. There are not many "Dialog processes" available in the system
    To avoid such error:
    1. restrict the number of parallel processes while loading the data using the option
        "PSA and then into Target"
    2. or make sure that sufficient number of dialog processes available at the time of  
        loading
    Check the note "708297" for details why the error occurs though it is not directly pointing to Dimension ID number ranges, the explanation suits your problem also.
    Assign points if this helps.
    thanks
    sarma

  • Number range object for CS order

    Hi,
    I have created CS order type and am trying to assign to the corresponding notification type, the system throws error as " number range object AUFTRAG does not exist. But i checked in SNRO the same object is available. What and where i need to do in the spro for making this assignment.
    regards,
    Ram.

    Check with following Tcode and check under respective groups, by clicking on Group button.
    IW20 - Number range for Message
    OION - Order Number Range
    If you still not found the correct number range, then you are requested to look in to Plant Maintenance and Customer Service in SPRO.
    Hope this can assist you
    Thanks & Regards
    JP

  • Interval 01 was not created for number range object HRTEM_REFN

    Dear expert!
    Now, I'm getting some issues in Training and event management module.
    - The first, I created business event
    - Second, I process to book for business event by tcode: PSV1 --> book --> book/payment info --> activity allocation.
    But when I was booking, the system displayed error: "Interval 01 was not created for number range object HRTEM_REFN"
    Help me, please!
    Best regards, Huy!

    Go to the customization as below
    Training and event mgt>Basic settings>Number range maintanence>Define number ranges for External operation
    and maintain number ranges as 01 Internal
    Hope ur problem will solve
    with regards
    partha

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

  • How to find out the Number range object for Incident number

    How to find out the Number range object for Incident number ?
    CCIHT_IAL-IALID
    regards,
    lavanya

    HI, an example.
    data: vl_num type i,
          vl_char(6) type c,
          vl_qty type INRI-QUANTITY,
          vl_rc type INRI-RETURNCODE.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '01'
        OBJECT                        = 'ZRG0000001'
       QUANTITY                       = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = vl_num
       QUANTITY                      = vl_qty
       RETURNCODE                    = vl_rc
    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 <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    vl_char = vl_num.
    write vl_char.
    Regard

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

  • 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

  • Number range object missing NRIV and cant activate IOBJ during import

    Hi,
      We have a number object RS_OBJNUMG in BW used for many infoobjects.  However object doesnt exists in table NRIV and import for infoobjects are failing with error:
    Interval 01 of number range RS_OBJNUMG is missing
    message R7453
    I thought that as when infoobjects are created they get automatically assigned to number range....
    Can somebody help?
    thanks

    hi,
    check if the similar problem
    Error calling number range object 0MATERIAL for dimension D4 ( )
    try transaction rsrv ? >> all elementry tests >> master data >> compare number range and maximum sid >> choose the infoobjects>> execute. press button 'correct error' if any error exists.
    also try >> all combined tests >> master data >> check master data for characteristics.
    hope this helps

  • 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

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

  • Number Range Object maintained programatically

    Hi,
    I have custom number range object. I need to maintain this by programatically and NOT using transaction code SNRO. (ie create new instance, maintain Maximum number , delete instance etc)
    Anybody having a piece of code or info on this ?
    Your help will be appreciated.
    Thanks
    Sa_R

    hi Sa_R,
    u can try using the "ABAP Debugger",
    this transaction use the program "SAPMSNUM", go to SE80 and Display the Program, it's using the Function to show / edit the range's.
         CALL FUNCTION 'NUMBER_RANGE_UPDATE_INIT'
              EXPORTING
                 OBJECT           = OBJECT
              EXCEPTIONS
                 OBJECT_NOT_FOUND = 1.
         IF SY-SUBRC NE 0.
            MESSAGE A010 WITH OBJECT.
    maybe it can help u.
    Regards
    Allan Cristian

Maybe you are looking for

  • Task Scheduler - Bad login when using the correct password

    Greetings, I have been working an issue with Task Scheduler for a while now. I have done the forum rumble as well and looked at most if not all the posts to no avail. So here is my setup is on Server 2008 R2 SP1: I have a service accounts, we are loo

  • Exported iMovie doesn't run

    The problem occurs when I compose an iMovie (Version 6.0.3) on my computer(G4,OS X 10.4.11) hard disk and then move it to an external hard disk (My Book, 1 TB). Although the clips on the movie track and the clip board on the EHD appear exactly as the

  • ITunes 11 not sorting multi-disc audiobooks by disc number

    I just updated to iTunes 11, and for some reason, my multi-disc audiobooks are not being ordered by disc number in the Books view. Instead, it goes track 1 of disc 1, track 1 of disc 2, etc. The tracks have the disc numbers in their metadata, so why

  • Problem when saving a project in Project Buider

    Hello masters, I am having a trouble when doing practice for example ETO from http://help.sap.com/saphelp_46c/helpdata/en/e0/10a837a703934de10000009b38f8cf/frameset.htm When I created a project using Standard project T-20000, I could not save my proj

  • PDF preview handler

    Can someone please help.  Since updating to Adobe X1 on a windows 8 system, some emails with an attached PDF file will not open.  Keeps coming up with the error 'PDF preview handler' Thank you