Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Map Stored Procedure to Calc View Input Parameter

$
0
0

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

 

Derived Procedure.JPG

 

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

 

SP_MAX_DATE.JPG                     

Output of Procedure Call

SP OUTPUT.JPG

 

 

"From" does not display a default value like I wanted

SP PROMPT.JPG


Viewing all articles
Browse latest Browse all 6412

Trending Articles