<?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>Question Re: Error executing the query - SQL SCRIPT CALCULATION VIEW in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaa-p/12207340#M4568024</link>
    <description>&lt;P&gt;Please check if OSS note 2362127 - SQL error 2048 with 'currency/unit conversion error' is not a system error is useful to you.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhavin&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 10:21:21 GMT</pubDate>
    <dc:creator>bhavinvyas</dc:creator>
    <dc:date>2020-03-02T10:21:21Z</dc:date>
    <item>
      <title>Error executing the query - SQL SCRIPT CALCULATION VIEW</title>
      <link>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaq-p/12207339</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
  &lt;P&gt;Anyone here already encountered this error?&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;Error: SAP DBTech JDBC: [2048]: column store error: search table error: [2620] executor: plan operation failed; error during currency/unit conversion, exception 70000000: No error; $message$=client not set in session context in parameter 'client'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1784571-delete.png" /&gt;&lt;/P&gt;
  &lt;P&gt;So this is the scenario.&lt;/P&gt;
  &lt;P&gt;I have a query with currency conversion and I exposed it to EXTERNAL SAP HANA VIEW.&lt;/P&gt;
  &lt;P&gt;I used the said query in a GRAPHICAL CALCULATION VIEW and tested all the fields and they are working fine.&lt;/P&gt;
  &lt;P&gt;However, if I use the said query in SQL SCRIPT CALCULATION VIEW, I can activate the sql script view. But if I drag even just three (3) fields of the view, that's the time I encountered the error above.&lt;/P&gt;
  &lt;P&gt;This is the SQL SCRIPT:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt; /********* Begin Procedure Script ************/ 
 
 BEGIN 

 	 var_out = SELECT
	B.*
FROM
	"system-local.bw.bw2hana::QUERY_TEST" B;

END


/********* End Procedure Script ************/
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;
  &lt;P&gt;Loed&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 09:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaq-p/12207339</guid>
      <dc:creator>Loed</dc:creator>
      <dc:date>2020-03-02T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing the query - SQL SCRIPT CALCULATION VIEW</title>
      <link>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaa-p/12207340#M4568024</link>
      <description>&lt;P&gt;Please check if OSS note 2362127 - SQL error 2048 with 'currency/unit conversion error' is not a system error is useful to you.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhavin&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaa-p/12207340#M4568024</guid>
      <dc:creator>bhavinvyas</dc:creator>
      <dc:date>2020-03-02T10:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing the query - SQL SCRIPT CALCULATION VIEW</title>
      <link>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaa-p/12207341#M4568025</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;bhavin.vyas&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the link but it cannot be applied in our BW server.&lt;/P&gt;&lt;P&gt;Loed &lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 12:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-executing-the-query-sql-script-calculation-view/qaa-p/12207341#M4568025</guid>
      <dc:creator>Loed</dc:creator>
      <dc:date>2020-03-02T12:41:34Z</dc:date>
    </item>
  </channel>
</rss>

