Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.