Default date (current date - 1) on prompt

Hi Everybody,
I have BI 11.1.1.6.1
I have a Prompt in which there is a calender
I need Defalut date to be set as (sysdate - 1).
I tried
Need default date (current date - 1) on prompt
and
How to create a prompt with default value as current_date?
But it doesn't work in BI 11
Thanks

Hi,
Refer the screen short
http://imgur.com/Xopmt
go to edit your dashboard prompt-->edit you date prompt column-->expand option -->set Default selection as SQL Results-->Enter a SQL statement to generate the list of values
SELECT case when 1=0 then "tablename"."columname" else timestampadd(sql_tsi_day, -1, current_date) end FROM "subject area name"
E.x:
SELECT case when 1=0 then "Time"."Calendar Date" else timestampadd(sql_tsi_day, -1, current_date) end FROM "Sample Sales Lite"
this will return current date - 1 date values.
Thanks
Deva

Similar Messages

  • GR Date & Current Date

    Hi
    We are using WE03 for printing GR in that GOODS RECEIPT DATE & CURRENT DATE is there what is this current date, what is the difference between two.
    Regards
    rang

    Hi,
    You may take the print of GRN any time after posting the GRN. Hence, it shows the GRN date (date on which GRN was posted) & current date (date on which the print was taken).
    Regards,
    Prashant Kolhatkar
    Pl. reward points if answer is helpful

  • Prompt with Default date (Current Date)

    Hi Experts,
    I have WEBI Report With Calendar Date (0CALDAY) Object on a OLAP Universe (OLAP Universe built on SAP BW BEx Query).
    I need to create a prompt on Calendar Date Object with default value as Current date (systemdate). I need to create this at universe level not at BEx level (No Exceptions).
    Looking forward to hear from you.
    -Thanks,
    Deepu

    Hi Ingo,
    Thanks for your response.
    >
    Ingo Hilgefort wrote:
    > this is because a EXIT VAriable doesn't have a DEFAULT value.
    >
    > Ingo
    But EXIT Variable has a DEFAULT value in BEx Designer. DEFAULT Value (Current system Date) is populated when a BEx Query is Run. How come it is not properly reflected into BOBJ?. It retrieves the data for Current system Date in BOBJ too when WEBI Query is run but it does not show Current system Date in prompt screen.
    I hope you understand my problem.
    -Thanks,
      DEEPU.

  • Create a BEx variable which should by default contain current date, etc

    Hi,
    I need to create 2 variables: ZDATE01 and ZDATE02.
    They will be used in the following situation:
    0DATETO >= ZDATE01
    and
    0DATEFROM <= ZDATE02
    to only display records on a current "key" date.
    ZDATE01 should be a variable that has current date pre-populated in it on the variable entry screen in BEx Web Analyzer, so that users do not have to type in the date themselves.
    ZDATE02 should be a replacement path variable to be replaced by whatever is the value of ZDATE01.
    How would I accomplish ZDATE01 variable having current date pre-populated in it on the variable entry screen?
    I tried creating ZDATE01 variable with having SAP exit variable as replacement path, but it did not let me.
    Thanks

    Sorry, the previous link was wrong...
    Here you go...
    Current System date in report
    WHEN 'XXXX'.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'YYYY'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = sy_datum.
    clear L_S_RANGE-HIGH.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.

  • Delimited Org Unit(having end date Current date) are not coming in Bex output.

    HI All ,
    I have problem with BEx query output while using the Org. Unit Time dependent Hierarchy structure. In ECC side some of the Org. Unit nodes were delimited or their end date set to less than current date. Now this hierarchy is loaded to BW on daily basis those Org. Unit also laoded to BW hierarchy and these nodesare not coming up in our query output. Client wants to see these unit data as it important to him.
    Please suggest  .
    Thanks,
    Arvind Venai

    Hi Arvind,
    As per my understanding, the valid to/end date for Hierarchy should be 31.12.9999. May I know what is Valid To in your case?
    Did yo u check the change happend in ECC for hierarchy is reflecting in BW ?
    There mught be some restriction in BEx Query , please check

  • Cancellation billing date = current date

    Dear all,
    I have a requirement that cancellation billing document date as current date.  For example my billing document date is 15.03.09 and iam cancelling that billing on 31.03.09, so i require biiling date of cancellation document as 31.03.09.
    Kindly provide me information, thanks in advance.
    V S Kumar

    Hi,
    Is there any possibility that system should determine automatically not by giving the billing date as a manual entry for cancellation billing document?
    Thanks in advance
    V S Kumar

  • Outlook event export defaults to current date/time

    iCal suddenly started imported all outlook exported events as "Private Event" at the date and time of the import rather than the date and time specified in the exported event.
    Any help?

    As Tom says, it's not the form you should be exporting but its data.  To export as a PDF file the easiest way is to do so is as a report which is restricted to the data in question by means of a parameter in its underlying query.  The report
    layout can mirror the layout of your form of course, and you might even be able to save time in designing it by copying and pasting objects from the form to the report, with both in design view, and then fine tuning the design of the report manually.
    You'll find an example of how to export a report as a PDF file as InvoicePDF.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    This little demo file exports the current invoice as a PDF file, and also has options for exporting multiple invoices.
    Ken Sheridan, Stafford, England

  • How to fill a prompt in webi with current date?

    A webi report is being generated on BEx Query.
    IN BEx query variables are defined for some date fields to prefill them with current date.
    Foe ex. there is license start date. For this field variable is defined so that in variable screen License start date is automatically filled with greater than or equal to current date(which is system date). WHich is a mandatory variable.
    On BO side, a webi report is being developed on a Universe (based on this BEx query).
    When the webi report is run, the license start date(mandatory variable in BEx) is automatically prompted, but date is not getting prefiiled with current date.
    How to prefill this prompt with current date?
    the prompt should be like
    LIcense start date >= <current date>

    Hi,
    Yes, it isn't possible to reference anything like 'Current Date' in the universe (like you would with a SQL data source).
    The solution I have seen recently goes like this, I don't know the exact details (so I might have some terminology wrong), but someone with ABAP skills should get what I mean.
    Assuming you want to filter on 0CALDAY.
    In ABAP, create a customer EXIT that calculates the current date as a number (so today might be 40651). Do the same for 0CALDAY.
    In the BEx create a formula variable that references each of those, then a Formula Key Figure (I forget the exact name of them) that's just the current day number minus the 0CALDAY number. This gives you the 'age' of that row of data.
    Your Webi report can then have a built in filter (or prompt with a default value) of, say Age <= 30. The report can be scheduled and will always run with the last 30 day's data.
    We actually did the customer exists to show the 'age' in months.
    Sorry I can't explain it any better, but it's working great for us.
    Hope that helps.

  • How to set default value to current date in Webcenter Imaging Application?

    Hi
    I have created an application in Webcenter Imaging and have a field called as ScanDate.
    While uploading documents against that particular application, i want that ScanDate field should default to Current Date.
    I tried setting the default value but it becomes a static date.
    Can anyone suggest me what to do in this case?
    Regards
    ACM

    You can't do that anyway. The default values are saved as part of the VI and a built application can not do that. Instead, you will have to do this yourself by saving the data to a file, loading it and wiring it into a local variable of the control. You can do this, for example, with the configuration file VIs or, if you want to rely on the good work that other people already did, you can go to the OpenG site and download their file package, which includes saving control values to INI files.
    Try to take over the world!

  • Current date as deafult for Calender Day and user entry

    Hello All,
    There is a select option for Calender Day for a BW query.
    This Calender Day should have a default as Current Date and User entry is also possible.
    I have used a Customer exit and written the following code under i_step = 1
    data: v_currdt like sy-datum.
    clear: v_currdt, vfl_range.
             if i_step = 1.
              vfl_range-sign = 'I'.
              vfl_range-opt = 'EQ'.
              v_currdt = sy-datum.
              vfl_range-low = v_currdt.
              append vfl_range to e_t_range.
             endif.
    Please inform if this code is incorrect, because I am not able to see the date at all.
    Cheers,
    KP

    Hi
    Check with this code!
    Implemented for the same function as you require.-
    if i_step = 1.
      case i_vname.
        WHEN 'ZZZZZZ'.
          IF i_step = 1.
            REFRESH e_t_range.
            CLEAR l_s_range.
            l_date1 = sy-datum.
            L_S_RANGE-LOW = l_date1.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'EQ'.
            APPEND L_S_RANGE  TO E_T_RANGE.
          endif.
      endcase.
    endif.
    Regards
    M.A

  • Billing date as Current date.

    Hi All.
    when user prepare billing documents on Sunday, the system by default pick billing date of Monday for orders prepared or changed on Sunday.This leaded to mismatch of actual dispatch qty and dispatches
    Is it possible to keep billing date - current date as default data in transaction VF01.
    Reg,
    Amol

    Amol Tamhane wrote:>
    > when user prepare billing documents on Sunday, the system by default pick billing date of Monday for orders prepared or changed on Sunday.This leaded to mismatch of actual dispatch qty and dispatches
    > Is it possible to keep billing date - current date as default data in transaction VF01.
    Hi Amol,
    I think you may actually be wanting to change the "Selection Date" not the billing date.
    The selection date is available by selecting Shhift+F7 from VF01.
    You can then select documents which should be billed tomorrow/Monday.
    Best regards,
    Glynn

  • Default Time in Data Picker Calendar

    Hi All
    I'm using one of the new Date/Time picker items in Apex 4.0.2. When the user clicks the Calendar image the Calendar is displayed with the current date and time. However I would like it to display by default the current date and a time of 1000hrs. Is there anyway to do this?
    Thanks
    Shunt

    This kind of works, but there must be a better way?
    $('#P58_DATE').datepicker("option", {
       beforeShow: function(pDateText, pInst) {
          if (!$(this).val()) {
            $(this).val('&P58_TODAY. 10:00');
    });http://apex.oracle.com/pls/apex/f?p=579:58

  • Preselecting a default date on date picker

    Hi
    oracle 10g xe apex 2.1.x on windows xp
    By default date picker always defaults to current date. I want it to default to a date value that has already been selected by the user in the current page. For eg. it will be a variable of the type :P1_report_date.
    Is this possible?
    Thanx
    SR

    I do something like:
    Default Value: to_char(add_months(sysdate,-3),'DD-MON-RR')
    Default Value Type: PL/SQL Expression
    This gives me a date three months back from today in the date picker format. Of course you can modify to use the date picker format you are using.

  • To Blank out system default requested delivery date when create Sales Order

    Hi Experts,
    I am facing a problem when create Sales Order doc copy with reference to a contract.
    The create with reference screen under the Contract tab, SAP default with current date as the Requested delivery date.
    Is there any way to blank out this default as I need to use the requested delivery data in the contract doc ?
    Many Thanks.
    Regards,
    Xavier

    Hi,
    Try this--
    While defining the Contract sales docment type in VOV8,  uncheck the proposed delivery date field in  the tab Requested delivery date/ reqested pricing date/reqested prchase order date
    I will not propose the system date and leaves the field blank
    you can enter  the required delivery date.
    Hope this will work
    regards,
    santosh

  • Default bank value date

    Hi,
    Bank value date by default is current date, any way to change it into posting date as default?
    Thanks!
    Regards,

    Hi David,
    Thank you for your reply.
    But I checked in OBBA, we had maintained t-code: FB50, and posting date as the reference date to determine the value date. However, when I make a posting to a bank G/L, it is not able to determine the value date as posting date.
    By the way, how system check the assignment since it is maintained by house bank information in OBBA and we enter G/L account in FB50. System check via t-code "FI12"??
    Regards,

Maybe you are looking for

  • Can I use a VGA to Mini DVI adapter for a LCD monitor for a macbook??

    Hello! First off, I love this site. Secondly, I have a macbook 10.6.6 and a LCD moniter with a VGA input. I see on the apple site there is the "Mini DisplayPort to VGA Adapter" and "Apple Mini DVI to VGA Adapter". both seem compatible but I want to p

  • How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple PO's

    How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple Purchase-Orders with the help of BAPI or BDC Recording in 4.6 b version. Manually its possible.. but how is it possible in the background i.e through BDC Recording or BAPI's.   [

  • Correspondence Sort Variant

    Hi Gurus, I run program RFFOAVIS_FPAYM for Correspondence . I define in spro sort variant for the program and specific payment method with vendor number sort ! I choose specific sort variant. But the program not run with this? Can anyone tell if work

  • My friend sent me a picture how can i print a hard copy?

    She sent it to me using mms. I saved the picture in my photos & i can see it theres no problem but when i take my iphone 5 to the shop to print the picture of my little grandson it doesnt show up in my pictures Any help would be greatly appriciated..

  • Pop up error windows

    Hi I'm trying to create a window that pops up to notify the user of an error with their input. I am only very new to Java but was wondering how to create a window that you have to click OK (or something) in order to carry on with the rest of the prog