<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Regarding Number Range Object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627977#M1441486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Share How did you resolved it, so that this thread will be useful for others who search for similar Issue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In SNUM Tcode Make No Numbers in buffer 0(Zero) and in Function Module Call set IGNORE_BUFFER = 'X'.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZREQ_NO'
ignore_buffer = 'X' " Add this and take F1 help on this parameter in SE37
IMPORTING
number = wa_req_header-req_no
iEXCEPTIONS
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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2010 04:06:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-22T04:06:21Z</dc:date>
    <item>
      <title>Regarding Number Range Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627976#M1441485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have query regarding  F.M CALL FUNCTION 'NUMBER_GET_NEXT'.&lt;/P&gt;&lt;P&gt;We are creating Material master using Z development and attaching materials to Request Number generated by F.M- NUMBER_GET_NEXT.&lt;/P&gt;&lt;P&gt;As per observation nowadays I found lots of numbers are missing generated by the F.M. NUMBER_GET_NEXT.&lt;/P&gt;&lt;P&gt;System is open to all users who can create materials. Upon clicking the SAVE button F.M. NUMBER_GET_NEXT is called. &lt;/P&gt;&lt;P&gt;e.g.  current number is :0000001233 next number generated is :0000001239 i.e . in between 7 numbers are missing why it happens so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F.M with foll settings:&lt;/P&gt;&lt;P&gt;Main memory buffering:        Ticked&lt;/P&gt;&lt;P&gt;No. of numbers in buffer:      10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NUMBER_GET_NEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      nr_range_nr             = '01'&lt;/P&gt;&lt;P&gt;      object                  = 'ZREQ_NO'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      number                  = wa_req_header-req_no&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      interval_not_found      = 1&lt;/P&gt;&lt;P&gt;      number_range_not_intern = 2&lt;/P&gt;&lt;P&gt;      object_not_found        = 3&lt;/P&gt;&lt;P&gt;      quantity_is_0           = 4&lt;/P&gt;&lt;P&gt;      quantity_is_not_1       = 5&lt;/P&gt;&lt;P&gt;      interval_overflow       = 6&lt;/P&gt;&lt;P&gt;      buffer_overflow         = 7&lt;/P&gt;&lt;P&gt;      OTHERS                  = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 04:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627976#M1441485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T04:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Number Range Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627977#M1441486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Share How did you resolved it, so that this thread will be useful for others who search for similar Issue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In SNUM Tcode Make No Numbers in buffer 0(Zero) and in Function Module Call set IGNORE_BUFFER = 'X'.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZREQ_NO'
ignore_buffer = 'X' " Add this and take F1 help on this parameter in SE37
IMPORTING
number = wa_req_header-req_no
iEXCEPTIONS
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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 04:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627977#M1441486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T04:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Number Range Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627978#M1441487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the following note for more information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://websmp210.sap-ag.de/~form/handler?_APP=01100107900000000342&amp;amp;_EVENT=REDIR&amp;amp;_NNUM=62077&amp;amp;_NLANG=E" target="test_blank"&gt;https://websmp210.sap-ag.de/~form/handler?_APP=01100107900000000342&amp;amp;_EVENT=REDIR&amp;amp;_NNUM=62077&amp;amp;_NLANG=E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of using number range buffering is improved performance on the application server.&lt;/P&gt;&lt;P&gt;The disadvantage (as you've found) is that you will often not have continuity in the number range.  If this is important (eg Financial documents which need to have continuous document numbers for audit) then you should bypass the buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 04:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627978#M1441487</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2010-02-22T04:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Number Range Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627979#M1441488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Transactions where you are supposed to get a continuous sequential number you are not supposed to use the buffering so please make the no. of records in buffer as 'ZERO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;'No. of numbers in buffer = 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 04:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627979#M1441488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T04:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Number Range Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627980#M1441489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All &lt;/P&gt;&lt;P&gt;First of all  "Thanks a lot for prompt response"&lt;/P&gt;&lt;P&gt;I checked it in SAP service marketplace and found the note (0000449030 and 0000062077) related to this issue wherein SAP says it's a drawback of Number range object. More  If anyone is more concerned about sequence of number range object then you must not user "Buffering" but on account of this you have to compromise with performance which is not recommended.&lt;/P&gt;&lt;P&gt;One imp thing I came to know that whenever your application sever is restarted or shut down then numbers in the buffers get flushed off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 05:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-number-range-object/m-p/6627980#M1441489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T05:13:51Z</dc:date>
    </item>
  </channel>
</rss>

