on 06-02-2016 5:10 AM
Hi experts,
I am having trouble with a "Derived Procedure/Scalar Function" Input Parameter.
I believe the trouble is mapping my OUT Variable from the stored procedure to the Input Parameter on my Calculation View.
My Stored Procedure Selects the Max(Post_Date) from a transactions table, and I would like for that output to be the Default Value of the Input Parameter of my Model.
Per the HANA Modeling Guide SPS12 pg 121, it says I can do this
Both my Stored Procedure and Calc View have Activated successfully - however the default value is not there at RunTime. I am thinking I am not mapping correctly? Please help
Output of Procedure Call
"From" does not display a default value like I wanted
Hi guys,
Just wanted to reply to this thread so anyone else having this issue can get help.
I got the procedure to work by defining it in "_SYS_BIC" .
Did not go through with any updates.
Previously I was attempting to define the Store Proc within my own Schema and also within a Package, but that was unsuccessful.
Good luck on your own attempts, here is my SP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Florian, may I also ask what version of HANA DB you are on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm, looks ok. Tested it on a SPS10 system right now. Do you have the latest HANA tools installed?On your screenshot "Is Mandatory" is enabled, which must not be the case if "Derived from procedure option" is used. Maybe an indicator that an update is missing (in the latest version this issue is resolved).
Regards,
Florian
Do not mix up the Studio version with the DB version. These are two different things. The only dependency is that for newer DB versions you need also the updated Studio/HANA tools versions.
The latest HANA Studio/HANA tools version is 2.3.5.
A list which Studio version corresponds to which DB version can be found in note 2073112. Newer Studio versions are backwards compatible to "older" DB versions.
Regards,
Florian
I have also tried to replicate the similar issue , and facing the same issue. Is it related to authorisation?
as I can call the SP from console and it is giving output
Sorry Florian can you please show how you are doing this with screen shot, if possible.
I am in SP10 and I think in SP10 we have this functionality enabled.
I think some tweak and we can achieve the outcome as desired. please help.
this concept is very important while dynamically selecting date range and stuff , which we can achieve in customer exit.
I agree Chandran, dynamic default date range is how I had hoped to use this feature.
If Florian is able to get it to work with an updated HANA DB Version, then I know that is the issue.
I would be grateful if you would give it a try Florian and share a screenshot .
If not, I suppose I'll have to try a scripted Calc View.
Thanks
Am I missing something in my Stored Procedure Code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.