<?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: Query regarding select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954098#M392685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Asha,&lt;/P&gt;&lt;P&gt; If you want the exact string to be matched, then you can directly uuse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt;a = c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a matchin the patterns, i.e. all the strings that contain a string 'Music', then use like syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt;a like '%Music%'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 08:33:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-02T08:33:17Z</dc:date>
    <item>
      <title>Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954095#M392682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i do string comparisons in the where clause of a select.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;data: c(20).&lt;/P&gt;&lt;P&gt;c = 'Music'. &lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt; a CO c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954095#M392682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954096#M392683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have where a LIKE C.&lt;/P&gt;&lt;P&gt;operator LIKE to compare in where clause chck that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps uu..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954096#M392683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954097#M392684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt;a eq c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954097#M392684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954098#M392685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Asha,&lt;/P&gt;&lt;P&gt; If you want the exact string to be matched, then you can directly uuse&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt;a = c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a matchin the patterns, i.e. all the strings that contain a string 'Music', then use like syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where &lt;/P&gt;&lt;P&gt;a like '%Music%'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954098#M392685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954099#M392686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a&lt;/P&gt;&lt;P&gt;          b&lt;/P&gt;&lt;P&gt;   from ypaylist&lt;/P&gt;&lt;P&gt;  into table i_paylist  &lt;/P&gt;&lt;P&gt;  where a = c. &lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954099#M392686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954100#M392687</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;       I want to get the various values from table which is exactly or contains music. So instead of hardcoding , can i just use &lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where a like c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954100#M392687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954101#M392688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u dont want to hardcode then declare the variable and use in select statement.&lt;/P&gt;&lt;P&gt;date: g_cat(7) type c value '%Music%'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954101#M392688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954102#M392689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No the value keeps changing. So i capture it in a variable and do the comparison. So it has to be dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 08:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954102#M392689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954103#M392690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To Do that you ave to concatenate '%' in front and after the actual word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that the word you want to check is in a variable v_word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate '%' v_word '%' into c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a b from yplaylist into table i_playlist where a like c. &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>Fri, 02 Mar 2007 09:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-select/m-p/1954103#M392690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T09:30:16Z</dc:date>
    </item>
  </channel>
</rss>

