Prompt Date

Hello all
I am taking the prompt date as calender date from the user which is in the string type.After that i remove the time stamp from
it by substring function. Now i want to convert that substring into date type by todate function of SAP BO it give me error on reports.
Please help me as soon as possible. Thank u so much in advance.
Regards
Ankit Jain

Hello prashant Can i use this to remove time stamp.
substring=
If Length(var_Enter Date_UR])=22 Then Substr([var_Ente
r Date_UR];1;10) ElseIf Length([var_Enter Date_UR])=21 Then Substr([var_Enter Date_UR];1;9) ElseIf Length([var_Enter Date_UR])=20 Then Substr([var_Enter Date_UR];1;8)
and then use todate function.
=todate(substring,"dd/MM/yyyy")

Similar Messages

  • Apply a validation for a "prompt date"

    Hello friends.
    As I can include a validation to a "Prompt" date. operator is between and.
    Basically what I want is to limit the "prompt".
    example:
    Date between: 01/01/2012 and: 12/01/2012
    The date range exceeded 6 months.
    Thank you for your cooperation

    You will need to do this:
    1) You will need to build your between prompt like this:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    The reason is because we need the PV for the start date and end date. (I call the PVs pv_StartDate and pv_EndDate, respectively in my example below.)
    2) Create a small report with 3 columns: one column from your SA, it doesn't matter what; and one dummy column.
    3) In the dummy column, click on the fx button, delete the contents and enter the following:
    CASE WHEN TIMESTAMPADD(SQL_TSI_MONTH, 6, '@{pv_StartDate}' > '@{pv_EndDate}' THEN NULL END
    4) Put a filter on the second column for IS NOT NULL
    What this small report does is this: when the difference between the start and end dates is greater than 6 months, then the CASE statement will be NULL and since the filter is only looking for "not NULL" values, the report will return no rows.
    5) Now in your dashboard, add a section and put your report in it. In the Section properties, click on Properties>Guided Navigation and point it to the small report "if request returns rows."
    6) Add another Section below the one above and this time drag a Text object to the section. Put the text you have: "The date range exceeded 6 months. Please choose a date range within 6 months. Thank you."
    7) On the Section properties of this one, click on Properties>Guided Navigation and point it to the small report "if request returns nothing."
    I think you get the picture. When the date range exceeds 6 months, the top section does not appear; instead the user sees the text to change the date range.
    That should resolve your issue.

  • How to Sort prompt date in BO Webi report

    Hi Gurus,
    I am facing a critical issue in selecting date prompt in my webi report.
    Please find the below image as the dates are not getting sorted as per year.
    Please suggest solution for this.
    Regards
    Bikash

    Hi Bikash,
          Create a predefined filter in the Universe. The edit the date object by changing the LOV SQL, ordering it on the date field. Now click on the option 'Export with Universe" in the propereties tab and the export the universe.
      Hope it should wok.
    Thanks and Regards
    Ram
    09038887788.

  • How to prompt date range for a single column in reports

    Hi All,
    I am having a prompt which shows from date and to date, both these columns will come from day column of calendar .We want that our report values should be between the from date and to date.Can someone tell me how can this be achieved.Because if we build a report we will pull day column from calendar and say its prompted.How can we get the condition that day clumn should be between from date and to date of prompt.
    Thanks and Regards,
    Amrit

    Hi vineet,
    Thanks for your reply
    I am having one prompt where we will have two columns from date and to date, both these columns are coming from same column called day in mth_calendar.I am having 1 report where the date range should lie between from date and to date of prompt.In this case should I use your second suggestion or the first one.
    Thanks,
    Amrit

  • Persistent prompt date format changes when reopening report in Webi

    Hi all
    I have a PERISTENT prompt that asks for a date when you run the report. The format is "MM/dd/yyyy". I also have a variable that displays this value in the form:
    =ToDate(UserResponse([Query 1];"Please enter date:");"MM/dd/yyyy")
    When the report is run the prompt works and you select the date from the calendar and all works fine. You can refresh the report and keep the persistent date prompt value if you like. Great.
    The problem comes when the report is saved and then reopened for modifying.
    On my report I get #ERROR associated with the above variable. This is because the peristent value in the prompt has been "re-loaded" in the format "MM/dd/yyyy hh:mm:ss a".
    The only way I have found to resolve this is to refresh the report and reselect a date which makes the persistent prompt kind of useless if you close the report.
    Any suggestions on solving this would be appreciated.
    Thanks
    Sharon

    Sharon,
    The problem comes when the report is saved and then reopened for modifying.
    When opening the report in something other than modify, does the problem also occur?  I too have noticed different behavior with persistent date prompts and whether running in modify or Infoview modes.  Most deployments do not give their users the ability to run a public report in modify mode (though, possibly they could copy it to their own Favorites and run it in modify mode there).  So perhaps this "problem" is by design and is resolved by running the report in the more common Infoview mode?
    Thanks,
    John

  • Prompt date value with default max from table1.column1

    Hi all,
    How do I prompt user for date of report with default date = max(table1.column1) ? Give me some example of syntax pls.
    Thanks ahead.

    hi,
    Default Date for the Date Prompt can be Static but not dynamic in WEBI.
    Because we can't specify any object/calculation as default value for the prompt.
    I think it's not possible in WEBI.
    Regards,
    Vamsee

  • Calender prompt date Mask

    Hi Gurus,
    I am using 10.1.3.4.1...
    I have a calendar prompt with PS variable "date" and I want to show this variable in Title view subtitle so I wrote like @{date}[MM/DD/YYYY] in subtitle but the date mask is not reflecting ..How to change this date mask?I want show calendar prompt value(which is in format yyyy-mm-dd hh:mm:ss)like MM/DD/YYYY format..any help

    Hi User,
    I have tried the same thing my system it is working fine.
    ex : My date format is MM/DD/YYYY value is 4/01/2000
    I have add title view in my report and apply presentation variable = @{satya} then save the report it showing correct format only.
    MY system OS == WIndwos7 32 bit.
    OBIEE = 10.1.3.4.1
    That is not possible in my case....I have some restrictions?
    In that case add date column in your report apply cast function lke below (OR) apply the below cloumn in narrative view like @1.
    cast(your date column as date)
    I have tried the above method also it working fine.
    Hope this help's
    Thanks
    satya

  • Prompt Preview and Dashboard prompt Date Format.

    Hi,
    When seen in its preview, a Dashboard prompt based on Date data type is shown using format 'mm/dd/yyyy' which is the expected format. However, when seen on a dashboard page, the prompt's format becomes 'yyyy/mm/dd'.
    Does anyone have idea how to fix this or what could be the reason?
    If you need more information, please let me know.
    Thanks,
    Manoj.

    In the prompt window there was a little clock icon symbol. I first had to go to the BI admiistration in the physical and change (the specific column/field) from a timestamp to date. We also needed to a default date to be applied to our application so I created a global variable and made it a string so that it would appear in the application in the format like you stated in your thread: Select to_char(sysdate,'mm/dd/yyyy') from dual. But overall I think the real trick was changing the physical from a timestamp to date.

  • Prompt Date +5 values

    Hi Gurus,
    Prompt Name(date) =13-sep-10
    table name test1
    requirement is once i select the date from Date prompt let us say 13-sep-10
    My report should be display 18-sep-10
    How will do this?
    My report have the date column.
    Thanks

    store the data in a variable and in report filter use between with TIMESTAMPADD to add 5 days.

  • Issues with Prompts date

    Hi,
    I have created two date calender prompts from the same date column of the time dimension 'from date' and 'to date' and saved those into Presentation variables.
    I have to show 'amount' into one column(say opening amount) if transaction date is before 'from date'. and into another column (say debit) when transaction date is after 'from date'.When in criteria tab I try to enter the formula something like (case when transaction_date > @{from_date} then amount end) it is giving me error.
    nQSError: 46030] Field descriptor id 0 is beyond the maximum field count 0
    Can anyone has come across the same issue?
    Regards,
    Vikas

    Please don't change anything to OBIEE.
    You must do the difference between the data type date and date format.
    When you create a dashboard prompt with a date column and you set up a presentation variable. The presentation variable take the same data type. It become a date.
    The format is specifically the work of BI Presentation service to take this date and to transform it in the way that want the user (depending of the language).
    What I would say, is that you must set up in the default value of the filter also a date (and therefore not a character).
    Unfortunately when you enter this :
    DAY is greater than or equal to @{from_date}{1990/6/6}Obiee see it as a character
    And what I have discover is that if you want a date the cast function don't follow the format depending of the configuration, you have to use this format :
    DAY is greater than or equal to @{from_date}{cast('1990-06-06' as date)}In this way, you will have two datea where the format change when you change the local definition (to French for instance) in your account profile.
    You can also use this form :
    DAY is greater than or equal to @{from_date}{date '1990-06-06'}Edited by: gerardnico on Jun 24, 2009 7:38 PM - suppress a bad bracket

  • Adding days in prompt date

    Hi Guys
    I need to create the filter like:-
    user select the date using the prompt on report while opening the report and i need to use the date entered by user which will be compared as
    date > user_Selected_dt +14 days..
    i have created the prompt and in report i can see the date selected by user using UserResponse () function but how to put same in filter.
    regards

    Just create a formula in Webi, let's say "Date Filter" =
    if date > user_Selected_dt +14 days then "filtered rows" else "Display All"
    No you can use the 'Date Filter" in interactive filter or table filters or controls.

  • Univer Prompt Date Object

    I have a date prompt. The users can enter a date or they can leave the Date as null. If they leave the Date prompt as Null It has to go and fetch all the Data even if the date field does not have any value. The problem here is if they leave it as null then i am running into an issue of Date column comparing it against a NULL Value. Is there a way for me to handle this issue.
    -Prabu

    Hi,
    To get all the dates then you have to create a all object andshould place it in existing lovs. Try like this.
    1. In the lovs odf the date object i.e date object-> right click ->clicko n edit lovs -> then a query panel opens for you there modify the existing query to
    Select distinct(dates) from ........... to
    select distinct(dates)  from ................
    union
    select ' ALL' from dual; ---> where dual is temporary table if back end is oracle. then in date object in universe try with the below synatx as
    Date  = (@Prompt('<Prompt message>','A',{'Class\Object'},mono,free)  or  "ALL '' = @Prompt('<Text>','A',{'Class\Object'},mono,free) .
    In your case replace all with SIgle quotations.
    Cheers,
    Suresh Aluri.

  • Repository variable is not working for prompted date

    Hi experts..
    I have created one repository variable sum(amount1), but it is not filtering according to date local.... i need to filter it according to date local.

    Thanks for reply..
    I need to calculate the value in A1 = Amount in A in each row is how much % of SUM(A) ..and want to show in chart..

  • Shared Object - Prompt Data Permissions Dialog

    Hello,
    I'm creating a small app to run from CD-Rom/local
    installation that will use multiple shared objects for data
    storage. To ensure proper saving without surprising the user with a
    permissions dialog unexpectedly, I'd like to request unlimited data
    storage on first time app launch - Joey Lott shows how to do this
    in the Actionscript Cookbook...
    request=mySO.flush(1024 * 500);
    My question is,
    Can I perform this permissions request with the user a single
    time with a generic app SO in global fashion, so that the
    permissions would be set for any SOs created during the use of the
    product (all written to same SO directory), or do I have to request
    permissions for each and every SO created? Since the latter
    would be unacceptable from a UE standpoint, that means stuffing all
    app data into a single SO which doesn't seem so great from a data
    config perspective...
    I really appreciate your attention and help on this!
    Thanks in advance,
    -Maura

    Hmm. Experimented a bit and it seems that once the permission
    is set it applies to the Flash Player installation globally, and
    not per SO, not even per domain...
    Or, please correct me if I'm mistaken.
    Thanks.

  • Dash Board Prompt - Date

    Hello All,
    I has a requirement on dates for the OBIEE Dashboard. I have a date parameter.... when the user selects a date... i need to get all the records that were between the date passed and 15 days past to that date
    For Ex: If the user selects 15-01-2010 i need to get all the dates from 01-01-2010 to 15-01-2010
    how can i do this..
    Please let me know thanx.
    Kiran

    hi kiran,
    Add a date column to your report,and convert that one to sql by cocking on
    Filter--Advanced-->convert this filter to sql
    and in sql use the following syntax
    Periods.Week(date column) between TimeStampAdd(SQL_TSI_DAY, -15, CURRENT_DATE) and CURRENT_DATE
    thanks,
    saichand.v

Maybe you are looking for

  • Cannot open PDF in browser or downloaded PDF file

    I try accessing this pdf: http://www.uscis.gov/files/form/n-400.pdf My sister also emailed me the pdf but I can't open it as a file either. I keep receiving the "Please wait.." page and nothing ever loads in either case. I've updated my adobe, tried

  • Display processes creates digital resonance sound

    Hopefully someone understands the problem: I´m using G4 MDD Dual 867 to make music and sounds. From the sound output there comes small electrical noise like beezzzziong or buzzzzing. It does not matter/disturb in everyday use as listening iTunes musi

  • How does one send an emali to RIM concerning wildly incorrect Map directions?

    In  hurry recently, I mapped my location and my destination. I got the directions below: 1. Depart from White marsh Blvd, White Marsh, MD, USA, 21236. 2. Head SW on I-95 S. Go 2.4 mi. 3. Take exit I-695 W towards Towson. Go 0.1 mi. - THIS DIRECTION I

  • How do I stop new tabs from opening on there own?

    I'm on Facebook just after logging in more Facebook tabs continue to open without me clicking + in the left hand corner or pressing CTRL and T together

  • Solaris 10 x86 don�t recognize hard disk of  Dell PowerEdge 2850

    Hi: I�m installing Solaris 10 X86 in a PowerEdge 2850, after I changed ACPI and put 119376 -01 patch, now i can see disks but when the instalation begin it go until 15% and doesn�t follow with it and doesn�t show any messages . I have a perc 4e/di Ra