<?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: MIssing Number Range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792557#M1466196</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;Create the Number Range Object using SNRO tcode&lt;/P&gt;&lt;P&gt;and define/maintain the number ranges for that object using SNUM tcode&lt;/P&gt;&lt;P&gt;and then use the fun module NUMBER_GET_NEXT in the code to get the next continuous numbers for that field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code&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 = 'ZDOCNUM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUANTITY = '1'&lt;/P&gt;&lt;P&gt;SUBOBJECT = ' '&lt;/P&gt;&lt;P&gt;TOYEAR = '0000'&lt;/P&gt;&lt;P&gt;IGNORE_BUFFER = ' '&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;number = v_docno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUANTITY =&lt;/P&gt;&lt;P&gt;RETURNCODE =&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;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 05:58:04 GMT</pubDate>
    <dc:creator>former_member125931</dc:creator>
    <dc:date>2010-04-13T05:58:04Z</dc:date>
    <item>
      <title>MIssing Number Range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792554#M1466193</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;I need number range for between date wise. i use standard program 'RFBNUM00N' but this give whole year output. so i don't want i need date wise output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;I.Muthukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792554#M1466193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T05:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: MIssing Number Range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792555#M1466194</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;Use the Transaction SNRO to create the number ranges. If standard is not full filled you required create range yourself in SNRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792555#M1466194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T05:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: MIssing Number Range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792556#M1466195</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;i dont create i need report program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;I.Muthukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792556#M1466195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T05:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: MIssing Number Range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792557#M1466196</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;Create the Number Range Object using SNRO tcode&lt;/P&gt;&lt;P&gt;and define/maintain the number ranges for that object using SNUM tcode&lt;/P&gt;&lt;P&gt;and then use the fun module NUMBER_GET_NEXT in the code to get the next continuous numbers for that field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code&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 = 'ZDOCNUM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUANTITY = '1'&lt;/P&gt;&lt;P&gt;SUBOBJECT = ' '&lt;/P&gt;&lt;P&gt;TOYEAR = '0000'&lt;/P&gt;&lt;P&gt;IGNORE_BUFFER = ' '&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;number = v_docno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUANTITY =&lt;/P&gt;&lt;P&gt;RETURNCODE =&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;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/missing-number-range/m-p/6792557#M1466196</guid>
      <dc:creator>former_member125931</dc:creator>
      <dc:date>2010-04-13T05:58:04Z</dc:date>
    </item>
  </channel>
</rss>

