Date as String

Hi Experts,
 Am using SAP Business Objects Web Intelligence. At present am using Report Date as Manual Prompt. here Report Date format as YYYYMMDD , I would like to consider the (today's date -1) has to go as a parameter. we have the Report Date object which has the values till 20161231. But when ever I run the report it has to take only today's date -1 in this format (YYYYMMDD).Back end is MS SQL Server.

I have tried many possibilities, but didn't work.

Thank you.
Regards,
Maruthi
Maruthi Rao YarapathineniAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
Can you make changes to the universe?

If so build a prompt in the universe that converts the date to the appropriate string format.

mlmcc
0
Maruthi Rao YarapathineniAuthor Commented:
Yes. I can make changes to the Universe. I have tried changing the string to date and tried but didn't work. Am not clear on the Prompt suggestion. Why do we need prompt here.
0
mlmccCommented:
You can use a prompt for a date (can use the calendar) then in the object convert it to the string for comparison

mlmcc
0
mlmccCommented:
The filter object will be something like

[Your Date String] = FormatDate(Prompt("enter start date", "d", ,mono,constrained, non_persistent)

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Maruthi Rao YarapathineniAuthor Commented:
Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SAP

From novice to tech pro — start learning today.