on 06-02-2021 5:52 AM
SAP HANA change/assign value of/to input parameter within graphical calculation view:
I have calculation view CV_A that calls calculation view CV_B. CV_A has two input parameters, IP1 and IP2. IP1 is passed by caller but IP2 needs to be calculated based on IP1 within CV_A before calling CV_B. That is, IP2 should be mapped to IP of CV_B, whose value needs to be passed from CV_A. For Input Parameter, there is option to use scalar function/stored procedure, but the limitation is to pass on constant value, cannot pass on Calculated value. How is this possible when CV_A is graphical CV (very easy to implement in case of script based calculation view). Note: CV is calculation view and IP is input parameter.
Hello again Dinesh,
if you are planning to derive the IP2 using IP1's value using procedure/scalar function, why do you need to click the input enabled option for IP2? I have explained a similar scenario in my article, pleaes check the Approach#2 in mentioned article, it is possible to have :
1. IP1 as input enabled.
2. Derive IP2 using a procedure/scalar function based on input value of IP1.
3. Pass both IP1 & IP2 into input parameters with similar attributes of another calculation view consumed within the caller calculation view using datasource assignment of input parameters.
Best Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.