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

Similar Messages

  • 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

  • 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. 

  • Issue while activating data objects in doe

    Hi All,
      Im very new to Netweaver mobile 7.1 development. I created bappiwarappers using wizard and and completed it successfully. But when im trying to activate the data objects it goes into runtime error stating eceution time exceeded. I increased my execution time and tried still it goes into dump.
      But when i come back and see data objects its status under data objects details shows active but the light is still yellow which should be green.
      Lastly when i try to activate backend adapter it says "Unable to find generated objects in repository". I think im missing something how to identify he issue?
    Regards,
    Asif.

    You can check the status of the data download in administration portal
    If you are using SP09 or below:
    Goto NW Mobile Administration -> Monitoring -> Logs & Traces -> BACKEND_INTEGRATION and provide SWCV Name and click on "Go" button. It will display the load information of all the objects where on expansion of the nodes will give you the exact status. whether load failed or success. We will get a clue based on the status.
    If you are using SP10:
    Goto NW Mobile Administration -> Monitoring -> Process Monitoring. Here you can get the status of all the data downloads.
    Regards,
    Siva.

  • Import Data object using web service adapter

    Hello experts,
    In DOE, theres a way to import Data Object from a wsdl using webservice adapter. We got to know that there are some guidelines(constraints) on the operations provided in the wsdl to be able to use webservice adapter. Could you please give a sample wsdl which can be used to import Data object for our reference?
    Thanks in Advance,
    Srilatha

    Hi Srilatha,
    SAP Netweaver 7.3 is not yet released to customers.  Once, this happens we will post sufficient documentation related to the Import of Data Objects through WSDLs.  In case you require the information urgently, kindly get in touch directly with the colleagues from DOE Mobile team.
    Best Regards,
    Kranti

  • Date error when scheduling webi reports

    Hi,
    When i click the prompt option in re schedule the scheduled webi report, i got the error "while trying to invoke the method java.util.date.gettime() of a null object loaded from a local variable 'date' "
    The BI version is 4.1 SP03
    The scheduled webi reports failing and got the error as "Unparseable date: "01/01/1900" "
    How to solve this issues?
    Regards,
    Kathir

    This might fix it from the note http://service.sap.com/sap/support/notes/1981477
    Create a WebI report that uses a date object in the Query Filters
    Schedule the report
    Reschedule by manually entering date value which shows only date and no timestampExample: 12/31/2007
    Reschedule by selecting date value from the calendar which shows date timestampExample: 12/31/2007 12:00:00 AM
    Create a biar file using the Import Wizard and migrate to BI 4.1 SP2
    BI 4.1 SP2 BILaunchPad, navigate to and Right click the report and go to “History”
    Right click the instance without a timestamp for the date parameter and select “Reschedule”
    Click on “Prompts” on the left menu and note an error is produced:This error occurred: while trying to invoke the method java.util.Date.getTime() of an object loaded from local variable ‘date’
    Attempting to schedule this instance (as Run Now or Reschedule) without selecting a Prompt value fails with the error:  Unparseable date: “12/31/2007”
    Using the instance with a timestamp works as expected

  • Website needs Microsoft Data Access - Active X Data Objects

    I have a number of websites for work that are seem to be built around Internet Explorer. When I try to open them on my Mac at home with Safari, I get message that I pasted below.
    I'm thinking this might be related to the fact that when I open them on a PC for the first time it shows a similar message, but Internet Explorer prompts me to download and run "Microsoft Data Access - Active X Data Objects", and then it runs fine.
    Based on this I'm assuming it's a lack of these "objects" that are causing this problem. Is there any equivalent to these components for the Mac? Anything I can try to access these websites from my Mac? I've tried using Firefox as well, which has the exact same issue.
    Right now I've got to fire up my 2006 PC laptop to use Internet Explorer every time I need access to these sites. I realize I could install windows on my Mac with bootcamp and restart in windows every time I need access, but that seems like a waste just to visit 2 websites. Any advice?
    +"Scanning Required components...+
    +The user's Internet browser requires proper configuration to access our site. Read the following instructions on how to set up the browser properly.+
    +Active Scripting Configuration:+
    +Select Tools from the Internet Explorer menu bar.+
    +Select Internet Options ...+
    +Select the Security tab.+
    +In the Web Content Zone list, select «Internet».+
    +Click Custom level....+
    +In the Settings list, scroll down to the Scripting section.+
    +Check the Enable option under the «Active scripting» item and click OK.+
    +Click Yes to confirm the change in the security settings.+
    +In the Internet Options dialog box, select the «Local intranet» and repeat steps 5 to 8.+
    +Click OK to close the dialog box."+

    Hi,
    Try this...
    From your Safari menu bar click Safari / Preferences then select the Advanced tab. Enable the develop menu.
    In the menu bar click Develop / User Agent.
    Try IE 8, 7, or 6.
    No guarantees but can't hurt to try. ActiveX requires Windows.........
    Carolyn

  • The Proper way to go - Passing Serialized Java Objects vs. Web Services?

    The team which I am apart of in our little "community" is trying to convince some "others" (management) that we should not use web services to communicate (move large data) within the same application (allbeit a huge application spanning across many servers).
    Furthermore these "others" are trying to tell us that in this same application when two small apps. inside of this large app. are both java we should not communicate via serialized java objects but instead we should use Web Services and XML. We are trying to convince them that the simplest way is best.
    They have asked us to provide them with proof that passing serialized java objects back and forth between two smaller java applications inside of a larger one is an Industry Standard. Can anyone help either straighten my fellow workers and I out or help us convince the "others" of the proper way to go?

    When I was a consultant we always gave the client what they wanted. Even if it was the wrong choice. Suck it up.
    I'm glad I wasn't one of those customers. Although I agree that a customer is the one who decides what to do, when I pay someone for consultancy, I expect them to consult me. If they know I'm trying to do something that I shouldn't be doing, I expect a good consultant to be able to show me that there's a better way (not just tell me I'm not doing it right, mind you).
    We pass a lot of data using XML and we don't have any transmission or processing speed issues.
    Then you either have a much better network than our customer did, or we're not talking about the same amounts of data here.
    I used the JAX-RPC RI ...
    That's cool... our customer was, unfortunately, infected with Borland products, so we had to use BES. The web services on BES were run by Axis.
    How large were these messages?
    Huge... each element had about 15 attributes, so 1,200 elements would require 19,200 XML nodes (envelope not included). By comparison, the serialized messages weren't even a quarter that size. It's not just about what you send across the network; it's also the effort of parsing XML compared to desrializing Java objects. Our web service wasn't exactly the only process running at the server.
    Anyone who understand the fundamental difference between ASCII (XML) and binary (serialized) formats realizes that no web service can possibly achieve the performance of binary Java services. Why do you think that work is being put into binary web services? I'm not saying XML is never a good thing; just that it's not The Holy Grail that a lot of people are making it look like.
    http://issues.apache.org/jira/browse/AXIS-688
    Ouch.

  • Unable to delete master data line items - Master data object CCHIUSRAM

    Hello
    We have an issue with the Master data Object CCHIUSRAM - CC Hier User Auth Maintenance. It has only master data and no texts no hierarchy. It is not time-dependent. It has /BIC/PCCHIUSRAM, /BIC/SCCHIUSRAM as database table only. This master data is not being used in any infoproviders.
    In development client we are able to delete the line items of the Master data along with entering line items. RSRV check gives green for all checks.
    In Test / Production client we are not able to delete the line items of the Master data. We are only able to enter master data lines and if we change any item then it creates another entry in the table.
    Tried SE14 & RSDMD_DEL_MASTER_DATA - both does not help.
    Did ST05 trace, could not find something concrete.
    If any one has faced such an issue with any master data item then a response is much appreciated. It has become a bottleneck for us.
    Many Thanks in advance
    Pradip Parmar

    Thanks for the response.
    I can do this in EBD, but it is working fine in EBD. I cannot do this activity in EBP / EBT as the systems are closed and I cannot activate directly in EBT / EBP.
    Besides, I have recently transported active versions of the object in EBT / EBP all again twice to see if it changes anything.
    My guess is that, there is something stupid may be I am missing somewhere.
    Any help is much appreciated.
    Thanks

  • How do I reference the data object in a DataGrid to show an image correctly in Acrobat?

    I'm creating an inferface for an Acrobat application  and I'm having a issue with displaying an image in a grid.  When I hard code the source="statusNONE.png" it works as intended (with an image, not the image associated with each grid item), however, when I try to use the source="{data.@icon}" to reference the dataProvider (XMLListCollection) I get nothing.  Not a broken image or anything.  I think I may just not be referencing the XMLListCollection correctly, otherwise I don't know why it would work with hard coding vs. fetching the string from the XML.
    //Application Header (Flex 4.5)
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     width="100%" height="100%" creationComplete="eaton_creationCompleteHandler(event)"
                                     currentState="Review">
    //Sample of XML that gets used as basis for XMLListCollection
    <Annots>
         <Annot name='TEST' index='14' feedback='' canConstruct='0' icon='statusNONE.png'/>
    </Annots>
    //creation of the XMLListCollection from String
    [Bindable] protected var fullXML:XML;
    [Bindable] protected var fullXMLCol:XMLListCollection;
    protected function loadXML(xmlString:String):void
          fullXML = new XML(xmlString);
         var fullXMLList:XMLList = fullXML.children();
          fullXMLCol = new XMLListCollection(fullXMLList);
    //DataGrid
    <s:DataGrid left="0" top="0" bottom="0" width="142" dataProvider="{fullXMLCol}"
                                            requestedRowCount="4" rowHeight="30"
                                            top.Confirm="87">
                        <s:columns>
                                  <s:ArrayList>
                                            <s:GridColumn dataField="@name" headerText="Annotations"></s:GridColumn>
                                            <s:GridColumn headerText="status" width="30" >
                                                      <s:itemRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer>
                                                                                    <s:Image width="30" height="30" source="{data.@icon}"/> //THIS IS THE PART THAT SEEMS TO BE GIVNG ME TROUBLE!
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:itemRenderer>
                                            </s:GridColumn>
                                  </s:ArrayList>
                        </s:columns>
                        <s:typicalItem>
                                  <fx:Object dataField1="Sample Data" dataField2="Sample Data" dataField3="Sample Data"></fx:Object>
                        </s:typicalItem>
              </s:DataGrid>
    Additional information.  I'm using the resources tab for the flash embedding in Acrobat for my images. This works when I am hard coding the file name string works for the source without having to add a full path, the images are not technically bundled into the swf.   I just don't understand why using the data object to get that same string would show different results.
    tl;dr: GridItemRenderer works to show images when hard coded but not when using {data}.
    UPDATE: Figured it out, needed to add a toString() to the data.@icon.   I had assumed it was a string being handed over, I assumed wrong.

    Probably because data.@icon isn't a String, it is an XMLList, and source property is an Object not a String so the runtime doesn't automatically convert it.
      Try [email protected]()

  • Problem with initial download of a data object

    Dear All,
    I have created a data object named "EQUIPMENT", which has three nodes. EQUIPMENT is the header node, DETAILS is the child node to EQUIPMENT and LOCATION is the child node to DETAILS. I have also done explicit key mapping to DETAILS and LOCATION.
    I have selected the following as the BE Keys in the nodes.
    SERIAL NO in EQUIPMENT header node.
    TYPE in DETAILS node.
    ZIPCODE in LOCATION node.
    In the explicit key mapping of DETAILS node we have selected "SERIAL NO" field in this node.
    In the explicit key mapping of LOCATION node we have selected "SERIAL NO" and "TYPE" fields in this node.
    Data object contains no errors and i have activated the data object and it was successful.
    Then i have also created back adapter which has EQUIPMENT get list and get detail. Get list returns only serial numbers (which is the BE key in EQUIPMENT node). Get detail takes "serail no" as input, returns "DETAILS" and "LOCATION" data in tables parameter. I have tested the get list and get detail interfaces, they are working fine. Then i have activated back end adapter and that was successful.
    Now i have triggered an initial download for the  "EQUIPMENT" data object, but there is no data downloaded into the data object. I have checked the monitoring in administration portal, it is showing status "Ended with errors", but there is no details of an error.
    So can you please let me know what could be mistake i have done or how to check what is the error. Please help us to resolve the issue.
    Regards,
    Kiran.

    Hi Kiran
    Are you checking in the NWMA>>Monitoring>>Logs and Traces>>Backend Integration?  The logs should have the proper error.
    If not can you regenerate the DO, edit and activate your adapter and try again?
    Regards
    Rohith

  • Unable to import merep text file as a data object in DOE

    Dear All,
    I have exported a sync bo from MI 2.5 system, to a text file. Then i have tried importing the same text file into DOE. Then the following error has occured.
    "No active nametab exists for ZEFLMI_DOC_HDR_T51".
    I am unable to understand what could be the problem. Can someone please help me, how to resolve this issue, so that syncbo can be imported as a data object.
    Regards,
    Kiran.

    Hi,
    The backend for middleware should be same as what it was in MI.
    the erro comes when the corrosponding structure in a bapi doesnot exists in current backend.
    Please check if the structure ZEFLMI_DOC_HDR_T51 exists in backend.
    Thanks,
    Rohit

  • DOBJ.UPDATE_FAILED error while attaching adapters to Users Data Object

    PROBLEM DESCRITPION:-
    The following error occured while trying to attach entity adapters to Users Data Object (com.thortech.xl.dataobj.tcUSR) in Post-Update section.
    Error Message: The security level for this data item indicates that it cannot be updated.
    Update failed.
    Update failed.
    Error Keyword: DOBJ.UPDATE_FAILED
    Description: Update failed.
    Action: E
    Severity: C
    Kindly suggest to fix this issue.

    Resolved the DOBJ.UPDATE_FAILED problem - I modified the dvt_data_level to 0 for dvt_post_update_sequence selective entries.
    Able to attach the custom event handlers to Users Data Object - No more DOBJ.INVALID_UPDATE error!

  • Error while generating Data Objects in sdoe_wb SAP for Basis component

    Dear all,
    While generating SAP BASIS Components getting error
    After installations of SAP Netweaver Mobile 7.1 SP11 and all the Notes applied for SP11 i have done the Generation for all the SAP BASIS Data Objects
    All the Data objects are generated except AGENT_CONFIG, ARCHIVE
    When i check the same in smq2 it shows the error in Function module SDOE_GENERATE_MBO for the user FUNC001,in status text it shows "connection closed (no data)"
    kindly help on this issue.
    Regards
    Revanth

    Hi,
    well, I guess if you mean you did reset the queue - you deleted all emtries with error. Try to avoid this in the future - you will get unwanted side effects by that. There are only a few errors that make this behaviour necessary.
    Usually you should select the entry on the first screen - so you see the status of the queue on the second one. On there you can select the queue and while pressing the green tick, you can restart it. If it is a timeout - this restart usually helps.
    Wondering why you have an issue with basis objects - did you run through the complete setup guide up to this point?
    Regard,
    Oliver

  • Data Load Issue "Request is in obsolete version of DataSource"

    Hello,
    I am getting a very strange data load issue in production, I am able to load the data upto PSA, but when I am running the DTP to load the data into 0EMPLOYEE ( Master data Object) getting bellow msg
    Request REQU_1IGEUD6M8EZH8V65JTENZGQHD not extracted; request is in obsolete version of DataSource
    The request REQU_1IGEUD6M8EZH8V65JTENZGQHD was loaded into the PSA table when the DataSource had a different structure to the current one. Incompatible changes have been made to the DataSource since then and the request cannot be extracted with the DTP anymore.
    I have taken the follwoing action
    1. Replicated the data source
    2. Deleted all request from PSA
    2. Activated the data source using (RSDS_DATASOURCE_ACTIVATE_ALL)
    3. Re transported the datasource , transformation, DTP
    Still getting the same issue
    If you have any idea please reply asap.
    Samit

    Hi
    Generate your datasource in R/3 then replicate and activate the transfer rules.
    Regards,
    Chandu.

