Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Make current date as default date for a parameter created in IDT which is mapped to one of the Input Parameters of HANA View

$
0
0

Hi,

Business Scenario - Put together 10 different views into a single Universe (IDT 4.1 SP5)

 

I have created derived tables for each Hana views as there are different Input Parameters (IPs) (Currency/UOM Conversion,Date(From/To)) which are mapped to the Parameters created in DF Layer.

 

As am using 4.1 SP5,I have option to set default values for Date Parameter only from the list of values unlike SP6 which has a new feature called Formula Editor which provides the user to set default values like Current Date,Current date-1,Current Fiscal Period, Current fiscal Period -1 etc..

 

Upgradation of SAP package is out of scope as we are in the middle of the build phase. I came across the Dave's Magic Date Concept but its throwing an error when I tried to apply the condition on the Hana Object.

 

Please find below for the screenshots,

 

IP.png - Parameter Key Date in DF Layer is mapped to $$IP_TODATE$$ of HANA View - works fine

 

Error.png - Magic Date code is applied to Hana Object - Throws Error - Will the Magic Date works only for certain DBs?

 

Please help me to sort out this issue.

 

I even tried to supply default value from HANA object in the Derived table script itself but it didn't work. Like


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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