Date format issue in Web Analysis...

Hi,
I am creating a report by connecting to a couple of relational tables. I'm using SQL Spreadsheet and SQL Subscription objects. I'm creating a Date filter using SQL Subscription object (list box) using the data source created by the SQL Spreadsheet. My database default date format is 'DD-MON-YYYY'. But in the list box it shows as 'YYYY-MM-DD HH24:MI:SI". When this value is selected, I get a "Literal mismatch error" since it doesn't match with the value stored in the database.
Why the format in WA is showing in this format even though it is fetchting it from my database in which the format is 'DD-MON-YYYY'. Is this related to WA date format settings? I cannot find anywhere in WA studio where I can set date formats. Is this something to be set in the server or webanalysis.properties file?
PS: I tried to work around this by storing the date value as character in the database but then I am not able to sort them ascending or descending order.I also tried creating the web analysis relational database connection which creates a virtual cube. But even there when I build the report using Data Source Navigator, it is showing date in 'YYYY-MM-DD HH24:MI:SI'.
H

Hi,
Let me provide you the details of the report.
A concurrent program has been created with executable as XDODTEXE (XML publisher report).
In the data definition, we have embed one query which fetches transaction date and due date from some tables based on some conditions.
Now, we have to show these date columns in report output which will be in EXCEL format.
We want these date outputs to be printed in dd/mm/yyyy format. That is the reason we had given-
TO_CHAR(TO_DATE (SUBSTR(transaction_date,1,10), 'DD/MON/RRRR'),'DD/MM/RRRR') in the SQL query.
Problem in output is- In date columns, data after 12th is fine i.e. in format dd/mm/yyyy, it is printing properly.
But before 12th, it is printing in format mm/dd/yyyy as mentioned below-
01/10/2012--wrong format, it should be 10/01/2012
01/11/2012--wrong format, it should be 11/01/2012
01/12/2012--wrong format, it should be 12/01/2012
13/01/2012--correct format (dd/mm/yyyy)
14/01/2012--correct format (dd/mm/yyyy)
How can i send you the attachment, is there any way/any email id?
Rgds-
Sumir

