<?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 AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218055#M71225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one should work:&lt;/P&gt;&lt;P&gt;for j = $(vStartJahr) to $(vAktJahr)&lt;/P&gt;&lt;P&gt;[VBAP_$(j)]:&lt;BR /&gt; SQL SELECT * FROM VBAP&lt;BR /&gt; where ERDAT LIKE '$(j)%';&lt;BR /&gt; store VBAP_$(j) into VBAP_$(j).qvd;&lt;BR /&gt; drop table VBAP_$(j);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2009 20:44:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-16T20:44:49Z</dc:date>
    <item>
      <title>SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218049#M71219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;I try to execute the folowing code and get the errormessage, that is shown in the screenshot in the bottom of this article. Can someone help me, please. I don't habe any more ideas.&lt;/P&gt;&lt;P&gt;CU Florian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;BR /&gt;SET MoneyThousandSep='.';&lt;BR /&gt;SET MoneyDecimalSep=',';&lt;BR /&gt;SET MoneyFormat='#.##0,00 €;-#.##0,00 €';&lt;BR /&gt;SET TimeFormat='hh:mm:ss';&lt;BR /&gt;SET DateFormat='DD.MM.YYYY';&lt;BR /&gt;SET TimestampFormat='DD.MM.YYYY hh:mm:ss[.fff]';&lt;BR /&gt;SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';&lt;BR /&gt;SET DayNames='Mo;Di;Mi;Do;Fr;Sa;So';&lt;BR /&gt;// DataConnect zur SAP JP6 Datenbank (SAP Connector 5.2)&lt;BR /&gt;CUSTOMCONNECT TO "Provider=QvSAPConnector;ASHOST=HOSTNAME;SYSNR=01;CLIENT=400;XUserId=CLZcXDFISSVGVZAZZZ;XPassword=QMYQSaJOMLYKHRBGZJDZ;";&lt;BR /&gt;let vStartJahr = 2006;&lt;BR /&gt;let vAktJahr = 2009;&lt;BR /&gt;for j = $(vStartJahr) to $(vAktJahr)&lt;BR /&gt; [VBAP_$(j)]:&lt;BR /&gt; Load&lt;BR /&gt; *;&lt;BR /&gt; SQL&lt;BR /&gt; SELECT * FROM VBAP&lt;BR /&gt; where mid(ERDAT,7,4) = $(j);&lt;BR /&gt;&lt;BR /&gt; // QVD Datei mit neuen Zeilen speichern&lt;BR /&gt; store VBAP_$(j) into VBAP_$(j).qvd;&lt;BR /&gt; drop table VBAP_$(j);&lt;BR /&gt;next&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-510_sourceID:510" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 19:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218049#M71219</guid>
      <dc:creator />
      <dc:date>2009-10-16T19:19:14Z</dc:date>
    </item>
    <item>
      <title>SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218050#M71220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the MID function will not work in your SQL.&lt;/P&gt;&lt;P&gt;Either you put MID function in your LOAD statement,&lt;/P&gt;&lt;P&gt;OR you modify the SQL such as WHERE ERDAT LIKE '%2006%' something like that.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218050#M71220</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:18:33Z</dc:date>
    </item>
    <item>
      <title>SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218051#M71221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to create only the staging QVDs. Try by removing the LOAD *; only SQL SELECT is required?&lt;/P&gt;&lt;P&gt;--Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218051#M71221</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:24:02Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218052#M71222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to save all SAP-data from table ...&lt;/P&gt;&lt;P&gt;vbap in year 2008 into vbap_2008.qvd&lt;/P&gt;&lt;P&gt;vbap in year 2009 into vbap_2009.qvd&lt;/P&gt;&lt;P&gt;... and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218052#M71222</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:31:11Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218053#M71223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then following is not working?&lt;/P&gt;&lt;P&gt;for j = $(vStartJahr) to $(vAktJahr)&lt;/P&gt;&lt;P&gt;[VBAP_$(j)]:&lt;BR /&gt; SQL SELECT * FROM VBAP&lt;BR /&gt; where mid(ERDAT,7,4) = $(j);&lt;BR /&gt; store VBAP_$(j) into VBAP_$(j).qvd;&lt;BR /&gt; drop table VBAP_$(j);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218053#M71223</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:36:35Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218054#M71224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did u try loading someother table from the SAP Connector. Like a Simple table&lt;/P&gt;&lt;P&gt;"T000 ". I have a doubt that you dont have a role in the System.&lt;/P&gt;&lt;P&gt;PS: Ich meine die Berechtigung für Qlikview von SAP, die Daten zu holen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218054#M71224</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:41:52Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218055#M71225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one should work:&lt;/P&gt;&lt;P&gt;for j = $(vStartJahr) to $(vAktJahr)&lt;/P&gt;&lt;P&gt;[VBAP_$(j)]:&lt;BR /&gt; SQL SELECT * FROM VBAP&lt;BR /&gt; where ERDAT LIKE '$(j)%';&lt;BR /&gt; store VBAP_$(j) into VBAP_$(j).qvd;&lt;BR /&gt; drop table VBAP_$(j);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218055#M71225</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:44:49Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218056#M71226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right. It works. Thank your for your support/help. Now I must wait, there are a lot of data in SAP.&lt;/P&gt;&lt;P&gt;I hope that the SQL only store the data in the correct QVD-File.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218056#M71226</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:52:55Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218057#M71227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sravan, if there is a connection issue, that should be flagged during connect execution itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218057#M71227</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:54:53Z</dc:date>
    </item>
    <item>
      <title>AW:Re: SAP /SQL Openstream failed SQL ERROR Number:000</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218058#M71228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Arun&lt;/P&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-SQL-Openstream-failed-SQL-ERROR-Number-000/m-p/218058#M71228</guid>
      <dc:creator />
      <dc:date>2009-10-16T20:57:53Z</dc:date>
    </item>
  </channel>
</rss>

