Current number storing table for number ranges

Hi all,
    Can any one tell me which table stores the current number used for a Number range object.
My requirement is not to skip even a single number in Number Range.
Thanks in advance.

Gautham , I'm not disagreeing with you as Im not sure abt this, but I do remember a requirement similar to this few years back .As long as the SO is not saved , I believe we can get this number back.
Its weekend today in this part of the world so I dont have SAP system to check but I will get back to you tomorrow hopefully with a solution.
Mathews

Similar Messages

  • Error number assignment table pointer (no.range object HRTABNR)  - LSO_PSV2

    Hi ALL
    On LSO_PSV2, when i create a course:
    Error number assignment table pointer (no.range object HRTABNR)
    Any ideas?
    Thanks in advance
    Sony

    Hi Sony,
    Please go to SNUM t-code and make sure there exists an interval for object HRTABNR.
    Regards,
    Dilek

  • Is there a maximum number of tables for a SELECT?

    I know that technically there is nothing preventing me from joining many tables. But I know there are other "limits" like memory, or processing time allowable. I've also read from Tom kyte's advice that as much as possible if it can be done in one SQL statement, do it in SQL. But is there a limit to this?
    I have 10 tables that I need to work with. 2 of these tables contain millions of records. At the minimum, I need to at least join 4 of these tables then I could loop for each record and perform processing with the other tables. I could actually join more than 4 tables but I'm wary if it could still cause the system to crash. I'm using BULK COLLECT with LIMIT 1000 to control the fetching. The columns I'm joining are mostly PKs of each table. There are some transactional processing needed so I can't totally avoid a loop.
    This is the logic:
    <Cursor with joining 4 tables>
    Loop
    Fetch cursor BULK COLLECT INTO nested table LIMIT 1000
    For each record Loop
    Per record processing. I'll use the record elements to query from the other 6 tables.
    End Loop
    EXIT WHEN cursor NOTFOUND
    END LOOP
    Is it advisable to transfer as many tables as I can in the outside loop so there would be less processing in the inner loop? Or can a query be too big that it is better to manage the number of tables in a SELECT?
    Thanks!
    Edited by: user12090980 on Jun 3, 2011 6:23 AM

    user12090980 wrote:
    I have 10 tables that I need to work with. 2 of these tables contain millions of records. At the minimum, I need to at least join 4 of these tables then I could loop for each record and perform processing with the other tables. I could actually join more than 4 tables but I'm wary if it could still cause the system to crash. I'm using BULK COLLECT with LIMIT 1000 to control the fetching. The columns I'm joining are mostly PKs of each table. There are some transactional processing needed so I can't totally avoid a loop.Well, the very same loop structure you code in PL/SQL to "manually join" the required data sets of the 10+ tables, is also implemented in the SQL engine. It is called a nested loop.
    So why think that your code can handle joining 10+ tables better than the SQL engine? Also consider the fact that the SQL engine has a number of other (more sophisticated) join algorithms it can use, like hash joins, merge joins and so on.
    The biggest problem with the nested loop algorithm is scalability. If you nest the loop 10 deep - then a single loop iteration more in the main loop, can cause a 1000's or even potentially million more iterations in total ("exponential" impact on the loops nested in it).
    So nested loop is at times the worse type of join algorithm to use. And IMO, always the wrong thing to code in PL/SQL - as PL/SQL code (irrespective of bulk processing) will always be inferior to the SQL engine when it comes to joining data.

  • Script name verstion number stored table name

    hi experts
    i want TABLE NAME of script name and verstion number are  which table stored .
    ps rao

    Hi srihari,
    Table which stores the name of scripts are TNAPR
    In version 4.6 it was saved in D010S and field name was 'prog'
    You can get all the objects in table TADIR(ecc6.0)
    regards,
    Ranveer.

  • Largest number of digits for NUMBER datatype?

    What is the largest length of a NUMBER that Oracle will "support"?
    The documentation says the following:
         Datatype Limits indicates:
             "Can be represented to full 38-digit precision"
         NUMBER Data Types indicates:
              "Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point."
    I realize if I define a column as simply NUMBER, I can insert numbers with a size up to 126 digits.  However, Oracle seems to only maintain the first 40 digits IN MOST cases.  The most number of digits it seems to allow is 40 before it starts to replace with 0's.
    With numbers that have more than 40 digits, Oracle will sometimes replace any numbers after the 38th digit with a 0 and other times will replace with 0 after the 39th or 40th digit.
    Therefore, what is the most number of digits we can have confidence in Oracle storing safely?
    This was the code I used for testing this process.
    create table max_num (num number);
    declare
      l_x number;
    begin
      for x in 1..200
      loop
        l_x := x;
        insert into max_num values (rpad(1, x, 1));
      end loop;
      exception
      when others then
        dbms_output.put_line('STOP: '||l_x);
        dbms_output.put_line(sqlerrm);
    end;
    select num, length(replace(num, 0)) from max_num;

    Hi,
    user109389 wrote:
    What is the largest length of a NUMBER that Oracle will "support"?
    The documentation says the following:
         Datatype Limits indicates:
             "Can be represented to full 38-digit precision"
         NUMBER Data Types indicates:
              "Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point."
    I realize if I define a column as simply NUMBER, I can insert numbers with a size up to 126 digits.  However, Oracle seems to only maintain the first 40 digits IN MOST cases.  The most number of digits it seems to allow is 40 before it starts to replace with 0's.
    With numbers that have more than 40 digits, Oracle will sometimes replace any numbers after the 38th digit with a 0 and other times will replace with 0 after the 39th or 40th digit.
    Therefore, what is the most number of digits we can have confidence in Oracle storing safely?...
    If the documentation says 38, then I'll say 38, too.
    If you put in a number greater than or equal to 1E39, then Oracle may round it to 38 significant digits; that is, the last digits you entered may get turned to 0's, or rounded up.

  • SAP table for material document/inventory document number range.

    Hi Gurus.
    Good day.
    Please help. What is the SAP table for number range? Thanks in advance.

    Hi Acel,
    The table NRIV should fetch you the data you are looking for.
    Regards,

  • Table for storing serial number data assigned in delivery doc

    Hi,
    What's the table linking the serial number with the delivery doc.
    I've found VBPM but it's not working at all.
    Thanks.

    What is the name of the field? Is it SERNR?
    You may be interested in these threads;
    [Serial number|Re: Serial Number Table]
    [serial number -function module|How to get serial numbers for materials in stock.]
    Regards,

  • 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

  • Query to find first and last call made by selected number for date range

    Hi,
    query to find first and last call made by selected number for date range
    according to filter:
    mobile_no : 989.....
    call_date_from : 25-april-2013
    call_date_to : 26-april-2013
    Please help

    Hi,
    It sounds like you want a Top-N Query , something like this:
    WITH    got_nums   AS
         SELECT     table_x.*     -- or list columns wanted
         ,     ROW_NUMBER () OVER (ORDER BY  call_date      ) AS a_num
         ,     ROW_NUMBER () OVER (ORDER BY  call_date  DESC) AS d_num
         FROM     table_x
         WHERE     mobile_no     = 989
         AND     call_date     >= DATE '2013-04-25'
         AND     call_date     <  DATE '2013-04-26' + 1
    SELECT  *     -- or list all columns except a_num and d_num
    FROM     got_nums
    WHERE     1     IN (a_num, d_num)
    ;This forum is devoted to the SQL*Plus and iSQL*Plus front ends. This question doesn't have anything to do with any front end, does it? In the future, you'll get better response if you post questions like this in the PL/SQL.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the SQL forum FAQ {message:id=9360002}

  • Table Material number range

    Dear All,
    What is the table-field for Number range obj. of  Material document created in OMBT?
    Regards,
    Indranil

    Hi indranil,
    Goto SE16N --> NRIV
    you can find every number range objects and details there.
    Hore this will helpful
    thanks & BR
    sandun

  • 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

  • Stored Procedure for Batch Number Format and Block Duplicate Batch Number

    Hi Experts !
    I am new one in forum asking question.. I want Stored procedure for Batch Number Format. I want fix one Batch number format in Stored Procedure.
    Example :
    My Batch number format Like  BATCH00001 - It should be first five digit is text format and next five is Numeric.
    IF create Goods receipt PO or Goods receipt stage I create batch number like BATCH 00001 or any other number means don't add that document and also duplicated batch number also does not allowed. please give me the solutions. I am sorry for my bad english .

    Dear Nagarajan K.
                         Thanks for your replay ..
    IF @transaction_type IN ('A','U') AND (@object_type = '106' )
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @batch = substring(@list_of_cols_val_tab_del, len(@item)+1, (CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,len(@item)+2)) - (len(@item)+1))
    --set @base =( select basetype from ibt1 where batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    set @count = (select count(*) from oibt quantity > 0 and where  batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    if @count > 1
    begin
    set @error = 1
    set @error_message = 'Please enter different Batch Code for batch ''' + @batch + ''' for item ' + @item 
    select @error, @error_message
    END
    END
                  I used above Stored Procedure. here we can use one batch number for different item but  i want to block one batch we should use one item and one time only after than we never use that batch number for same item and another item.
             After that I want format for Batch, we should follow unique Batch number for all items.

  • Maximum Number Of Columns For A OBIEE Pivot Table?

    Hi All ,
    What is the Maximum Number of Columns for a OBIEE Pivot Table? Also what is default size of columns set for Pivot view in OBIEE 11g?
    Thanks In Advance.
    Qujes

    Hi,
    You can increase the maximum columns in a view by add some tags to instanceconfig.xml file.
    check this...http://obiee101.blogspot.com/2008/02/obiee-controling-pivot-view-behavior.html
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 15, 2010 10:04 AM

  • Max number of columns in table for compression

    i was told that 256 columns is the max number in a single table for oracle to do compression on table. Can anyone confirm this ?

    I can't confirm it off the top of my head but if it is the case then it is documented at http://tahiti.oracle.com you can look it up yourself.
    What I do want to weigh in on is the insanity of a table with more than 256 columns. I consider any table with more than 50 columns suspect, more than 100 likely a strong indication that someone understands little about normalization. Anyone contemplating 255+ columns should have their fingers removed from their keyboard by force if necessary.

  • Which table tag number is stored after running post mass additions in FA

    Hi,
    could any one tell me, in which table tag number is get stored after running the post mass additions program in FA (R12).

    Hi,
    It will be stored in fa_additions_b.
    Thanks,
    Vinod

Maybe you are looking for

  • Mac Mini 2012 (new) - displayport daisy chaining.

    Does anybody know whether the TB controller on the 2012 (new) Mac Mini supports DisplayPort v1.2 daisy chaining? I am aware of the limitations of the current Apple TB display, but am wondering if a workaround would be to use display v1.2 panels. My g

  • SSL in Oracle SQL Developer?

    PCI DSS (related to protection of credit card data) requires that I have to implement a 2-factor authentication. The 2 factor authentication that I am going to implement is password protection and token encryption like SSL (secure sockets layer). Whe

  • VIEW XML IN SQL*PLUS

    how can we view xml on sql*plus? when xmltype is viewed on sql*prompt it shows incomplete xml. example: SQL> select xmlelement("ROOT",xmlforest(1 as A, 2 as B, 3 as C)) from dual; XMLELEMENT("ROOT",XMLFOREST(1ASA,2ASB,3ASC)) <ROOT> <A>1</A> <B>2</B>

  • Multi-lined form field?

    Hi there I just have a small question that I have been struggling with for ages! How do I create form field in InDesign for acrobat to recognize as a "comment" field, where you can write more than one line? I know I can draw a box in Acrobat, but I a

  • AM without session failover set up?

    Generally I have at least 2 servers for redundancy and plan 2 servers to host AM behind a load balancer. Unfortunately I am unable to support message queue and berkeley sleepycat DB which is required for session failover. So I am curious what the ses