<?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 selection-screen doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325670#M1030768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;         I am creating an selection-screen where i enter some value range now when i am using this in my select statement its not reading the lower and upper limit . if i initialize this value it will read only that (eg bt 10 - 100)&lt;/P&gt;&lt;P&gt;i want the user to enter it during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone tell me how to code this..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block B1.&lt;/P&gt;&lt;P&gt;select-options material  for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block  B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INITIALIZATION.&lt;/P&gt;&lt;P&gt;material-low = 10&lt;/P&gt;&lt;P&gt;material-high = 100&lt;/P&gt;&lt;P&gt;material-option = 'BT'&lt;/P&gt;&lt;P&gt;material-sign = 'I'&lt;/P&gt;&lt;P&gt;append material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1,f2....from mara into I_TAB where matnr between material-low and material-high.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2008 12:57:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-26T12:57:03Z</dc:date>
    <item>
      <title>selection-screen doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325670#M1030768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;         I am creating an selection-screen where i enter some value range now when i am using this in my select statement its not reading the lower and upper limit . if i initialize this value it will read only that (eg bt 10 - 100)&lt;/P&gt;&lt;P&gt;i want the user to enter it during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone tell me how to code this..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block B1.&lt;/P&gt;&lt;P&gt;select-options material  for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block  B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INITIALIZATION.&lt;/P&gt;&lt;P&gt;material-low = 10&lt;/P&gt;&lt;P&gt;material-high = 100&lt;/P&gt;&lt;P&gt;material-option = 'BT'&lt;/P&gt;&lt;P&gt;material-sign = 'I'&lt;/P&gt;&lt;P&gt;append material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1,f2....from mara into I_TAB where matnr between material-low and material-high.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325670#M1030768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325671#M1030769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to code like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ...
WHERE matnr IN material.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now it will pick up the values from the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325671#M1030769</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-08-26T12:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325672#M1030770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1,f2....from mara into I_TAB where matnr in material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325672#M1030770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T13:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325673#M1030771</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;You have to use &lt;STRONG&gt;IN&lt;/STRONG&gt; in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select &amp;lt;field1&amp;gt; &amp;lt;field2&amp;gt; from &amp;lt;dbtable&amp;gt; into table itab where matnr in material.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325673#M1030771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T13:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325674#M1030772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   As also told by others you have to use IN for select-options,&lt;/P&gt;&lt;P&gt;it will select the range from low to high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select f1,f2....from mara into I_TAB 
where matnr in material.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-doubt/m-p/4325674#M1030772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T13:18:49Z</dc:date>
    </item>
  </channel>
</rss>

