<?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: select options to internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676686#M1099849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i mean to say if i have 100 to 200.. i need 101 102 103 etc..continuosly till 200&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 08:37:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-16T08:37:53Z</dc:date>
    <item>
      <title>select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676681#M1099844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have selected some values in the range say 100 to 200 using select options....is there any way to get these values in an internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also does select option work with alpha numeric values &lt;/P&gt;&lt;P&gt;eg : if i want to select between a100 and b200?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676681#M1099844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676682#M1099845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only doing it yourself with your own logic.&lt;/P&gt;&lt;P&gt;so first example&lt;/P&gt;&lt;P&gt;100,101,102,103,104 etc.&lt;/P&gt;&lt;P&gt;next example&lt;/P&gt;&lt;P&gt;a200,a201....,a998,a999,b000,b001......b199,b200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you want only values who exist in the corresponding databasetable read that table with the select-optoins and put those values in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;edit:  and i'm only talking about the use of BT here, not even exclusive or inclusive etc. so you get the potential treath? &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guido&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: G. Bouman on Oct 16, 2008 10:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676682#M1099845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676683#M1099846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what values do you want in an ITAB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * ... into table itab&lt;/P&gt;&lt;P&gt;will select the values according to the select-options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the select-option is an internal table with fields&lt;/P&gt;&lt;P&gt;SIGN, OPTION, LOW, HIGH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676683#M1099846</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2008-10-16T08:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676684#M1099847</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 can use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at seltab.&lt;/P&gt;&lt;P&gt; seltab-sign = 'I'&lt;/P&gt;&lt;P&gt; seltab-option = 'BT'&lt;/P&gt;&lt;P&gt; seltab-low = 1&lt;/P&gt;&lt;P&gt; seltab-high = 5.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676684#M1099847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676685#M1099848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select option is one type of internal table so if u want all the select-options to me moved to 2nd internal table create one structure for required fields.&lt;/P&gt;&lt;P&gt;First Loop the Select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move the value low and high to the internal table and append the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676685#M1099848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676686#M1099849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i mean to say if i have 100 to 200.. i need 101 102 103 etc..continuosly till 200&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676686#M1099849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676687#M1099850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;suppose so_optn is the select option u are using..&lt;/P&gt;&lt;P&gt;U want to transfer it to tb_optn&lt;/P&gt;&lt;P&gt;U can do the same in the below way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT so_optn.&lt;/P&gt;&lt;P&gt;     wa_optn-optn = so_optn-low.&lt;/P&gt;&lt;P&gt;     APPEND wa_optn-optn TO tb_optn.&lt;/P&gt;&lt;P&gt;     CLEAR wa_optn.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here wa_optn is a work area of the same type as that of tb_optn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back if more explanation is needed..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676687#M1099850</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-10-16T08:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676688#M1099851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; i mean to say if i have 100 to 200.. i need 101 102 103 etc..continuosly till 200&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options are really only useful for selecting data that matches the select-options from some other dataset.  They don "expand out" into a set of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are always specifying a range in the selection screen, use two parameters - p_low, p_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then will need to build your itab entry by entry. So&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;l_count = p_low.
WHILE l_count LE p_high.
  INSERT l_count INTO t_itab.
  ADD 1 to l_count.
ENDWHILE. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a100 to a200, you'd have to do some string slicing and concatenation to get the desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676688#M1099851</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-10-16T08:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: select options to internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676689#M1099852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is only possible with your own coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so user is filling select-options. when he is entering:  A100 BT B200 &lt;/P&gt;&lt;P&gt;do you want A100 to A999 and then B000 and so on or is it possible to have A999 and then AA00 and so on. the limitiation on the possiblities are your scope to program the list. But you have to program it with selfmade coding. &lt;/P&gt;&lt;P&gt;the next alphacharacter can be taken from a string filled with ABCDEFG.....YZ&lt;/P&gt;&lt;P&gt;the next numeric character can de calculated (add 1).&lt;/P&gt;&lt;P&gt;but when the user is filling the select-options he can also have more entries and also values who are not to be used, so you have to take that in account also. &lt;/P&gt;&lt;P&gt;so it is very tricky to do what you want. my advice is: DON'T TRY if the scope is to large. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guido&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-to-internal-table/m-p/4676689#M1099852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:56:11Z</dc:date>
    </item>
  </channel>
</rss>