Similar Messages

  • Issue about web analysis

    Hi guys,
    I am facing an issue about Web Analysis. When I use the version pre-9, I can access web analysis directly with html client or java client.Then I set each user with each POV. Now I am using EPM11, I can just access web analysis by workspace.Then if I would like to access java client, I click Tools->links->web analysis studio. While I access html client by clicking explore in the workspace toolbar. However, if the user doesn't belong to admin group, I can't find the explore toolbar. Then I can't access html client. As we know, not all web analysis users should be admin users. This issue puzzles me very much. Is there someone who can give some good suggestions? Thanks a lot.

    The user needs the 'Explorer' role to see the 'Explore' button. The user does not need admin privs for this.
    To access Web Analysis Studio directly, go to http://<server-name>:19000/WebAnalysis/WebAnalysis.jsp or http://<server-name>:16000/WebAnalysis/WebAnalysis.jsp.
    G'luck
    Andy

  • Date format problem in web dynpro java

    Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section.  Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else.  Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
    Regards
    Kal

    The date format in the Web Dynpro Java Application depends upon locale. At runtime WDJ will do the following process to get the current locale for the date format to be determined.
    1. First the WDJ Application will check for the locale set for the user in UME.
    2. If there is no default locale in UME, then the it will check for the locale in the in the browser which in most cases by default is en-us.
    3. If not, then it will check for the sap.systemLocale in the Propertysheet default of Visual Admin
    4. If there no locale specified in Visual Admin, itu2019s taken from the WAS JVM
    Please check the below SAP Note
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
    Regards,
    Chandran S

  • Error 10000 Date format issue

    Hi all,
    Has anyone seen the following error please or has a troubleshooting hint: -
    "[NT AUTHORITY\SYSTEM (15/10/2012 18:35:12) - Service request cancelled due to an error.
    Error Code: 10000
    Error Description: Failed to create lease requisition.
    Fault code: soap:Server
    Fault string: Service Form Field: 'WarningDate2' has Date format issue.
    Fault details: REQ_0024Service Form Field: 'WarningDate2' has Date format issue.
    CIAC = 3.01
    Date and Time format on the CCP, CPO, vmware and SQL servers all Italian (dd/mm/yy)
    This only happens when we add a Lease Time on the request.
    Do they all have to be set to the US format for this to work?
    If this is a regional setting thing, do I have to change the format on all of the servers (CIAC components)?
    Cheers
    md

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Issue opening Web Analysis report

    I create, with buttons, links between reports in web analysis. Sometimes when I click on one of them in workspace, it doesn't open linked report, but another one. Furthermore this last one is automatically saved as the previous report, and I can't open the original linked report. Any suggestion about this ?
    Thanks in advance.

    Hi Natesh,
    Thanks for your reply to my query posted in this forum. Please find my inline answers between asterisk to your questions:
    Whatz the source of your Grid? Relational SQL Query (OR) A spreadsheet with Essbase database connection file?
    * Yes, the source is Essbase.*
    If source is Essbase, it seems- Outline might've got altered when you're trying to refresh the report.
    * The outline was in tandem when we tried running this report in WebAnalysis. This outline & WebAnalysis report which is in Dev Server is a replica of the one in Test Server where it runs fine. *
    If source is based on a Relational SQL query, chances are that- Query is no longer valid.
    * NA as this statement is NOT applicable to our source.*
    If it's Essbase, it's also likely that- It ran out of time while fetching the data from Essbase. You may try playing around with the parameters in Essbase.cfg file.
    * This might be one of the causes, but I double checked the all the tunning parameters in Essbase.cfg file in place.*
    Could you please through more observation on this issue. Let me know if any further information is needed!.
    Thanks for your time.
    Regards,
    Krishan
    Edited by: user10475612 on Nov 8, 2009 1:07 PM
    Edited by: user10475612 on Nov 8, 2009 1:09 PM
    Edited by: user10475612 on Nov 8, 2009 1:12 PM

  • Date Object Issue in WebI

    Hello All,
    Currently I am facing an issue with Date Object in WebI. The data type of this specific object in Oracle (11g) is TimeStamp. If I use this object as one of the query filters in my report, I get "ORA-01843: not a valid month" error. I tried writing the custom sql with converting the format of the object to MM/dd/yyyy using TO_DATE function and it works well. Just wondering if there is any other solution that can be implemented at object level. The only solution I can think of is to use TO_DATE function and convert the object at the Universe level. Appreciate if there are any suggestions to handle this.
    Thanks,
    Sowrabha

    Hi Sowrabha,
    Are you hardcoding the date or passing it as a prompt?
    After passing the date value dont run it but check the SQL. What format do you get? Is it yyyy-mm-dd?
    Also try to pass the date in the prompt or filter as dd/MM/yyyy and check if it is working fine.
    It could be the case that the day which you are passing is becoming month in SQL. You might not face the issue with dates like 01/01/YYYY , 02/02/YYYY, ..... , 12/12/YYYY as 1,2,.....12 passed as month wont give any issue.
    The date format inside SQL is dependant on the database and can be checked in PRM file.
    Please check it and let me know.
    Regards,
    Yuvraj

  • SAP Business Objects 4.1 - American Date Format Issue

    This issue is something that keeps arising, if your viewing a crystal report, or building a new Webi report in 4.1 and viewing it, the date format seems to come out as M/D/YYYY HH:MM:SS, this never happened in 4.0.
    I will give an example, today I updated a 4.0 to 4.1 using the update path in a development server, and updated to 4.1 SP03 which is the latest. When I decided to write a Web Intelligence Report or create a Crystal report and publish this, all the date formats came out in American date format, and not the standard English one DD/MM/YYYY HH:MM:SS anymore. However if I go to the Live server which I haven't yet updated and is still on 4.0 SP04 Patch 11 and perform exactly the same its in English format as it always was.
    Can someone please enlighten me to what has changed from 4.0 to 4.1 in terms of configuration regarding the date formats changing.
    My server regional settings are English, and using the default GMT date time, so is my machine. 4.0 works 4.1 doesn't work the same.
    I have tried changing the .prm files in the connectionserver\dataaccess folder as well, this doesn't seem to make a difference and also used LOV's in universe objects and when using these in prompts you get ameican format. I have also changed the preferences in the BI Launch Pad to view English locale and the GMT date time for Greenwich Mean Time. 
    Please can someone advise or suggest where I am going wrong here and how to solve this.
    Many Thanks

    Thanks for your quick response. I have done the check on the universe design tool. I have tried the options - Migration forced and set English (UK). I purged the LOVs and refreshed. No luck as yet. Checked the locale and seems to be fine. When i change the BI launchpad - Web Intelligence preferences to HTML, then the LOV displays correctly - dd/mm/yyyy. The behaviour only occurs when displaying LOV in Applet mode. Maybe will have to look at some Java settings. Thanks
    Added Update- I created a variable =GetPreferredViewingLocale() and tested in WEBI Report with a date object. When I use the BI launchpad Web intelligence Preference to HTML - it display EN_GB. When  I use the BI launchpad Web intelligence Preference to Applet - it display EN_US. It seems to be taking preferred viewing locale as US in applet mode is there a way to fix this please.
    Added Update - It was a bug on Infoview and has been resolved on SP4 . The ADAPT Ref is ADAPT01718291. Just finished testing on UAT, going Live next week with SP4. 

  • Date format issue in oracle database

    Hi,
    Back end : Oracle 11.2.0.2.0
    Front end : Forms 11g
    In our application we are facing issue with TO_DATE('DD/MM/YYY') Date format conversion.
    Example: TO_DATE(P_date,'DD/MM/YYYY') giving the result as 20-Dec-0009
    In the above eg the Parameter P_date is coming as '20-dec-09' from the front end (forms 11g)
    The Nls_date_format parameter at database level is set as 'DD-MON-RR'
    Its working fine after changing the conversion as TO_DATE(P_date,'DD/MM/RRRR') .- If we do like this , we need to change in many places , so instead of doing this, is there other solution wrt database settings/Application settings where we can change and fix this issue
    pls help us to solve the issue.
    Regards.
    sathish k

    892913 wrote:
    Hi,
    Back end : Oracle 11.2.0.2.0
    Front end : Forms 11g
    In our application we are facing issue with TO_DATE('DD/MM/YYY') Date format conversion.
    Example: TO_DATE(P_date,'DD/MM/YYYY') giving the result as 20-Dec-0009
    In the above eg the Parameter P_date is coming as '20-dec-09' from the front end (forms 11g)
    The Nls_date_format parameter at database level is set as 'DD-MON-RR'
    Its working fine after changing the conversion as TO_DATE(P_date,'DD/MM/RRRR') .- If we do like this , we need to change in many places , so instead of doing this, is there other solution wrt database settings/Application settings where we can change and fix this issue
    pls help us to solve the issue.
    Regards.
    sathish kWell the solution is right in front of you. As you say, your database environment is set to DD-MON-RR so your database is set to use 2 digit years (something most people moved away from with the millenium bug more than 10 years ago now). You can either change all your code to use RRRR as you've found, or change your database NLS setting to DD-MON-RRRR and change your front end application to pass you a date with 4 digit years so you get e.g. '20-dec-2009'.
    So many people worked hard to resolve the millenium bug issues all those years ago, but still we have people, all these years later, who want to reintroduce the problem. So sad.

  • Arabic Language aliases issue in Web Analysis reports

    Dears,
    I'm using Web Analysis to build reports with aliases in Arabic language. Aliases appear as small squares. Is there any configuration or workarounds should I do to solve this issue?
    Thanks.
    Regards,
    Ahmad.

    Hi,
    Make sure that you have the right version of JRE in the system. Please try this steps in one client machine
    1. Uninstall all the version f JREs from a client computer
    2. launch Web Analysis Studio from that client computer
    3. It will prompt you to download & install the compatible JRE from the Web Analysis server into your client computer
    4. Install the JRE
    Hope this helps
    Regards,
    Nowshad.

  • Security issue in Web Analysis

    I have an issue with granting security to users and groups who are accessing a presentation in a shared desktop.
    As per Web Analysis Studio Guide,you should also
    "Edit Security file properties to grant access to groups hyperion web analysis"
    Can anyone help me with how to edit Security File properties?
    If this is not the best practice,can anyone suggest any other approach of provisioning security for documents in Hyperion Web Analysis?

    can you tell me what inherit permission you gave to make it work.
    I have a folder having a view access only. whenever i make new reports as admin...i cant see my new reports untill i refresh the "apply permission to children" options gain.
    But thats not what i m looking for...i want it come on its own when I create a report.

  • Java issue with web analysis

    Hi,
    Web analysis is taking too long to start on client machines. I had this issue a couple of years ago with java 1.4.10. hyperion came back with a solution to increase the memory java uses on both the server and the client.
    »Xms128m -Xmx256m -Xss2m » in the Java plug-in (Control Panel>Java plug-in>Advanced)
    I cannot see on java 1.5.11 how to add this in. Java 1.5 was meant to make web analysis faster. In some environments it has but in this partilcuar case web analysis is very slow.
    I would appreciate it if anyone could suggest a way to make web analysis faster.
    The server environment is unix. Can a cache setting be added to java?
    The client issue is the most pressing one.
    Thanks in advance,
    Nathan

    Hi,
    Go to Java Control Panel, select the Java tab. You'll see Java Applet Runtime Settings section. Click View and fill the Runtime Parameter with your settings.
    HTH,
    Gerd

  • Date format in the Web layout of Oracle 10g Reports

    Dear all,
    I want to change the date format in the oracle reports. I am using weblayout & paper layout. I have changed format mask using property inspector. It appears in paper layout. How can i get in the weblayout, please help me.
    With Regards,
    Srinivas

    Hi Srinivas,
    I think whatever applicable in Paper Layout should be applicable to Web Layout also.
    Regards,
    Raj

  • Uk date format issue with ASP and Access Database

    I have an Asp form which updates records in an Access
    database. Problem is
    that the date format in the database record is dd/mm/yyyy
    (UK), when
    the record is displayed on the form it is mm/dd/yyyy(US)
    which after I
    update the record in the database the date has changed to the
    new format.
    I have tried everything I can to change the format but to no
    avail...anyone any ideas how I can resolve this issue?
    Thanks
    Steve

    stevo.s wrote:
    > Hi
    >
    > I have tried changing the format on the date field on
    the server behaviours
    > panelto ddmmyyy. Also have tried to set the form field
    format to ddmmyy. I have
    > also tried to use a function I got from a posting
    somehwere on the net to no
    > avail. <%function ddmmyyyy(varDate)
    > ddmmyyyy = Day(DateValue(varDate)) & "/" &
    Month(DateValue(varDate))
    > & "/" & Year(DateValue(varDate))
    > end function
    >
    > I believe that this is a recognised issue with
    Dreamweaver and Access but
    > can't seem to grasp the work around! Problem being I am
    teaching myself through
    > books and internet articles and can be weeks at a time
    without being able to
    > look at the issue..each time I come back to it it is
    like starting all over
    > again! I was hoping that somewhere out there there is a
    simple solution the
    > issue perhaps a date picker with the built in
    functionality to address the
    > issue...I am keen to understand how to deal with the
    issue rather than just
    > change my database date field to fudge the problem as I
    am in the UK and when I
    > eventually start to use the application I would like
    there to be some
    > consistency with dates and that users are familiar with
    the format.
    >
    > Any help gratefully received!
    Its not Dreamweaver, or Access, its your servers locale, its
    set to US
    format, not the UK.
    On your page at the top use:
    <% Session.LCID = 2057 %>
    This will force the page into using UK formatted dates. Use
    it on any
    page that needs to format the page correctly.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Date Format Issue with Interactive Form

    Hi, here is the scenario:
    -We just upgraded to SP17 from SP15
    -I'm using Livecycle Designer 8.0
    When we were on SP15, this was not an issue.  I was wondering if anyone encountered this problem and if so, if there is a workaround?
    I create an interactive form to start a guided procedure process.  Im passing the data from my desktop Interactive form to another callable object in GP to send an email with the PDF attached.  This all works correclty. 
    My date/time fields are set to type DATE with a display pattern of YYYY-MM-DD.  When I create the form in the GP administrator to my desktop and open the PDF, the date format is correct. However, when I submit the form to start the process, the incomming date fields to be mapped to my second Callable Object have change in format from "2009-02-18" to  "Wed Feb 18 00:00:00 EST 2009".
    This is true in the new form I receive via email, and also in NWA->monitoring->guided procedures when I check the instances.  The input mapping is already set to the false formatting.
    When I open the form from the second callable object with the incorrect date format (in designer), the date's display patterns are set to YYYY-MM-DD but are not being displayed as such.
    New discovery....I tried to create a Business Logic callable object and format the date.  I created a string input and date output and mapped them accordingly.  When I perform a "TEST" from the design time and use the input "Wed Feb 18 00:00:00 EST 2009", the string is automatically converted to 18/02/2009 in the output, which is what I want to occur.  The only problem is when I run the actual process, the same "Wed Feb 18 00:00:00 EST 2009" is being output instead of the 18/02/2009 in the TEST.
    Anyone have any ideas?
    Thanks.
    Edited by: Warren Clements on Feb 26, 2009 2:20 AM

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Date Format issue while Connecting to Oracle8i and Oracle10g

    Hi All,
    While playing around with JDBC drivers, I came across this weird issue. I have a Local machine with Japanese Locale and I have 2 Database Servers that too with Japanese Locales and Oracle 8i and Oracle 10g each. Now, I connect to these database using JDBC drivers for 8i and perform "select sysdate from dual". Then, m getting dates with 2 different format. While 8i being returning Date with 'DD-MON-RRRR' format, 10g returns date with 'DD-MM_RR' format.
    Initially I thought it might be because of some VM Locale thing but when I connected to 10g DB from 8i Oracle client, this behaviour did not changed. Which mean in this case also the date format returned ny the query was different.
    Guys F1! F1! (Help! Help!) Appreciate your help to understand this process. Links and suggestions welcome... :)

    I guess u did not read the whole content. I mentioned this but the difference in behaviour with respect to JDBC drivers made me post this in Java forum.
    As I mentioned, it has something to do with the jdbc driver or oracle server itself. Agreed, but what that "something little to do" is the maiin question.
    I mentioned that I want to understand this process about how JDBC driver works with Client VM specific Locale settings while interacting with Oracle Database.
    Don't you think it could be interesting to know, what it is which brings this difference in results. Its all about clarifying the small bits & pieces which stays unanswered if one overlooks. Its own perception, I felt like asking question, no offense right!