Maybe you are looking for

  • Photoshop CC 2014 crashes right after start in Win7 Ultimate. amtlib.dll seems to blame.

    Photoshop CC 2014 crashes right after start in Win7 Ultimate. Installed a new graphics card MSI GeForce GT730 and did an immediate driver update. Also completely updated Windows. Bridge and Lightroom 5.5 work fine. After several attempts to get PS up

  • Where shall I place my comiled servlet

    Hello friends, I have written a simple servlet, compiled it and placed in a folder called web-inf/classes and I have placed sevlet.jar file in web-inf/lib folder. I'm using a Tomcat5.5 version and my tomcat server is running and when I'm trying to ca

  • Delete key broken in iTunes

    I am running Mac OSX 10.6.8 and iTunes 10.4.1, and when I click on an album or artist name to edit it, for example, if I place my cursor to the right of the last letter or select the last word and hit my delete key, all it does is highlight the chara

  • Problems with XsltListViewWebPart and Migrated Libraries

    I have migrated some libraries and lists from SharePoint 2007 directly to SharePoint 2013 (using some creative scripting). While this mostly works, I have a few stubborn libraries that refuse to work properly. The problem seems to be focused around t

  • MASTER DETAIL - SET DEFAULT VALUES FOR ITEMS

    I have a master detail page where on the master I do things like updating the entered_by and entered_date fields by applying functions to set the item level details and the setting them to read only. On the detail portion of the page I'd like to do t