Hi Guru
I was trying to use a stored procedure which return the exact field required for my requirement but I m getting an error as " Repository: Encountered an error in repository runtime extension;Model inconsistency. Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "=": line 6 col 3 (at pos 308)
Below is the procedure ( it is working fine )
CREATE PROCEDURE CE_JOIN_3TABLE_ (OUT JOIN_RETURN TYPE6 )
LANGUAGE SQLSCRIPT READS SQL DATA
AS
BEGIN
OUT_SHOPFACT = CE_COLUMN_TABLE("_SYS_REPO"."SHOP_FACTS",["ARTICLE_ID","AMOUNT_SOLD","QUANTITY_SOLD"]);
OUT_ARTICLE = CE_COLUMN_TABLE("_SYS_REPO"."ARTICLE_LOOKUP",["ARTICLE_ID","ARTICLE_LABEL"]);
OUT_PRODUCT_PROMO = CE_COLUMN_TABLE("_SYS_REPO"."PRODUCT_PROMOTION",["ARTICLE_ID","PROMOTION_COST"]);
JOIN_RETURN1 = CE_JOIN (:OUT_ARTICLE,:OUT_SHOPFACT,["ARTICLE_ID"["ARTICLE_ID","ARTICLE_LABEL","AMOUNT_SOLD","QUANTITY_SOLD"]);
JOIN_RETURN = CE_JOIN (:JOIN_RETURN1,:OUT_PRODUCT_PROMO,["ARTICLE_ID"],["ARTICLE_ID","ARTICLE_LABEL","AMOUNT_SOLD","QUANTITY_SOLD","PROMOTION_COST"]);
END ;
*************************
Call function in the Script calculation view
/********* Begin Procedure Script ************/
BEGIN
var_out = call "SYSTEM"."CE_JOIN_3TABLE_" (?) ;
END /********* End Procedure Script ************/
Please suggest or share how i can u can i use it procedure