• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11850
  • Last Modified:

How to display Prompt default date value in Business Objects XI webI

I would like a prompt which display dates to have default values.
The End Date is the current date and Begin Date is the fifth day from current date.
I created 2 objects (CURDAY and PRIOR 5 DAY)  which represents these variables in Designer and use them in the extended prompt syntax.
The syntax applied is:
@Select(Calendar \Data Rif) BETWEEN  @Prompt('Enter Begin Date','DATE','Calendar \Date Rif,MONO,FREE,NON-PERSISTENT, {CURDAY},) AND @Prompt('Enter End Date', 'DATE', 'Calendar \Date Rif,MONO,FREE,NON-PERSISTENT, {PRIOR 5 DAY},)

CURDAY is an object in designer which returns the date of the current day whereas PRIOR 5 DAY returns the date of the fifth day from current date.

Unfortunately, it doesn't function. The prompt still ask for dates.
Where I am wrong or is there any other workaround I can use
1 Solution
I don't believe the prompt can include vriable/formula data.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now