Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Can we call a CV with input parameters in HANA procedure

$
0
0

HI Experts

 

1. I have created a Calculation View with two input parameters

 

2, Now I have created a procedure with two input parameters

 

3. Now I want to call the calcview in my procedure passing the input parameters created in my procedure

 

syntax

 

begin

 

it_out = select * from calcview ( 'PLACEHOLDER' = ( '$$input1$$ ', :ip_input1 ),

                                               'PLACEHOLDER' = ( '$$input2$$ ', :ip_input2 ) );

 

 

end;

 

 

 

Is my approch correct ?

 

Can we call view from procedure

 

 

Thanks

Pawan Akella


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>