<?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: How to write this  select query ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296494#M1221597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will give you all give you all taable in Y* AND Z* RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Ranges:R_TAB for &amp;lt;tabname&amp;gt;.       " Dic ref

R_TAB-low = 'Y*'.
R_TAB-high = 'ZZ*'.       "ZZ* iS equvalent to Z* no issues here
R_TAB-options = 'I'.
R_TAB-sign = 'BT'.

Append R_prog.

SELECT * FROM xyz INTO TABLE itab_xyz WHERE TABNAME in r_TAB.&lt;/CODE&gt;&lt;/PRE&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;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2009 07:18:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-02T07:18:09Z</dc:date>
    <item>
      <title>How to write this  select query ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296492#M1221595</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;I need to write a select query where i need to retrieve the names of the cutomised tables (Starting with Z or Y)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select query&lt;/P&gt;&lt;P&gt; SELECT * FROM xyz INTO TABLE itab_xyz  WHERE TABNAME =  'Z*' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the correct way to write this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 07:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296492#M1221595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T07:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this  select query ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296493#M1221596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHERE TABNAME LIKE 'Z%'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 07:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296493#M1221596</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-02T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this  select query ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296494#M1221597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will give you all give you all taable in Y* AND Z* RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Ranges:R_TAB for &amp;lt;tabname&amp;gt;.       " Dic ref

R_TAB-low = 'Y*'.
R_TAB-high = 'ZZ*'.       "ZZ* iS equvalent to Z* no issues here
R_TAB-options = 'I'.
R_TAB-sign = 'BT'.

Append R_prog.

SELECT * FROM xyz INTO TABLE itab_xyz WHERE TABNAME in r_TAB.&lt;/CODE&gt;&lt;/PRE&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;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 07:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296494#M1221597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this  select query ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296495#M1221598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 07:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-this-select-query/m-p/5296495#M1221598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T07:55:18Z</dc:date>
    </item>
  </channel>
</rss>

