<?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: generating series in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182930#M464453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the type you have used to store that variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2007 11:27:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-25T11:27:03Z</dc:date>
    <item>
      <title>generating series</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182929#M464452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to generate series for text symbols.When the count gets more then 999 the code is going in dump.Can ne1 suggest m how the series increases with combn of alphabet  and number with length 3.&lt;/P&gt;&lt;P&gt;eg:a01,a02.......b23....e99.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182929#M464452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T11:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: generating series</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182930#M464453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the type you have used to store that variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182930#M464453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T11:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: generating series</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182931#M464454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Abhishek, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I got your doubt . why d't you try like this . &lt;/P&gt;&lt;P&gt;Generate a Number range in SNRO  with range till 999. next use this number range in a FM NUMBER_GET_NEXT . this FM is used to get the nest number like 01, 02, 03 ... and then after you get the number write the logic to concatenate the the alphabets you want . i think this will solve your problem .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   one sample for generating the number range n getting the next number is given below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating a number range using transaction SNRO, a number object is created. This is the object you mention in the EXPORTING field OBJECT. In the field NR_RANGE_NR, you mention the interval that you have created in the Number Range Object. I cannot put up screens here, but I can tell you the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SNRO&lt;DEL&gt;&amp;gt;Put object name&lt;/DEL&gt;&amp;gt;Display&lt;DEL&gt;&amp;gt;Goto(Menu Bar)&lt;/DEL&gt;&amp;gt;Number Ranges--&amp;gt;Intervals and in the table control the first field, No. is put in NR_RANGE_NR. This is the path in 4.7 SAP version. In 4.6C, I think Intervals comes as soon as you put object name in SNRO Transaction. There are many more fields in the function module, but I suspect that you want the basic functionality.&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 = '01'&lt;/P&gt;&lt;P&gt;OBJECT = 'YPOLLID'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;NUMBER = LS_NUMBER&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for anyother clarifications write back ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful !&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ranjita Kar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-series/m-p/2182931#M464454</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-04-25T11:30:17Z</dc:date>
    </item>
  </channel>
</rss>

