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

Use value from filter in URL of Odata service in SQL Script based Calc. Views

$
0
0

Hello ,

 

I want to use/read filter value in URL of Odata Services into SQL Script based calculation view.

 

For ex.

 

https://host:port/Project1/Customer_Info.xsodata/CUST?$filter=Customer eq '0000001000'

 

I want to use this filter value for customer '0000001000' in my SQL Script.

The Script has couple of Inner Joins and Loop logic to get customer information based on this customer number.

 

NOTE:  The consumer application do not want to pass this customer number as Input Parameter for this Odata service due to technical limitations.

 

I have gone through the blog: REST your Models on SAP HANA XS

 

But here we talk about using parameters in URL, which is not the case for my requirement.

 

So, i am wondering is there way in HANA to capture/read this customer number from URL filter and use in SQL Script.

 

Do you think its technically feasible to achieve this in HANA?

 

Regards

Sarang


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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