Hi
I want to read a calc view and find a MAX of the column
For this I am writing a calc view of type "script" and using the below code. Which is not working. Any hints on this?
Or is there any other way of doing it , where the performance is better?
BEGIN
var_tab = CE_CALC_VIEW("_SYS_BIC"."pksample.productmanagement/CV_REVENUW_RECOG_CUTOFF_PVP_1",["SDS_VBELN","SDS_POSNR","TRAN_TIME"]);
var_out = CE_AGGREGATION(:var_tab,[MAX("TRAN_TIME")],["SDS_VBELN","SDS_POSNR"]);
END
Thanks.