on 08-15-2013 4:32 PM
Hi,
We have created SQL script based Calcuelation View CV_SELECT , we have dfined 2 Input Parameters say Z_PRODUCT & Z_COUNTRY.
We have simple sql
select Country, Region, Function, Product from Table_1 where country = :Z_COUNTRY and Product = :Z_PRODUCT;
We have created second calculation view CV_PROJECTION
Its simple projection where we are projecting all the fields from CV_SELECT.
In order to pass values for Product and Country we have defined input parameters in this second view, Z_PRODUCT & Z_COUNTRY (definition is exactly same as for parameters in first CV)
We have mapped these Input Parameters to the source (CV_SELECT.Z_PRODUCT To CV_PROJECTION.Z_PRODUCT and CV_SELECT.Z_COUNTRY to CV_PROJECTION.Z_COUNTRY.
When we pass parameter values to CV_SELECTION we get few records and output, but when we pass same values as input to CV_PROJECTION is does not output anything.
Am I missing any setting? How to fix this issue?
Regards
Sagar Shelar
Hi Sagar,
Could you set filter expression in second calculation view, such as CV_SELECT.Z_PRODUCT =$$CV_PROJECTION.Z_PRODUCT$$ and CV_SELECT.Z_COUNTRY=$$CV_PROJECTION.Z_COUNTRY$$
Hope this can help you.
Regards,
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.