<?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: Number range function module giving problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669919#M1447739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if your number range object is buffered. This would account for the jumps in the number range if your SAP system has multiple application servers. I.e. in that case each application server grabs a range of document numbers and then supplies those numbers from the buffer. Once the buffer is empty, the application server grabs another bunch of numbers. Thus when enabling number range buffering you can have gaps or sometimes also the nice relation &lt;EM&gt;higher document number = document created later&lt;/EM&gt; is no longer true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.: You could switch off the number range buffering (assuming that my explanation is really the cause of your symptom), but that is often not advisable, because it can introduce performance issues (especially when you need to grab lots of numbers). You can observe those problems usually in SM50 with processes hanging on table NRIV...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Mar 2010 07:21:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-09T07:21:53Z</dc:date>
    <item>
      <title>Number range function module giving problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669918#M1447738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DO 200 TIMES.&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             = prange&lt;/P&gt;&lt;P&gt;        object                  = pobject&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        number                  = pnumber&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;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have maintained a number range object internal in SNRO and using in the program to get the next numbers and also it will be automatically updated in the sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i do for say 10 times then all the numbers comes in sequence without any gap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i say do 200 times, the number sequence is showing gaps ie 1 to 80 its sequence and then there will be a gap and then 150-200 sequence and 300-420 sequence. In between gaps are occuring , Please tell me why so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this wont solve the purpose then i need to go for external number range, in this case how should i update the sap number range ie the number range object?is there any function module to update it ? or do i need to maintain a ztable for the number range and update there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 07:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669918#M1447738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Number range function module giving problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669919#M1447739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if your number range object is buffered. This would account for the jumps in the number range if your SAP system has multiple application servers. I.e. in that case each application server grabs a range of document numbers and then supplies those numbers from the buffer. Once the buffer is empty, the application server grabs another bunch of numbers. Thus when enabling number range buffering you can have gaps or sometimes also the nice relation &lt;EM&gt;higher document number = document created later&lt;/EM&gt; is no longer true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.: You could switch off the number range buffering (assuming that my explanation is really the cause of your symptom), but that is often not advisable, because it can introduce performance issues (especially when you need to grab lots of numbers). You can observe those problems usually in SM50 with processes hanging on table NRIV...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 07:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669919#M1447739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T07:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Number range function module giving problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669920#M1447740</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;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Properties of the Number Range Object - in Tcode SNRO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffering Number should be set to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This helps in to stop skipping of numbers at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 07:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/number-range-function-module-giving-problem/m-p/6669920#M1447740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T07:30:35Z</dc:date>
    </item>
  </channel>
</rss>

