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.

Similar Messages

  • 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

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

    Hi experts,
    I need to populate two column in order to get waiting time, then i need to create minute range as below:-
    i ) less than 30 minute
    ii) 30 minute - 60 minute
    iii) 60 minute - 90 minute
    iv) more than 90 minute
    select TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'),count(TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))
    from visitlochis vlh
    where servicing_datetime is not null
    and arrival_datetime is not null
    AND servicing_datetime >= TO_DATE ('01/01/2009', 'dd/mm/yyyy')
    AND servicing_datetime <= TO_DATE ('10/01/2009', 'dd/mm/yyyy')
    and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))>=60
    and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))<=90
    group by TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99')
    Any advise and guidance is needed..
    Thanks in advance

    Hi,
    Welcome to the forum!
    What is the prupose of the WHERE -clause conditions:
    and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))>=60
    and (TO_CHAR(abs(vlh.SERVICING_DATETIME-vlh.ARRIVAL_DATETIME )* 1440,'99999999.99'))<=90? It looks like you're trying to only get waiting times between 60 and 90 minutes; but since you're comparing strings to numbers (the expressions to the left of the >= and <= operators are strings, but the expressions to the right are numbers) you might be getting something you didn't expect.
    If you want to assign one of the numbers 1, 2, 3 or 4 to each row, depending on its wait time, you could always use CASE, like this:
    CASE
        WHEN  vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME <  (1 / 48)  THEN 1  -- 1/48 day = 30 minutes
        WHEN  vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME <  (2 / 48)  THEN 2
        WHEN  vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME <  (3 / 48)  THEN 3
        WHEN  vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME >= (3 / 48)  THEN 4
    END     AS  wait_grpTo avoid computing the difference 4 times, you could do it once in a sub-query.
    In certain circumstances, you can do something a little shorter.
    For example, if servicing_datetime is never earlier than arrival_datetime, you can get the same results as above like this:
    1 + LEAST ( FLOOR ( ( vlh.SERVICING_DATETIME - vlh.ARRIVAL_DATETIME)
                / 48
              , 3
           )   AS wait_grp

  • 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 age range according to customer's requirement

    SAP delivered standard age range(0age_range) as below:
    1  <20
    2  20 - 29
    3  30 - 39
    4  40 - 49
    5  50 - 59
    6  60 - 69
    7  >= 70
    Cusomter's requirement:
    1     <=25
    2     26 - 30
    3     31 -35
    4     36 - 40
    5     41 - 45
    6     46 - 50
    7     51 - 55
    8     >= 56
    How to handle this case if we use 0age instend of fixed age range(0age_range). should we maintain this from external flatfile, if yes, please provider the format. Thank!

    Hi,
    You can write a routine in the update rules for the range as you mentioned.
    Plz find the below code which may help u...
    DATA: AGE TYPE 0AGE.
      IF AGE <= 25.
          RESULT = '1'.
      ELSEIF AGE > 26 AND AGE <= 30.
          RESULT = '2'.
      ELSEIF AGE > 31 AND AGE <= 35.
          RESULT = '3'.
      ELSEIF AGE > 36 AND AGE <= 40.
          RESULT = '4'.
      ELSEIF AGE > 41 AND AGE <= 45.
          RESULT = '5'.
      ELSEIF AGE > 46 AND AGE <= 50.
          RESULT = '6'.
      ELSEIF AGE > 51 AND AGE <= 55.
          RESULT = '7'.
      ELSEIF AGE >= 56.
          RESULT = '8'.
      ENDIF.
    Hope this helps u...
    Regards,
    KK.

  • How to create  no ranges extension

    Hi,
    I am already assigened no ranges for GL/KA/KR/KZ like
    GL for 1000-1999
    KA for 2000-2999
    KR for 3000-3999
    KZ for 4000-4999
    But now the situation is i am post the documetns up to last number.
    i am taken SAP standard no ranges for vendors like 15 for KZ and like 14,18.
    now the documents posted up to 1999,2999,3999,4999 So i want to extend the no ranges for these document what are the various types to extend the no ranges.
    Subbu

    HI
    Go to FBN1 and re-create the no ranges with
    GL for 5000-5999
    KA for 6000-6999
    KR for 7000-7999
    KZ for 8000-8999
    Hari

  • How to create extended range network using three apple airport extremes?

    Hello! The idea is, I want to use Apple routers to create a large range network for a hotel that has 300 FT Hallway. I have tried everything in the airport utility but nothing works.  The idea is, in the whole 300 FT hallway, i want to put three apple airport extreams. one in the middle of the hallway which will be connected to the modem, one on the each end of the hallway that will be connected to the middle airport extreme via eithernet or extend network range option from airport utility.
    Image shows, what I am trying to achieve.
    http://imageshack.us/scaled/landing/35/10e6.jpg
    These what I have tried so far. Airport extreme is refered here as "airport"
    1. Connect Airport 1 to modem, then on Airport 2 use extend network feature to extend the range of airport 1 network. This did not work. Airport 2 keeps on blinking yellow.
    2. Did same thing as step 1 but also tried it using ethernet cable going from Airport 1 in to Airport 2's ethernet inbound port.
    3. Connected modem to switch, from swith one ethernet cable goes in to Airport 1 and one cable from SWITCH goes in to the airport 2's ethernet port.
    Only thing that works is, if I connect ONLY ONE airport to the modem or the switch. I am not able to use two airport extremes together.
    Please advise what I can do using these or other apple products to have extended wifi coverage in the entire hallway.
    I, however do need to use three extremes as one is not enough to cover the area.
    Thank you.
    Hopefully some one can help me and correct me where I am doing something wrong.
    Thanks.

    Exactly what model extreme are you using??
    What device is being used as setup with airport utility?
    1. Connect Airport 1 to modem, then on Airport 2 use extend network feature to extend the range of airport 1 network. This did not work. Airport 2 keeps on blinking yellow.
    Amber blinking just means something needs adjusting.. it should still show up in the utility and you can find out what the extreme is complaining about. If not start over.. it is absolutely crucial you factory reset and start over.. the extreme must present as a new wireless device in wifi and then you can setup to extend the existing wireless.
    2. Did same thing as step 1 but also tried it using ethernet cable going from Airport 1 in to Airport 2's ethernet inbound port.
    This is a much better arrangement.. The Extreme plugged into the Modem.. what mode is it in? It must create a wireless network.. make sure the network name is short.. no spaces and pure alphanumeric.
    The extreme plugged into to give better range.. must be in bridge mode.
    It must create a wireless network of the exact same name.. exact same security settings and same password.
    Follow the instructions here if you do not follow.
    http://support.apple.com/kb/HT4260
    3. Connected modem to switch, from swith one ethernet cable goes in to Airport 1 and one cable from SWITCH goes in to the airport 2's ethernet port.
    This is the same configuration as 2. There is no difference where you put the switch.
    Only thing that works is, if I connect ONLY ONE airport to the modem or the switch. I am not able to use two airport extremes together.
    Setup according to the apple instructions for roaming network.. it will work.
    If it fails give us more info.. what model AE. etc.
    Also give us the IP address and screenshot of each units setup for wireless.

  • Bex: How to create a range on a DATE char

    Hi expert,
    into a query I haveat my disposal two date char: 0DATE1 and 0DATE2.
    I need to build a Restricted Keyfigure where using the char 0DATE1 as interval
    This interval must be as following: 
    range-low = 0DATE2
    range-high =0DATE2 + 5 (day).
    Is possible realize this type of range?
    Thanks for your cooperation.
    Claudia

    Hi,
    Simply build a Customer Exit variable on 0DATE1 and take the 0DATE2 as user input variable.
    Now in the customer exit variable under step I_STEP = 2.
    Read the value of I_T_VAR_RANGE table for variable 0DATE2 and populate the customer exit variable of 0DATE1.
    wa_data-low = wa_var_range-low.
    wa_data-low = wa_var_range-low + 5.
    wa_data-option = 'BT".
    wa_data-sign = 'I'.
    append wa_data to e_t_data.
    You will get the required range populated.
    Regards,
    Durgesh.

  • Thinking Cap's On Please: How to create a range in PL/SQL similar to C++

    Okay, I had to step on go "Whoa!"
    Goal: to write a segment of code that will detect and identify a value in a range and then replace it by the following progress on the next element. In other words range A . . Z, and value is current set to D. I want to detect "D" and UPDATE it to "E". I saw an example of using DECODE as follows:
    For example:
    You could use the decode function in an SQL statement as follows:
    SELECT supplier_name,
    decode(supplier_id,     10000,     'IBM',
    10001,     'Microsoft',
    10002,     'Hewlett Packard',
    'Gateway') result
    FROM suppliers;But, you need to still have logic increment the value within the range to the next higher value. Okay, it can be done, but seems like it could be painful without a build in Oracle function. The code that I must adapt is shown below where the AGL-X, or PGL-X will need to be incremented to AGL-Y, or PGL-Y. It might be easier to just use decode and hard fix 26 values for each if.
    declare
    cursor c1 is
    select * from alumni.amrexrt
    where amrexrt_pidm = 2895;
    cursor c2 is
    select * from alumni.amrexrt
    where amrexrt_pidm = 2895;
    amrexrt_rec     alumni.amrexrt%rowtype;
    r2              alumni.amrexrt%rowtype;
    begin
        for amrexrt_rec in c1 loop
        if (amrexrt_rec.amrexrt_exrs_code = 'AGL') then
        update amrexrt
            set amrexrt_exrs_code = 'AGL-X'
            where amrexrt_pidm = 2895
            and amrexrt_exrs_code = 'AGL';
        elsif (amrexrt_rec.amrexrt_exrs_code = 'MGL') then
        update amrexrt
            set amrexrt_exrs_code = 'MGL-X'
            where amrexrt_pidm = 2895
            and amrexrt_exrs_code = 'MGL';
        elsif (amrexrt_rec.amrexrt_exrs_code = 'PGL') then
        update amrexrt
            set amrexrt_exrs_code = 'PGL-X'
            where amrexrt_pidm = 2895
            and amrexrt_exrs_code = 'PGL';
        end if;
        Insert into alumni.amrexrt
            amrexrt_pidm,
            amrexrt_exrs_code,
            amrexrt_ext_value,
            amrexrt_ext_score,
            amrexrt_ext_level,
            amrexrt_activity_date
        Values
            amrexrt_rec.amrexrt_pidm,
            amrexrt_rec.amrexrt_exrs_code,
            amrexrt_rec.amrexrt_ext_value,
            '754',                                 --amrexrt_rec.amrexrt_ext_score,
            amrexrt_rec.amrexrt_ext_level,
            amrexrt_rec.amrexrt_activity_date
        end loop;
        for r2 in C2 loop
        dbms_output.put_line('PIDM: ' || r2.amrexrt_pidm || 'EXRS_CODE: ' || r2.amrexrt_exrs_code);
        end loop;
        --Rollback;
      end;In C++, you are able to specify a range and write it so the compiler can detect the position within the range. I don't or think that PL/SQL does this in the same way. Any thoughts? I am dry out of ideas.
    Edited by: Preston on May 3, 2011 12:05 PM

    Hi,
    Preston wrote:
    Very, interesting! Is there another way to utilize the first two lines without an "EXEC"? The security filter sniffs for EXEC outside of production and disables our connections.I used a bind_variable, :letters_in_order, just to make maintenance easier. In this simple example, that string was used twice; in your real application, you may need to use it more times. By setting a bind variable, I guaranteed that, if you needed to change the definition of :letters_in_order, you would only have to change the code in one place. If you have to make the change in several places, there's a chance that you'll miss one of those places, and that kind of mistake can be hard to find and fix.
    You don't have to use any kind of variable; you can hard-code the string literal 'KPCOFGS' everywhere I use the bind variable, for example:
    ...  || SUBSTR ( 'KPCOFGS'
                     , 1 + INSTR ( 'KPCOFGS' ... 
    The rest of this message shows different ways to use variables:
    (1) Bind Variable (but no EXEC)
    (2) Substitution Variable
    (3) Column
    <h3>(1) Bind Variable (but no EXEC)</h3>
    "EXEC stmt;" is equivalent to BEGIN stmt; END;/", so you can try:
    {code}
    BEGIN
         :letters_in_order := 'KPCOFGS';
    END;
    {code}
    The main query would remain exactly as posted earlier, with :letters_in_order.
    I don't see any point in blocking EXEC, but allowing this, and maybe your security mechanism doesn't allow it.
    <h3>(2) Substitution Variable</h3>
    You could try a substritution variable:
    {code}
    DEFINE letters_in_order = KPCOFGS
    {code}
    and, wherever I originally used :lettrs_on_order, use the substitution variable, inside single-quotes:
    {code}
    ... || SUBSTR ( '&letters_in_order'
         , 1 + INSTR ( '&letters_in_order' ...
    {code}
    Substitution variables are a much bigger security threat than bind variables, but that doesn't mean your system won't allow them.
    <h3>(3) Column</h3>
    The most promising approach (but perhaps the least efficient) would be to derive a column called letters_in_order right in the query. Here's one way:
    {code}
    WITH     got_letters_in_order     AS
         SELECT     code          -- and whatever other columns you need
         ,     'KPCOFGS' AS letters_in_order
         FROM     t
    --     WHERE     ...          -- if you need any filtering, put it here
    SELECT code
    ,     SUBSTR ( code
         , 1
         , INSTR (code, '-')
    || SUBSTR ( letters_in_order
         , 1 + INSTR ( letters_in_order
                   , SUBSTR ( code
                        , 1 + INSTR (code, '-')
                        , 1
         , 1
         )     AS new_code
    FROM got_letters_in_order          -- *** CHANGED ***
    {code}

  • Create no. range for excise group

    Plz suggest how to create no. range for excise group.
    Thanks in advance
    vibhuti

    DATA: spfli_wa TYPE spfli,
          r_carrid TYPE RANGE OF spfli-carrid,
          r_carrid_line LIKE LINE OF r_carrid.
    r_carrid_line-sign   = 'I'.
    r_carrid_line-option = 'BT'.
    r_carrid_line-low    = 'AA'.
    r_carrid_line-high   = 'LH'.
    APPEND r_carrid_line TO r_carrid.
    SELECT *
           FROM spfli
           INTO spfli_wa
           WHERE carrid IN r_carrid.
    ENDSELECT.

  • HOW TO CREATE EXTERNAL NUMBER RANGE IN OM

    HI ALL
    HOW TO CREATE EXTERNAL NUMBER RANGE IN OM
    PLEASE GIVE ME SPOON FEEDING
    IT IS VERY URGENT FOR ME
    PLEASE PLEASE AND PLEASE
    REGARDS

    ok i understood u want the img path for maintaing
    positions ,jobs , Org units
    Path:IMG->Personnel Mgmt->OM->Basic Setting->Maintain Number ranges.
    IMG go to Personnel Management -> Organizational Management -> Basic Settings
    -> Maintain Number Ranges.
    Select subgroup $$O to maintain number range for Org Unit and click on Number range Maintenance. Then click on change Intervals. Now you can create both internal and external number range for Org Unit according to your requirement.
    Similarly for Position select subgroup $$S and follow the same process.
    Edited by: Sikindar on Feb 7, 2008 11:23 AM
    Edited by: Sikindar on Feb 7, 2008 11:28 AM

  • How to create a number ranges in QM notification?

    Hi Exprets
    How to create a number ranges in QM notification?
    Please help me...
    Ram

    Deat Thyagarajan,
    Notification type 01
    Notification cat   05
    Parameters
    Notification origin General Notification
    Catalog profile SAPISR
    Early no.allocation  06  Number range
    My Notification type 01, I am assined 06 number range. 06 number range have limit 1-100000.
    I have used upto 100000. Now how I can extend my number limit.
    Thanks for support...
    Ram

  • How to create Alphanumeric Number Range

    Hello Experts ,
    I want to create a alphanumeric number range for vendor .
    Could you please give some information on the the format to specify in Number range transaction ?
    For Example :
    How do I create  CDPDM01DKK   vendor
    Regards
    Shashank

    HI
    create number ranges in XKN1.
    define A to ZZZZZZZZZ and click the the ecternal number range
    Then
    Assign the number range to vendor account groups.
    Check it out.
    Path: SPRO- SAP IMG- Financial accounting- Accounts receivables and payables- vendor accounts- master data - preparations of creating vendor master data - create number range for vendor accounts
    SPRO- SAP IMG- Financial accounting- Accounts receivables and payables- vendor accounts- master data - preparations of creating vendor master data - Assign the number range to vendor account groups
    Check it out.
    Regards,
    Raman

Maybe you are looking for

  • Expose doesn't work anymore. Please help!

    I recently installed the latest software update for my Macbook and just noticed that Expose no longer works. I tried changing the corner that would activate Expose but have had no luck in getting it to work. If anyone has any thoughts or suggestions

  • OBIEE 11g "WITH SAWITH0 AS" subquery factoring clause in the generated sql

    I've observed that the OBIEE 11g generates in the query log physical query using the WITH (sub-query factoring) clause to make the generated sql elegantly readable. This is great! Thanks for the developers. However I have some questions about this. _

  • Problems exporting PDF in CS5, text missing, images not transparent....

    I am using InDesign CS5 v7.04 on a Mac running 10.8.1. (This exact problem has happened to me in previous versions of ID as well though?) When I export a document to PDF and view in Preview OR place into another ID document, every other page has an i

  • HTTP adapter URL Parameter

    HI we are currently integrating a http to rfc connection with the URL in the format of http://sdn.sap.com?name=Joe&country=India we want to pass the url parameters name and country to a rfc in sap but we are having difficulties using the apply URL Pa

  • Easiest way to write XMP data or files into a PDF file

    Hi, I wrote a little Adobe Air application, which is intended to generate XMP files for being imported into PDF files. Now I'm searching for the most efficient solution to import these XMP files. I'd be happy if I could select a PDF file from my Adob