<?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 statement with where and in in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986978#M1161792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;It will take  values that are given in the value  within the brackets..&lt;/P&gt;&lt;P&gt;to get a range of values you can use &lt;/P&gt;&lt;P&gt;Ranges or select-options ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2009 08:14:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-16T08:14:34Z</dc:date>
    <item>
      <title>select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986972#M1161786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT * INTO IT_XYZ FROM XYZ WHERE ABC IN (AAA, BBB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above select statement, does it consider only the values AAA and BBB or all the values in between them ?&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;Search before posting further&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jan 16, 2009 4:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986972#M1161786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986973#M1161787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;if you are using select-option it will take all the values between two mentioned values. please search forum first then post.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;anupama.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986973#M1161787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986974#M1161788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will consider only the values that are provided in the list within the brackets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986974#M1161788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986975#M1161789</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 can go for ranges. to get values between AAA,BBB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986975#M1161789</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2009-01-16T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986976#M1161790</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;It will include only value AAA and BBB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To take value between them, use either select-option or ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ranges : r_range for ztable-field_name.

r_range-sign = 'I'. "for inclusive
r_range-option = 'BT'. "for between
r_range-low = 'AAA'. "low value
r_range-high = 'BBB'. "high value
append r_range.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use this range in query.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
where ABC in r_range. "this will include all values between AAA and BBB
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986976#M1161790</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-01-16T08:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986977#M1161791</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;It is only seach for those two what u give inside the bracket in your query.  Not all entires between these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986977#M1161791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986978#M1161792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;It will take  values that are given in the value  within the brackets..&lt;/P&gt;&lt;P&gt;to get a range of values you can use &lt;/P&gt;&lt;P&gt;Ranges or select-options ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986978#M1161792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986979#M1161793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answering my query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986979#M1161793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986980#M1161794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your query consider either AAA or BBB.&lt;/P&gt;&lt;P&gt;If you want the values in the range from AAA to BBB then use BETWEEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * INTO IT_XYZ FROM XYZ WHERE ABC  BETWEEN 'AAA and 'BBB'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986980#M1161794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with where and in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986981#M1161795</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;Your query will consider only the values mentioned in brackets.&lt;/P&gt;&lt;P&gt;If you want to support a range of values or a set of distinct values, use Select-Options.&lt;/P&gt;&lt;P&gt;Then you can use the Select query with WHERE ABC IN seltab option.&lt;/P&gt;&lt;P&gt;Here you are checking if ABC with the values mentioned in Select-Options (seltab) that you create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link for more details on usage:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu/en/ABENWHERE_LOGEXP.htm" target="test_blank"&gt;http://help.sap.com/abapdocu/en/ABENWHERE_LOGEXP.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 08:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-where-and-in/m-p/4986981#M1161795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T08:23:30Z</dc:date>
    </item>
  </channel>
</rss>

