<?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 begin of a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162975#M995295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT &amp;lt;fields&amp;gt;&lt;/P&gt;&lt;P&gt;FROM &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;INTO TABLE &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;field&amp;gt; LIKE '&amp;lt;string&amp;gt;%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;This will select all internal order that starts with '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT aufnr auart&lt;/P&gt;&lt;P&gt;FROM aufk&lt;/P&gt;&lt;P&gt;INTO CORRESPODING FIELDS OF TABLE i_aufk&lt;/P&gt;&lt;P&gt;WHERE aufnr like '1%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Peter Ruiz on Jul 22, 2008 7:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 11:54:40 GMT</pubDate>
    <dc:creator>peter_ruiz2</dc:creator>
    <dc:date>2008-07-22T11:54:40Z</dc:date>
    <item>
      <title>select statement with begin of a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162974#M995294</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;i have a variable with type string.&lt;/P&gt;&lt;P&gt;Now I want to select from a table all entries which begins with this string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I have to implement the where element in my select statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162974#M995294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T11:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with begin of a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162975#M995295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT &amp;lt;fields&amp;gt;&lt;/P&gt;&lt;P&gt;FROM &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;INTO TABLE &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;field&amp;gt; LIKE '&amp;lt;string&amp;gt;%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;This will select all internal order that starts with '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT aufnr auart&lt;/P&gt;&lt;P&gt;FROM aufk&lt;/P&gt;&lt;P&gt;INTO CORRESPODING FIELDS OF TABLE i_aufk&lt;/P&gt;&lt;P&gt;WHERE aufnr like '1%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Peter Ruiz on Jul 22, 2008 7:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162975#M995295</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-07-22T11:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: select statement with begin of a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162976#M995296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate % on the end of your string, and then use &lt;STRONG&gt;LIKE string&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. string containst "AB", concatenate % on the end gives "AB%".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 11:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-with-begin-of-a-string/m-p/4162976#M995296</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-07-22T11:56:34Z</dc:date>
    </item>
  </channel>
</rss>

