How to call dynamic SQL inside Calculation View
I have created one catalog procedure with dynamic sql commands. Now i need to use the procedure inside sap ui5 so i need to place the dynamic sql inside the calculation or i need to call the created procedure inside view. I have tried with this call syntax.
But i got dynamic sql can not be used inside calculation view error so can't able to call.
Is there anyway to use dynamic sql statements inside the .hdbprocedure or read only procedure?
Can anyone help me with this issue, to find out how to call the dynamic sql procedure inside calculation view.
Krishna Tangudu replied
Calculation Views are "READ" only and hence you cannot consume dynamic sql procedure inside a calculation view.
You can set sqlscript_mode to UNSECURE to write a dynamic sql statements inside a .hdbprocedure.
Also have a look on this thread : Create local temporary table in procedure