<?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: Not Like in Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157267#M751005</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;For the first condition: not starting with 'NOT VALID' , I don't know other way apart from yours: EKNAM NOT LIKE 'NOT VALID%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second one, not starting with blank: EKNAM NOT LIKE ' '. Does it work? I think it compares if EKNAM is different from blank which can be done using:  EKNAM NE ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 11:52:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-27T11:52:16Z</dc:date>
    <item>
      <title>Not Like in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157266#M751004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is not to select the entries for the T024 table where the eknam is either starts with 'NOT VALID' or blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that, I have written the select statement using NOT LIKE,&lt;/P&gt;&lt;P&gt;Will this negation in the select statement cause extra execution tiem?&lt;/P&gt;&lt;P&gt;If so, can you give some hint for alternative statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT EKGRP EKNAM FROM T024 INTO TABLE IT_T024 &lt;/P&gt;&lt;P&gt;IT_PURC WHERE EKGRP = S_EKGRP AND EKNAM NOT LIKE 'NOT VALID%' AND EKNAM NOT LIKE ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kal Chand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 11:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157266#M751004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T11:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not Like in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157267#M751005</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;For the first condition: not starting with 'NOT VALID' , I don't know other way apart from yours: EKNAM NOT LIKE 'NOT VALID%'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second one, not starting with blank: EKNAM NOT LIKE ' '. Does it work? I think it compares if EKNAM is different from blank which can be done using:  EKNAM NE ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 11:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157267#M751005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T11:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not Like in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157268#M751006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have used the string comparison operator "CS" in the internal table loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA V_STR1(9) VALUE 'NOT VALID'.&lt;/P&gt;&lt;P&gt;LOOP AT IT_T024.&lt;/P&gt;&lt;P&gt;IF IT_T024-EKNAM CS V_STR1.&lt;/P&gt;&lt;P&gt;CONTINUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kal Chand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 12:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-like-in-select-statement/m-p/3157268#M751006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T12:41:43Z</dc:date>
    </item>
  </channel>
</rss>

