<?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: Validation error while creating calculation view in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274875#M4172913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Lars, I did not realize that since the question was not marked as answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 04:52:41 GMT</pubDate>
    <dc:creator>former_member185165</dc:creator>
    <dc:date>2015-09-01T04:52:41Z</dc:date>
    <item>
      <title>Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaq-p/11274848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the following syntax while creating a scripted calculation view-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; /********* Begin Procedure Script ************/ &lt;/P&gt;&lt;P&gt; BEGIN &lt;/P&gt;&lt;P&gt;&amp;nbsp; var_out = &lt;/P&gt;&lt;P&gt;Select ESSPLC , ESRVND , ESRSTY, ESSCOD, &lt;/P&gt;&lt;P&gt;SUM(ESHSQY),&lt;/P&gt;&lt;P&gt;FROM "JDA_SRC"."CIVS00P"&lt;/P&gt;&lt;P&gt;GROUP BY ESSPLC, ESRVND, ESRSTY, ESSCOD&lt;/P&gt;&lt;P&gt;Order by ESSPLC,ESRVND, ESRSTY, ESSCOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END &lt;/P&gt;&lt;P&gt;/********* End Procedure Script ************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the following error while attempting to validate my view(see attachment). Please help me &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1328/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 19:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaq-p/11274848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T19:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274849#M4172887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really? You make _us_ all take out our magnifier glasses to actually read the error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My weary eyes recognised something like "... syntax error near FROM... ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey that's a good hint, ain't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking how your statement looks like around the FROM word what do we find?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;...&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;Select ESSPLC , ESRVND , ESRSTY, ESSCOD, &lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;SUM(ESHSQY),&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;FROM "JDA_SRC"."CIVS00P"...&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;GOTCHA! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you mean, you don't see it?&lt;/P&gt;&lt;P&gt;It's &lt;STRONG&gt;right&lt;/STRONG&gt; there (I made the error bold):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;Select ESSPLC , ESRVND , ESRSTY, ESSCOD, &lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;SUM(ESHSQY)&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;FROM "JDA_SRC"."CIVS00P"&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Still not? Alright then:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;Select ESSPLC , ESRVND , ESRSTY, ESSCOD, &lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;SUM(ESHSQY)&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;,&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;-- this comma doesn't belong here and is only there because someone tried copy&amp;amp;paste coding and that didn't work out so well. &lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333;"&gt;FROM "JDA_SRC"."CIVS00P"&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Pro-tip: when in doubt, it can be very helpful to run a SQL statement from a procedure separately in a SQL editor window. Just to see what the error might be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 19:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274849#M4172887</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-27T19:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274850#M4172888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still getting this error-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "END": line 9 col 1 (at pos 422)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" as table ("ESSPLC" DECIMAL(5,1), "ESRVND" VARCHAR(6), "ESRSTY" VARCHAR(15), "ESSCOD" VARCHAR(3), "ESHSQY" DECIMAL(8,1))nProcedure DDL: create procedure "_SYS_BIC"."picture_report_BB/PIC_REP/proc" ( OUT var_out "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as&amp;nbsp; n /********* Begin Procedure Script ************/ n BEGIN n t var_out = nSelect ESSPLC, ESRVND, ESRSTY, ESSCOD,SUM(ESHSQY)nFROM "JDA_SRC"."CIVS00P"nGROUP BY ESSPLC,ESRVND,ESRSTY,ESSCODnOrder by ESSPLC,ESRVND, ESRSTY,ESSCODnEND n/********* End Procedure Script ************/n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time attaching u the screenshot of the View &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1328/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/779312" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274850#M4172888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274851#M4172889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright mate, tell you what:&amp;nbsp; this is funny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am going to tell you that this time&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you didn't leave something somewhere where it doesn't belong, but the opposite&lt;/LI&gt;&lt;LI&gt;it's not the comma and not the colon but their little offspring&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: love your screen-snapshotting-abilities! Next round on I expect a little screen-capture-movie plus voice over &lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1328/images/emoticons/laugh.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274851#M4172889</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-27T20:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274852#M4172890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This runs perfectly in SQL Editor but throws an error while validation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274852#M4172890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T20:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274853#M4172891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select ESSPLC,ESSCOD,SUM(ESHSQY)&lt;/P&gt;&lt;P&gt;FROM "_SYS_BIC"."picture_report_BB/CIVSOOP_ANALYTIC"&lt;/P&gt;&lt;P&gt;GROUP BY ESSPLC,ESSCOD&lt;/P&gt;&lt;P&gt;Order by ESSPLC,ESSCOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the error I get -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "END": line 9 col 1 (at pos 404)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" as table ("ESSPLC" DECIMAL(5,1), "ESRVND" VARCHAR(6), "ESRSTY" VARCHAR(15), "ESSCOD" VARCHAR(3), "ESHSQY" DECIMAL(8,1))nProcedure DDL: create procedure "_SYS_BIC"."picture_report_BB/PIC_REP/proc" ( OUT var_out "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as&amp;nbsp; n /********* Begin Procedure Script ************/ n BEGIN n t var_out = nSelect ESSPLC,ESSCOD,SUM(ESHSQY)nFROM "_SYS_BIC"."picture_report_BB/CIVSOOP_ANALYTIC"nGROUP BY ESSPLC,ESSCODnOrder by ESSPLC,ESSCODnENDn/********* End Procedure Script ************/n&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274853#M4172891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274854#M4172892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, in your SQL editor but another statement right under your one and try to run the whole thing.&lt;/P&gt;&lt;P&gt;No line-selecting with the mouse, just press RUN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any statement will do. &lt;/P&gt;&lt;P&gt;Something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT current_user FROM dummy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does that work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274854#M4172892</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-27T21:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274855#M4172893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still getting the same error again-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; /********* Begin Procedure Script ************/ &lt;/P&gt;&lt;P&gt; BEGIN &lt;/P&gt;&lt;P&gt;&amp;nbsp; var_out = &lt;/P&gt;&lt;P&gt;Select ESSPLC&lt;/P&gt;&lt;P&gt;FROM "_SYS_BIC"."picture_report_BB/CIVSOOP_ANALYTIC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;/********* End Procedure Script ************/&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/779313" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274855#M4172893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T21:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274856#M4172894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U suppose it may be some authorization related issue-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am again getting &lt;/P&gt;&lt;P&gt;Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "END": line 8 col 1 (at pos 312)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" as table ("ESSPLC" DECIMAL(5,1))nProcedure DDL: create procedure "_SYS_BIC"."picture_report_BB/PIC_REP/proc" ( OUT var_out "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as&amp;nbsp; n /********* Begin Procedure Script ************/ n BEGIN n t var_out = nSelect ESSPLCnFROM "JDA_SRC"."CIVS00P"nnENDn/********* End Procedure Script ************/n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274856#M4172894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T21:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274857#M4172895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not the authorization!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274857#M4172895</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-27T21:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274858#M4172896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274858#M4172896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-27T21:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274859#M4172897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lars good morning any tips..I am still facing the same error here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274859#M4172897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-28T13:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274860#M4172898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does this error essentially mean-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "END": line 8 col 1 (at pos 320)nSet Schema DDL statement: set schema "JDA_SRC"nType DDL: create type "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" as table ("ESSPLC" DECIMAL(5,1), "ESHSQY" DECIMAL(8,1))nProcedure DDL: create procedure "_SYS_BIC"."picture_report_BB/PIC_REP/proc" ( OUT var_out "_SYS_BIC"."picture_report_BB/PIC_REP/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as&amp;nbsp; n /********* Begin Procedure Script ************/ n BEGIN n n t var_out = nSelect ESSPLC,ESHSQYnFROM "JDA_SRC"."CIVS00P"nENDn/********* End Procedure Script ************/n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274860#M4172898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-28T13:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274861#M4172899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered the hint I provided?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;UL&gt;
&lt;LI&gt;you didn't leave something somewhere where it doesn't belong, but the opposite&lt;/LI&gt;
&lt;LI&gt;it's not the comma and not the colon but their little offspring&lt;/LI&gt;
&lt;/UL&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something missing from your syntax.&lt;/P&gt;&lt;P&gt;It's the very last bit of every statement...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274861#M4172899</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-28T15:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274862#M4172900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the . THE : THE ; I get the same errors from the offsprings as well as the parents haha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274862#M4172900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-28T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274863#M4172901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're saying that this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/********* Begin Procedure Script ************/ &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;BEGIN &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; var_out = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SELECT ESSPLC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "_SYS_BIC"."picture_report_BB/CIVSOOP_ANALYTIC";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;END&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/********* End Procedure Script ************/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;doesn't work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274863#M4172901</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-28T15:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274864#M4172902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope...but now I am getting a different error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/779816" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274864#M4172902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-28T15:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274865#M4172903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay... maybe it would be a good idea to review the examples for scripted calc views.&lt;/P&gt;&lt;P&gt;Looks like the output structure has not been correctly defined.&lt;/P&gt;&lt;P&gt;It must be exactly like what you assign to var_out.&lt;/P&gt;&lt;P&gt;Same column name, same data type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274865#M4172903</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-28T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274866#M4172904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a decimal field with length 5 and scale 0 , while the length us fine it does not permit me to define scale as 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274866#M4172904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-28T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Validation error while creating calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274867#M4172905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it literally not allow to enter the value into the UI or do you get an error upon activation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-error-while-creating-calculation-view/qaa-p/11274867#M4172905</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-08-28T16:27:41Z</dc:date>
    </item>
  </channel>
</rss>

