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

Current Date as Default date in @prompt in stored procedure universe

$
0
0

Hi ,

 

I have a requirement from our users, where I need to display the current date as default date input.

I am using Stored procedure universe.We are currently using SAP Universe Designer Tool version : 4.1 ( Database (MS SQL server 2014) )

I am not able to apply any filters on the report level also.

 

For the date parameter, i used @prompt

I have tried getting the date by using derived tables and used it in LOV.

 

example:

derived table : Currdate

sql : SELECT GETDATE() as Todaydate

 

The @prompt for it was,

@Prompt('1. From Date:','D','Currdate\Todaydate',MONO,FREE,Persistent,{'Currdate\Todaydate'},)


Whatever the value I give in the default field, it is taking as a string.

 

Is there any possible workarounds that I can follow to display the date. Because it seems a very valid request from our users.

 

Thank you in advance.


Viewing all articles
Browse latest Browse all 3441

Trending Articles



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