<?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: Where clause while using SAP Extractor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092047#M363153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Qlik, you can try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FieldName&amp;gt;=1 and &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName&amp;lt;=3;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;or&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FieldName=1 or &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName=2 or &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName=3&lt;/STRONG&gt;;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 10:19:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-24T10:19:01Z</dc:date>
    <item>
      <title>Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092045#M363151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Hello everyone! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;I wanted to know the equivalent of IN( ) clause when we are loading in Qlikview by SQL SAP Extractor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;Should the condition be somewhat like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL EXTRACTOR 80_EXTNAME&lt;/P&gt;&lt;P&gt;UPDMODE F // full extractor&lt;/P&gt;&lt;P&gt;EXTRLANGUAGE E&lt;/P&gt;&lt;P&gt;LOGSYS QTQVCEXTR1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&lt;STRONG&gt;FieldName I &lt;SPAN style="font-size: 12pt;"&gt;CP&lt;/SPAN&gt; '1,2,3';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about the following part of CP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092045#M363151</guid>
      <dc:creator>ahbzshk07</dc:creator>
      <dc:date>2016-02-23T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092046#M363152</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;QV SAP Extractor Connector supports the following comparison operators in the WHERE clause:&lt;/P&gt;&lt;P&gt;EQ, NE, LT, GT, LE, GE, BT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have successfully managed to run the (part of) script below using the 'CP' (Contains Pattern) to get 800 lines out of 160K:&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;MATNR I CP '40*' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Manually altered the script to get this, please see whole syntax of 'CP' at SAP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 10:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092046#M363152</guid>
      <dc:creator>Tomas_Sommergyll</dc:creator>
      <dc:date>2016-02-24T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092047#M363153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Qlik, you can try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FieldName&amp;gt;=1 and &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName&amp;lt;=3;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;or&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FieldName=1 or &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName=2 or &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;FieldName=3&lt;/STRONG&gt;;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 10:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092047#M363153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T10:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092048#M363154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ohh, now I understood why &lt;STRONG&gt;CP&lt;/STRONG&gt; is used for...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually wanted to put condition similar to this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: verdana, geneva;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FieldName IN ('1','2','3','L5')&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how will we do that when we are using QV SAP Extractor Connector?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 11:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092048#M363154</guid>
      <dc:creator>ahbzshk07</dc:creator>
      <dc:date>2016-02-24T11:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092049#M363155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I believe while using QV SAP Extractor Connector, syntax is different...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 11:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092049#M363155</guid>
      <dc:creator>ahbzshk07</dc:creator>
      <dc:date>2016-02-24T11:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092050#M363156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN is not supported but you can try using multiple lines, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;FieldName I EQ '1',&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FieldName I EQ '2',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FieldName I EQ '3',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FieldName I EQ 'L5'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tomas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092050#M363156</guid>
      <dc:creator>Tomas_Sommergyll</dc:creator>
      <dc:date>2016-02-24T15:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092051#M363157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, no doubt, that is correct... I am looking for alternate solution... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry that I did not mention this before, but the value " '1','2','3','L5' ", I am storing in one variable in &lt;STRONG&gt;.qvs&lt;/STRONG&gt; file. (as vValues = " '1','2','3','L5' ")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, considering this, how will the condition be? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is not &lt;BR /&gt;Where&lt;BR /&gt;FieldName I EQ $(vValues)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 16:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092051#M363157</guid>
      <dc:creator>ahbzshk07</dc:creator>
      <dc:date>2016-02-24T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause while using SAP Extractor</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092052#M363158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, &lt;/P&gt;&lt;P&gt;In that case, try experimenting with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Use the appropriate input method of variables&lt;/P&gt;&lt;P&gt;// SET vValues='1','2','3','L5';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;// $(Include=YourFile.qvs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vFieldName ='FieldName I EQ ';&lt;/P&gt;&lt;P&gt;SET TmpStr='';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each val in $(vValues)&lt;/P&gt;&lt;P&gt;&amp;nbsp; TmpStr = '$(TmpStr)' &amp;amp; '$(vFieldName)' &amp;amp; Chr(39) &amp;amp; '$(val)' &amp;amp; Chr(39) &amp;amp; ', ';&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET Result = Left('$(TmpStr)',Len('$(TmpStr)')-2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;[Extractor Connector script goes here and Where clause as usual with the following variable]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;$(Result)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 10:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-while-using-SAP-Extractor/m-p/1092052#M363158</guid>
      <dc:creator>Tomas_Sommergyll</dc:creator>
      <dc:date>2016-02-25T10:20:36Z</dc:date>
    </item>
  </channel>
</rss>