Maybe you are looking for

  • I have two ICLOUD accounts how do I merge them I've bought storage on both

    I have two paid ICLOUD accounts that I have bought extra storage on how do I merge them into one account?

  • ITunes suddenly not recognizing my iPod Touch 4g

    I got a new 32gb iPod Touch, 4th Generation, last week. Everything's been working fine. Then, this morning, I went to sync my iPod and iTunes didn't open automatically. I opened it manually and it hung for a few seconds then worked again but my iPod

  • IPhoto 08 Help - iPhoto shows no photo's but data is still there.

    Hi there. I have a Macbook Pro 15" and am running iLife 08. Basically my harddrive isn't big enough for all my photos so for the past year I have been using an external harddrive to hold all my photo's and using an alias (named iPhoto Library, in the

  • Apache Reverse Proxy to 2 ITS Hosts

    We have two systems that we want to hit from the internet via reverse proxy. One is an ECC 6.0 system and the other CRM 5.0. The ITS for these systems is the Integrated ITS: ECC sytem: http://ecc.system.com:8001/sap/bc/gui/its/sap/webgui CRM sytem: h

  • Typeahead with a busy Application

    Hi, I hava a java application with a single thread server and a mullti thread client. It works only when I make the client busy implemented with a visible glasspane. Then go all events to the glasspane. How can I implement the typeahead that all even