<?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: Call function NUMBER_GET_NEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040853#M719693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact, in fact previously already I have worked with this function and without problem, but it used a standard object, maybe the problem this of that side. First in the SNUM I indicate the name of the object to create, indicate the following characteristics:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Number length domain = char10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Warning = 5.0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;single those, I must indicate some other thing??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 15:49:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-30T15:49:49Z</dc:date>
    <item>
      <title>Call function NUMBER_GET_NEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040851#M719691</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;&lt;/P&gt;&lt;P&gt;The problem is with function number_get_next,because it does not give back the value to me that I hope, it does not increase of 1 in 1, it is increased of 65 in 65 . It already cleans to the variables and nothing, it already executes the function separately and of this form if it works correctly. verify if the values that are indicated to him are the correct ones and if they are it.&lt;/P&gt;&lt;P&gt;In fact not if the error this in the object that use, because it is an object Z that I am created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I code that I have is the following one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:       zobjeto like inri-object,&lt;/P&gt;&lt;P&gt;             zrango  like INRI-NRRANGENR,&lt;/P&gt;&lt;P&gt;            znumero(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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             = zrango&lt;/P&gt;&lt;P&gt;        OBJECT                        = zobjeto&lt;/P&gt;&lt;P&gt;        QUANTITY                     = '1'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        NUMBER                       = znumero&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;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&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;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And I cannot do debug because this code is within user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 15:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040851#M719691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T15:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Call function NUMBER_GET_NEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040852#M719692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Before using this code you have create a Number range object and to define the number ranges using SNUM and SNRO tcodes&lt;/P&gt;&lt;P&gt;then you have to use that particular object which you have defined here&lt;/P&gt;&lt;P&gt;then as per the number range defined it skips the numbers&lt;/P&gt;&lt;P&gt;here you have to pass that OBJECTNAME, then only it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 15:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040852#M719692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T15:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Call function NUMBER_GET_NEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040853#M719693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact, in fact previously already I have worked with this function and without problem, but it used a standard object, maybe the problem this of that side. First in the SNUM I indicate the name of the object to create, indicate the following characteristics:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Number length domain = char10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Warning = 5.0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;single those, I must indicate some other thing??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 15:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-number-get-next/m-p/3040853#M719693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T15:49:49Z</dc:date>
    </item>
  </channel>
</rss>

