<?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 Select from SAP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197489#M57142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following script works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;VBPA:&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;Select&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA&lt;/P&gt;&lt;P&gt;where VBELN in (Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK WHERE VKORG = '2011' or VKORG ='2012') ;&lt;/P&gt;&lt;P&gt;&lt;B&gt;store&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA &lt;B&gt;into&lt;/B&gt; SendToUSA\Archive\VBPA_USA.QVD;&lt;/P&gt;&lt;P&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;VBPA;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to change it so that it is as listed below (changes highlighted in Underline).&lt;/P&gt;&lt;P&gt;The modified script does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;VBPA:&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;Select&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA&lt;/P&gt;&lt;P&gt;where VBELN in (Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK and LIKP WHERE VKORG = '2011' or VKORG ='2012') ;&lt;/P&gt;&lt;P&gt;&lt;B&gt;store&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA &lt;B&gt;into&lt;/B&gt; SendToUSA\Archive\VBPA_USA.QVD;&lt;/P&gt;&lt;P&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;VBPA;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to hear your opinions what the correct way to write the script&lt;/P&gt;&lt;P&gt;Elad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2011 07:34:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-05T07:34:52Z</dc:date>
    <item>
      <title>Select from SAP</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197489#M57142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following script works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;VBPA:&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;Select&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA&lt;/P&gt;&lt;P&gt;where VBELN in (Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK WHERE VKORG = '2011' or VKORG ='2012') ;&lt;/P&gt;&lt;P&gt;&lt;B&gt;store&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA &lt;B&gt;into&lt;/B&gt; SendToUSA\Archive\VBPA_USA.QVD;&lt;/P&gt;&lt;P&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;VBPA;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to change it so that it is as listed below (changes highlighted in Underline).&lt;/P&gt;&lt;P&gt;The modified script does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;VBPA:&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;Select&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA&lt;/P&gt;&lt;P&gt;where VBELN in (Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK and LIKP WHERE VKORG = '2011' or VKORG ='2012') ;&lt;/P&gt;&lt;P&gt;&lt;B&gt;store&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA &lt;B&gt;into&lt;/B&gt; SendToUSA\Archive\VBPA_USA.QVD;&lt;/P&gt;&lt;P&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;VBPA;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to hear your opinions what the correct way to write the script&lt;/P&gt;&lt;P&gt;Elad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 07:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197489#M57142</guid>
      <dc:creator />
      <dc:date>2011-04-05T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re. :Select from SAP</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197490#M57143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elpel,&lt;/P&gt;&lt;P&gt;you can't use "AND" in the FROM of your script.&lt;/P&gt;&lt;P&gt;What is LIKP? A field? A table?&lt;/P&gt;&lt;P&gt;If it's a table, your script must be : ...(Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK, LIKP WHERE VKORG = '2011' or VKORG ='2012')&lt;/P&gt;&lt;P&gt;But, why do you use LIPK? Tell me more.&lt;/P&gt;&lt;P&gt;Kindly,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 07:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197490#M57143</guid>
      <dc:creator />
      <dc:date>2011-04-05T07:50:43Z</dc:date>
    </item>
    <item>
      <title>Select from SAP</title>
      <link>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197491#M57144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Following Statement is not possible.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;Select&lt;/B&gt; * &lt;B&gt;from&lt;/B&gt; VBPA&lt;/P&gt;&lt;P&gt;where VBELN in (Select VBELN &lt;B&gt;from&lt;/B&gt; VBAK and LIKP WHERE VKORG = '2011' or VKORG ='2012') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to again write sub query for LIKP inside VBAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 07:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-from-SAP/m-p/197491#M57144</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-04-05T07:51:42Z</dc:date>
    </item>
  </channel>
</rss>

