on 2015 Aug 27 8:36 PM
I used the following syntax while creating a scripted calculation view-
/********* Begin Procedure Script ************/
BEGIN
var_out =
Select ESSPLC , ESRVND , ESRSTY, ESSCOD,
SUM(ESHSQY),
FROM "JDA_SRC"."CIVS00P"
GROUP BY ESSPLC, ESRVND, ESRSTY, ESSCOD
Order by ESSPLC,ESRVND, ESRSTY, ESSCOD
END
/********* End Procedure Script ************/
I am getting the following error while attempting to validate my view(see attachment). Please help me
Request clarification before answering.
What does this error essentially mean-
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 n /********* Begin Procedure Script ************/ n BEGIN n n t var_out = nSelect ESSPLC,ESHSQYnFROM "JDA_SRC"."CIVS00P"nENDn/********* End Procedure Script ************/n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.