<?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: Doubt in document no Generation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-document-no-generation/m-p/3692562#M889180</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;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data  : gexno(10).
call function 'NUMBER_GET_NEXT'
                exporting
                  nr_range_nr             = '01'
                  object                  = 'ZGPNO'
                importing
                  number                  = gexno
                exceptions
                  interval_not_found      = 1
                  number_range_not_intern = 2
                  objec
                  t_not_found        = 3
                  quantity_is_0           = 4
                  quantity_is_not_1       = 5
                  interval_overflow       = 6
                  buffer_overflow         = 7
                  others                  = 8.
              if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tcode for creating Number range oblect : &lt;STRONG&gt;SNRO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBLECT EX : ZGPNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Number ranges as u wish like&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;     -     &lt;STRONG&gt;400000&lt;/STRONG&gt;     -    &lt;STRONG&gt;499999&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 11, 2008 5:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2008 09:56:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-11T09:56:19Z</dc:date>
    <item>
      <title>Doubt in document no Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-document-no-generation/m-p/3692561#M889179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Right now i am working in Dialog Programming.Material is transfered from &lt;STRONG&gt;PointA&lt;/STRONG&gt; to &lt;STRONG&gt;PointB&lt;/STRONG&gt; and at PointB they are scanning the material using the barcode scanner.&lt;/P&gt;&lt;P&gt;                     Once they scanned all the material and save &lt;STRONG&gt;i should create a Document No ( between a range of 40000-49999).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      I need clarrifiacation on how to generate the document number ??*&lt;/P&gt;&lt;P&gt;                &lt;STRONG&gt;is there any function module to read last document no ??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-document-no-generation/m-p/3692561#M889179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T08:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in document no Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-document-no-generation/m-p/3692562#M889180</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;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data  : gexno(10).
call function 'NUMBER_GET_NEXT'
                exporting
                  nr_range_nr             = '01'
                  object                  = 'ZGPNO'
                importing
                  number                  = gexno
                exceptions
                  interval_not_found      = 1
                  number_range_not_intern = 2
                  objec
                  t_not_found        = 3
                  quantity_is_0           = 4
                  quantity_is_not_1       = 5
                  interval_overflow       = 6
                  buffer_overflow         = 7
                  others                  = 8.
              if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tcode for creating Number range oblect : &lt;STRONG&gt;SNRO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBLECT EX : ZGPNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Number ranges as u wish like&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01&lt;/STRONG&gt;     -     &lt;STRONG&gt;400000&lt;/STRONG&gt;     -    &lt;STRONG&gt;499999&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 11, 2008 5:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 09:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-document-no-generation/m-p/3692562#M889180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T09:56:19Z</dc:date>
    </item>
  </channel>
</rss>

