<?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: Help on number range! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139830#M114260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'NR_RANGE_NR' is the number range that must be maintained in tcode SNUM.&lt;/P&gt;&lt;P&gt;CHECK THIS .. FOR MORE DETAILS &lt;A href="http://www.sap-img.com/ge003.htm" target="test_blank"&gt;http://www.sap-img.com/ge003.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="181531"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2006 10:45:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-20T10:45:43Z</dc:date>
    <item>
      <title>Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139826#M114256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have questions on number range.&lt;/P&gt;&lt;P&gt;the FM 'NUMBER_GET_NEXT' has an import parameter:NR_RANGE_NR&lt;/P&gt;&lt;P&gt;what it means.I checked the transaction 'SNRO',but still not clear about this.&lt;/P&gt;&lt;P&gt;Furthermore,is there any FM that can get the defined number range information:such as 'NR_RANGE_NR','from number', 'current number' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139826#M114256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139827#M114257</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: NUMBER_GET_INFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139827#M114257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139828#M114258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi liying,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. OBJECT -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt;   Number Range&lt;/P&gt;&lt;P&gt;   One---&amp;gt; Many&lt;/P&gt;&lt;P&gt;2. This is the hierarcy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For each object, there can be multiple&lt;/P&gt;&lt;P&gt;    number ragne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. IN SNRO,&lt;/P&gt;&lt;P&gt;   click on edit,&lt;/P&gt;&lt;P&gt;   a new screen will come,&lt;/P&gt;&lt;P&gt;   click on 'Number Ranges'&lt;/P&gt;&lt;P&gt;   then press 'Intervals'.&lt;/P&gt;&lt;P&gt;5. U will be able to see all intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This interval needs to be / may need to be&lt;/P&gt;&lt;P&gt;   hardcoded in the program&lt;/P&gt;&lt;P&gt;   depending upon the scenario.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mittal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139828#M114258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139829#M114259</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;In FM documentation it is clearly Mentioned ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please read the FM documentation..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number range number&lt;/P&gt;&lt;P&gt;The number range number clearly identifies a number range interval for an object/sub-object. For types 1 and 4, the number range number is allocated manually via the maintenance dialog. For types 2, 3 and 5 to 8, the allocation is automatic: The number range number is assigned to the elements via the group table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: RC         LIKE INRI-RETURNCODE,
      NUMBER(10) TYPE C.

   CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING OBJECT          = 'HUGO'
                    NR_RANGE_NR     = '01'
        IMPORTING RETURNCODE      = RC
                    NUMBER          = NUMBER.

   CASE RC.
     WHEN ' '.
*      everything o.k.
     WHEN '1'.
*      the assigned number lies in the critical area.
     WHEN '2'.
*      this was the last number, next time the first number
*       will be assigned
   ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139829#M114259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139830#M114260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'NR_RANGE_NR' is the number range that must be maintained in tcode SNUM.&lt;/P&gt;&lt;P&gt;CHECK THIS .. FOR MORE DETAILS &lt;A href="http://www.sap-img.com/ge003.htm" target="test_blank"&gt;http://www.sap-img.com/ge003.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="181531"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139830#M114260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139831#M114261</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;thanks for your info.&lt;/P&gt;&lt;P&gt;To max bianchi,&lt;/P&gt;&lt;P&gt;actully I want to get parameter 'NR_RANGE_NR' as output.The FM you gave is the one requirs this parameter.So it is not the one I want:-(&lt;/P&gt;&lt;P&gt;To Amit Mittal  ,&lt;/P&gt;&lt;P&gt;what did you mean ?Actually I want to know what is 'NR_RANGE_NR'(Number range number:what does this mean),what the value '01' or '02' mean?How can I get the value of this parameter via any FM,or if it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139831#M114261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139832#M114262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay Babu Dudla  and Ashok Kumar Prithiviraj  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I get the point!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139832#M114262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139833#M114263</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;If you want to know NR_RANGE_NR you give us more informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That parameter depends on the process you're analyzing, so you have to know the object of number runge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know the number range for FI document, you need read the master table of FI type document (field T003-NUMKR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there isn't a fm can have that parameter as output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to read directly NRIV table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139833#M114263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139834#M114264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that means the value for 'NR_RANGE_NR' can not be set freely,it depends on process.&lt;/P&gt;&lt;P&gt;If I set the value '01' to it instead of the correc one '02',what will happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have little idea about this.&lt;/P&gt;&lt;P&gt;Actually I just want to assign a sequence field for my table,in order to let it be unique I use number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139834#M114264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T11:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139835#M114265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Liying,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NR_RANGE_NR is used when u have multiple number ranges running for different intervals. For e.g&lt;/P&gt;&lt;P&gt;u have diferent customer account groups like sold to party, Bill to party etc. For each customer account group you can have a separate number range running. So 01 for sold to party 02 for bill to party etc... so when u are generating next number u will have to specify whichnumber range to use and thia is where this field is used.. so if you are creating next number for Sold to party u will pass 01 to this field in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139835#M114265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T11:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139836#M114266</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;Not exactly! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the key of NRIV table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- OBJECT: it means the process where a certain number range has to be used. For example: RV_BELEG is for sales orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- SUBOBJECT: it means the other object to allow several ranges for the same process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exaple in FI: it can define several number ranges in order of company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJECT = RF_BELEG&lt;/P&gt;&lt;P&gt;SUBOBJECT = Company code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have to know these two data because they define the process where your range has to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you can freely define NR_RANGE_NR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to use an your own number range, you have to create an your object and, if it needs, subobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139836#M114266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T11:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139837#M114267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang, &lt;/P&gt;&lt;P&gt;'NR_RANGE_NR' is the key which determines what number range u want to pick up ur number from.&lt;/P&gt;&lt;P&gt;eg, goto transaction SNRO, enter RV_BELEG as object --&amp;gt;Number Range --&amp;gt; Intervals --&amp;gt; u ll see a screen with some ranges. The first column ( No. ) is the NR_RANGE_NR value that this function module takes as input. U also see From number, To number &amp;amp; Current number. These values are attributed to this particular no. So, the current number holds the latest no. in the number range and when u call this FM NUmber_get_next with the  'NR_RANGE_NR'  value, it throws up the next number.&lt;/P&gt;&lt;P&gt;hope i explained u a bit abt the concept.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139837#M114267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T11:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139838#M114268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u want to use it for ur own number range what u can do is create an entry in SNRO with ur own object name and create Number range for 01. You can then pass this number to the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139838#M114268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T11:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help on number range!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139839#M114269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;&lt;P&gt;I got the point!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Liying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-number-range/m-p/1139839#M114269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:01:49Z</dc:date>
    </item>
  </channel>
</rss>

