Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Re: how to use variables in a CE_PROJECTION function?

$
0
0

Hi Raf Boudewijns,

 

I have gone through your replies on hana issues specially on CE codes. which are helpfull.

 

I am new to hana development, at presents I am working on below code I find answer for the same issue but the person did't show how he corrected the code.

 

Could you please help me with the below code: I am getting the below error even after replacing to_date with  date ican CE_CALC area.

 

Please help me ...

 

Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: Attribute not found in column table: DT_END:

 

 

BEGIN

 

V_TAB = CE_COLUMN_TABLE("SCH_1"."ZCP",["ID_IDENT", "BU_ID","DT_END"]);

 

V_TODAY = select to_dats(current_date) from dummy;

 

V_TAB1 = CE_PROEJCTION(:V_TAB,[ "ID_IDENT", "BU_ID", CE_CALC('DATE("DT_END")',DATE) as"V_END"],'"V_END" >= '':V-TODAY'' ');

 

var_out = CE_PROJECTION (:V_TAB1,["ID_IDENT", "BU_ID"]);

 

END/

 

Thanks in advance.

 

Regards,

raja


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>