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

SAP HANA - passing multiple input parameter values from BO report to HANA

$
0
0

Hello,

 

I need help with passing the input parameter selection from a BO report to a HANA view.

 

In HANA I've built two graphical calculation views:

 

  1. CV_KNA1 - view of select customers data
  2. CV_T005 - list of countries found on the T005 table.

 

In IDT in the Data Foundation layer named DF_CUSTOMERS I have the two views defined under Tables. 

 

I have also created a list of values for the countries named LOV_COUNTRIES, based on the following SQL:

 

  SELECT DISTINCT LAND1
  FROM CV_T005
  ORDER BY LAND1

 

I then built UN_CUSTOMERS Business Layer folder for the DF_CUSTOMERS.  I have associated the customer country field in UN_CUSTOMERS with the LOV_COUNTRIES list of values.

 

I have created a BO report BO_CUSTOMERS based on UN_CUSTOMERS. 

 

In the BO_CUSTOMERS Data view query panel I have defined Country Key Query Filter with the following attributes:

 

  Prompt
  In List
  Prompt with list of values
  Keep last values selected
  Select only from list
  Optional prompt.

 

Upon executing the report the user is presented with an input parameter for the country key.  The user may select multiple country keys to filter the data for the countries desired or leave the selection blank to view all the data.

 

With this design if the user restricts the data for certain county key(s) all the data is returned from HANA and the filtering occurs in the BO report.

 

What I would like to do is to be able to pass the user selection to HANA so that the filtering occurs at the database level in order to improve the report performance and reduce the network traffic. 

 

Can anyone please suggest the design changes I need to make to be able to pass the user selection, which may include multiple values, from BO_CUSTOMERS all the way to CV_KNA1? 

 

Thank you,
Victoria


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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