07-15-2008 6:48 PM
Hi,
I want to keep from date as blank and to date as current date in a variant in a SAP non custom program. I am trying to do through DYnamic date selection using selection variable in variant. To date can be set to current date, but I am not able to set (from date) blank.
Thanks
Ram
07-15-2008 6:56 PM
Hi,
With SELECT-OPTIONS i dont think you can achieve this.
An option would be to declare two separate parameters for the date field one for FROM and another for TO.
Set the dynamic date for the TO field.
Regards,
Subramanian
07-15-2008 7:13 PM
Based on the selection I am assuming you are looking for all till the to date. I guess the from cant be blank and have values in the to date. I would suggest to hardcode 01/01/0001 in the from date.
Hope this helps.
Shreekant
07-15-2008 9:07 PM
Hi Shreekant,
Even though I am hardcoding from date to be 01/01/0001 when I use the Selection variable to use Dynamic date calculation formula
Date - xxx, date + yyy (work days) and I put xxx to be 0 so that I get the same date 01/01/0001, it still takes the from date to be current date. I do not want the from date to be current date but 01/01/0001
Thanks
Ram