Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

BI PLACEHOLDER with substring

$
0
0

Hi,

 

I'm creating a BO universe on a SAP HANA Calculation View that is using a Input Parameter.

I have a business requirement to always fill on this Input Parameter the current date.

 

I'm trying to create the PLACEHOLDER command on IDT like this:

 

('PLACEHOLDER'=('$$INPUT_FROM$$', SUBSTRING(to_char(current_Date,'YYYYMMDD1),0,6))

 

And I'm receiving an error: SQL syntax error: incorrect syntax near "SUBSTRING"

 

Anyone knows if is this possible and if yes, how to do that?

 

I know that if I create a Derived table on IDT doing a select on dummy table I could get that, but I want to avoid in maximum this.solution of a new Derived table.

 

Thanks,

 

Rodrigo.


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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