Problem of number range object

hi experts,
   the user use PA40 to record events and create an employee, the user wants the system to warn if the total number of employee beyond limits.
  so i found an exit 'PBAS0001' and implements it, if the total number beyonds limits, and popup to warn user and exit. But the number of employee is got from the number range object. when the program runs to the PBAS0001, the number range object has already add one, and next time when employee created, the employee number wouldn't be continuous.
  if the employee number must be continuous, so how to solve this problem? or is there other exit fm runs before the number range object adds? i found an exit named HRBAS00_STRUAUTH runs befor the range object but the necessary parameter is not all ready.
  hunger for your advices, and thanks a lot.

hi,
please describe in a more detailed way ....
when you start the transaction the numer is for examle 2000 you save the employee. And now you start your transaction again which number is shown now ?
regards

Similar Messages

  • Problem in Number Range - object RF_BELEG

    Hi,
    i Have error that    ....... For object RF_BELEG XXXX, number range interval 50 does not exist FBN1
    i have gone to FBN1 and even SNRO and gave this object.
    Number is already maintained there for 2010 for interval 50 but system still showing me error.
    Help Me !
    Regards,
    Pardeep Malik

    check fiscal year.  sometimes 2010 yr is defined s 2011.

  • 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

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

  • 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

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

  • Problem in number range assignment

    Hi All,
    we have requirement to create a number range object(SNRO). Using FM NUMBER_GET_NEXT creating numbers.
    Here i am facing problem, when  i  am executing FM directly it is getting next number. But it is not updating it as current number in number range object(SNRO). Sometimes i see it skip 5 number in between n update as current number(not in the sequence)
    if anybody worked on similor case, please revert bask when you find the time.
    Thanks,
    Madhavi
    Edited by: kishan P on Nov 23, 2010 2:22 PM

    It looks like buffer issue of number range.
    Do as following to come out form the problem.
    Goto SNRO and Enter the Number range name
    Click on Change.
    Then form Menu-> EDIT ->Buffering -> Select No Buffering..
    Also remove the number in buffer to 0 which is 10 by default.
    Save and Try now..

  • Number range object HRTR_PDOC : Interval not found

    Hi,
    I am doing Travel Mgt testing i got two problems
    1. Travel Policy is not taking when entering the expences
    2. when posting the doc to FI the error "Number range object HRTR_PDOC : Interval not found" is coming
    Pls suggest
    thanks in advance
    chandu

    Hi,
    Check table NRIV
    Regards,
    Manoj.

  • Number range object creation

    Hi,
    I've created my number range object in client 100.When I test it in client 100 it works fine.I'm using FM NUMBER_GET_NEXT.When I try to test in a test client 200 it gives me an error message 'ZBATCH_CLT, number range interval 01 does not exist'.What could be the problem?
    Thanks
    Stefan

    Hi,
    The number range itself is not client independent. Did you check SNUM for 'ZBATCH_CLT'? You might need to add interval 01 first.
    MdZ

  • Number range objects not maintained properly...??

    Am doing a Purchase Requisition for asset material. While saving the PR document am getting error like
    I have went to SNRO and checked asset number range object ANLAGENNR , there intervals are maintained. i couldn't go further with the issue, Can anyone help me with the solution please?
    Regards,
    Naveen

    Hi,
    Please
    1. Go to transaction code J1I9
    2. Give object name as BANF.
    3. Click on Number Ranges.
    4. Click on Intervals
    5. Maintain Intervals
    6. Save
    Hope, your problem has been resolved else revert.
    Regards,
    Tejas

  • ODS Activation Failure due to Number range object for characteristic ZTXLEV

    Hi
    I am having problem regrdng ODs actvtn failure,I am gettng Error mssge as Number Range Object for Char ZTXLEVAIN doesn't Exist
    can anyone help me
    thanks
    KINDLY SEND MAIL TO [email protected]
    srinivas

    HI,
    check this
    Error calling number range object 0MATERIAL for dimension D4 ( )

  • Transporting Custom Number range Objects

    Dear SRMers
    System Information: ECC 6.0,
    We created Z Number range objects for Eforms in ECC system A , created a Transport Request with the tasks containing the individual Number range objects and, released the transports in SE10 and transported them to ECC System B (with  Basis Admin help).
    After the moving the transports, we see the individual custom  objects in System B, but the number ranges defined  are missing for each object. The Basis admin tried couple of approaches but was not successful.
    If any one has come across, this problem, please advice.
    Points will be rewarded for answers.
    Thanks in advance,
    Best Regards,
    Bob

    Hi,
    In transaction SNRO enter the Z number range.
    Press the "Number Range" button (F7)
    Press Interval-->Transport.
    That should create a transport for you.
    Cheers
    Rob

  • 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

Maybe you are looking for

  • How to view a 'permanent doc' on the iPhone

    I have a subway map in .pdf format, zip code map .pdf again, and Word docs that I continually refer to. These docs dont need editing but are purely referential. Current solutions are not working well: a. email them to myself - but then they get lost

  • InDesign CS4: File names change to string of numbers

    Occasionally, one of our users will save an InDesign CS4 file, only to have the file name change.  For example, a file originally named "#kwn25501.bcbsNM.indd" was saved as "#kwn25501.bc157-1223857848." If the user is not aware that this has happened

  • Windows XP can't connect to the SMB service of the OS X 10.5.6

    Hello, I can't connect a XP to the SMB server OS X. The XP could see the other pc's in the network and when I share a folder I could access it from the mac enviroment. The 2 vista machines could access also without any problem. Only the XP is a probl

  • Display flickers lines and then dies black until device has hot temperature

    Hi Discussion, I have a very strange problem since approx 2 weeks. My PBG4 is working fine and it is a very nice device, but until it reaches it's working temperature it is playing around with the display. There are lines (horizorental) flickering ar

  • Interval race condition - AS3 bug??

    I have included the output and the two code segments that trigger the output. I do not understand how this could happen. Trace shows that clearInterval(19) occurs yet Wakeup seems to trigger spontaneously still trying to clearInterval(19). This occur