Skip to Content
avatar image
Former Member

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.


     Call procedurename(arguments,:var_out);

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. 

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 04, 2014 at 04:34 AM

    Hi Sujitha,

    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 :


    Krishna Tangudu

    Add comment
    10|10000 characters needed characters exceeded