Date Format Issue IN BEX REPORT

Hi Experts,
we are working on BW 3.5.
we have a ODS where data is uploaded through flat file and there are 5 to 7 date field all made of Z infoobjects.
So now the user is putting the data for these Date fields as 20110901 = 1st sep2011. but in report its coming as 09/01/2011
when i checked all the Z fields that are created for this date fields have reference character as Date
only one field is character so it is coming correct as given by the user
but rest all are appearing in different format . In ODS also the date is coming as 09/01/2011
now the user want all the data to be in the same format as given by HIM.
I cant even change the properties of these Z info object removing the reference info object 0Date and make them character string.
so now please suggest how to upload the date given by the user as it is without changing the format and also how to change the format for the back data as its flat file so No data can be deleted.
thankkkkkkkks

hello
Bex analyzer is an excel add-in. Date formats are based on your regional settings.
If you want to have a different date format in the sap gui then you have to change your user profile in sap system.
Flat file upload needs the date format in a database format (YYYYMMDD).
You can transform the date in the transformation step with rules or with a routine( abap coding).
Thank you
Yiannis

Similar Messages

  • Date Format issue in my report.

    Hello Experts-
    I created a report with a date prompt, which we need to enter two dates, start date and end date.
    I followed the steps as they were in this link
    http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    I changed the condition in the prompt to Date'1900-1-1' instead of TIMESTAMP'1900-1-1- 00:00:00
    I.e.,
    CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE Date' 1900-01-01' END
    and
    CASE WHEN 1=0 THEN CALENDAR.D_DATE ELSE Date '2999-12-31' END
    I stored those two dates in two presentation variables start_date, end_date
    In my report, I imposed a filter on my table that, date coulmn in my table is between Date'@(start_date}' and Date'@{end_date}'
    But when I am running the report with entering two dates, I am getting this error:
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 12/1/2010 does not match the specified format. (HY000)*
    I entered 12/01/2010 as start date and 12/02/2010 as end_date
    Can you please guide me in this issue.

    I think your date format is in different format with the date format u stored in presentation variable so better check the date format of the case function u wrote it in you variable that will solve the problem.

  • Issues with BEx Reports in SAP Enterprise Portal

    Hello Experts,
    I am facing issues with BEx reports integrated in portal. Below are more details:
    Scenario 1:
    Execute a BEx report in the portal, save it in 'My Portfolio' using 'Save As' button. Now open the saved report from 'My Portfolio'. Below is the issue for this scenario:
    When I open the saved report, I get 2 error messages and 1 info message at the top of the report. They are as follows:
    The metadata of 'ITE' 'TEMPLATE_PARAMETERS' are incorrect for parameter 'COMMAND_PROCESSING'
    The metadata of 'ITE' 'FILTER_PANE_ITEM' are incorrect for parameter 'TEXT_WRAPPING'
    Variables for characteristic Fiscal year/period[0FISCPER] cannot be processed
    Scenario 2:
    Execute a BEx report in the portal, save it in 'BEx Portfolio' or 'Favourites' using 'Save As' button. Now open the saved report and click on 'Send' button. As expected, the BEx broadcaster wizard should appear but, it shows '400 BAD HTTP REQUEST'. While if I open the report (not the saved one) and click on 'Send' button, it works.
    Helpful pointers appreciated.
    Thanks
    Vikash

    HI Suman,
    I am not adding the report to favourite using browser favourite. Below is the flow:
    Run the report in portal.
    There is a 'Save As' button at the top of the report. When I click that button, I get a pop-up with 3 tabs  for saving the report.:
    Favourite
    BEx Portfolio
    My Portfolio
    save the report in the favorites or BEx portfolio tab and then open it and press 'Send' button
    BEx Broadcaster Wizard should appear but instead of that, it shows '400 BAD HTTP REQUEST'.
    If I press send for unsaved report, then BEx broadcaster Wizard is shown.
    Thanks,
    Vikash

  • 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 with Bex report - key Figures not populating correctly.

    Hi Experts,
    I am facing an issue with a Bex report. There are three key figures of data type DATE having "Dec - Counter or amount field with comma and sign" datatype. After executing the query, in the report, for some sales documents the key figure fields are coming as 'X' and rest others are coming correctly in the date format as mm\dd\yyyy.
    When i check in the cube, these key figures shows values in decimal format and not in date format. The conversion is happening during execution.
    Pleas show me some light on how to identify the cause of getting 'X' for some Sales documents in the report eventhough some are coming correctly.
    Thanks,
    Anamika
    Edited by: Anamika Soni on Mar 12, 2010 10:48 AM

    Hi,
    The infobject has been defined with datatype "DATE" only. It has also been mapped from datasource to infocube correctly as these key figures are populating correctly for some of the sales documents in the report. It is not like that for all the sales documents the key figures are not converting properly.
    Some Sales documents are not converting into the date fields but for some conversion happens properly in the BEx report. This is the issue.
    Please guide accordingly.
    Many thanks,
    Anamika

  • Data format change in bex

    hi friends,
    i have 0date infoobject as one of the fields in a cube. data is uploaded into cube correctly. when i checked data in cube it's in correct format 20.12.2006, but when i checked in bex report it shows 12/20/2006. how to convert it into dd/mm/yyyy or simply day first,month second and year third component format. where i have to routine? suggestion pls..
    thanks,
    raju

    Raju,
    Change default user settings. at TCode: SU01 > User id> Change --> Defaults.
    These changes are User Specific. effects to all reports.
    Hope it Helps
    Srini

  • Strange performance issue in bex report

    Hello Experts,
    I have a performance issue on my bex report.
    I'm running the report with below selection criteria and getting 'too much data' error.
    Country :  equals EMEA
    Category: not equlas 13
    Date : 02/2010 to 12/2010.
    But when I ran the report for smaller date ranges the number of records are not exceeding 13000.
    02.2010 - 06.2010 - 6,555 rows
    07.2010 - 09.2010 - 3,671 rows
    10.2010 - 12.2010 - 2,780 rows
    I know excel can't fit more than 65000 records, but I'm expecting 13000 records for my wide date range which excel can easily fit.
    Any ideas on this one will be appreciated.
    Regards,
    Brahma Reddy

    Hi,
    For Question 1:
    In query designer Go to the Query properties and select the tab "Variable Sequence", here you can set the order of variables as per you requirement.
    For Question 2:
    There will be a option "Hide Repeated Key values", if you uncheck this option then you will have the values for each row even though the material values are same.
    Note; if you are viewing the report in web or WAD report you need to make the same changes in the Web template also because the settings in the query designer will be overridden when you run the query in web.
    Hope this helps.
    Regards,
    Rk.

  • Date Format  changes in  the Reporting side..

    Hi friends,
    I have one date field that is Keyfigure (not a Time charecterstic) ...now i want to display date in DD- MON - YYYY format... but up to modelling side my date format is DD.MM.YYYY.....
    i dont want to change in modelling side.. because.. this required format is needed only for some querys ...
    so, can any one suggest me is there any chance to get the date format in the reporting side like this..(27-JAN-2007) ..
    helpful answers will be appriciated..
    Thanks
    Babu

    Hi Babu,
    If the format is required in the Bex analyser then its system dependent setting .
    Control panel - > Regional & language options -> Regional options -> Customize -> Date -> Short Date format -> DD-MMM-YYYY(Change) .
    Do not forget to log off and re-login into bex,execute queries and see the output.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • 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 Parameter Issue in XML Report

    Hi,
    I have developed a custom report using xml data definition, but it returns an error when running with date parameters.
    I have given the parameters like this..
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "XXX Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    --- />
    Error -
    XDO Data Engine Version No: 5.6.3
    Resp: 21623
    Org ID : 84
    Request ID: 670920
    All Parameters: P_ORG_ID=:P_DIFFRENCE=BREIF:P_FROM_DATE="2013/03/01 00:00:00":P_TO_DATE="2013/03/28 00:00:00":P_FROM_SO=:P_TO_SO=
    Data Template Code: XXX_REP
    Data Template Application Short Name: ONT
    Debug Flag: N
    {P_FROM_SO=, P_TO_SO=, P_TO_DATE=2013/03/28 00:00:00, P_DIFFRENCE=BREIF, P_FROM_DATE=2013/03/01 00:00:00, P_ORG_ID=}
    Calling XDO Data Engine...
    --SQLException
    java.sql.SQLDataException: ORA-01830: date format picture ends before converting entire input string
    Please help me to solve this issue?
    Thanks

    Please find the sql query,
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "Free Issue Audit Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    <![CDATA[
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) = decode(:P_DIFFRENCE ,'DETAIL',(tb2.ordered_quantity - tb2.free_qty))
    union
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) != decode(:P_DIFFRENCE ,'BREIF',0)
    ORDER BY 4,5 --tb2.order_number, tb2.line_number
    ]]>
    </sqlstatement>
    </dataQuery>
    <dataStructure>
    <group name="G1" source="Q1">
    <element name="OPR_UNIT" value="OPR_UNIT"/>
    <element name="ORG_ID" value="ORG_ID"/>
    <element name="HEADER_ID" value="HEADER_ID"/>
    <element name="ORDER_NUMBER" value="ORDER_NUMBER"/>
    <element name="LINE_NUMBER" value="LINE_NUMBER"/>
    <element name="ITEM" value="ITEM"/>
    <element name="ITEM_DESC" value="ITEM_DESC"/>
    <element name="ORDER_DATE" value="ORDER_DATE"/>
    <element name="ORDER_QTY" value="ORDER_QTY"/>
    <element name="FREE_QTY" value="FREE_QTY"/>
    <element name="DIFFRENCE" value="DIFFRENCE"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Thanks

  • Date Format issue while creating date parameter

    While creating date parameter in the crystal reports 2008 with SQL Server 2008 database connection, I want to change the date format according to the specified format in the database.
    For ex: YYYY/MM/DD and MM/DD/YYYY
    This paramter will be editable in the viewer i.e. I'm going to provide option to the user to change start date and end date for data selection.
    Please help!
    Thanks in Advance!

    i found this
    i am trying to get the Enter Values screen for parameters to allow entry in a specific format 'DD-MON-RRRR' connecting to an Oracle database. I found that a hack is possible yet I would prefer a clean solution that wont need files changing on client machines. The hack involved changing some javascript files within the Crystal Reports directory. The problem is I now have the date from the calendar in the correct format but it displays the following prompt: Please enter DateTime in format "dd/mm/yyyy hh:mm:ss".
    Is there a way to supress this or better yet a way to specify date format without changing the javascript files of Crystal Reports.
    I am using Crystal Reports 2008 SP1.
    answer---
    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:

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

  • Date comparision issue in the report

    Hi Buddies,
    I explain the scenario,
    I have an dunning letter statement report which basically run for the three remainders (1,2,3) to the customer.
    If the remainder 3 runs , i want to display the pervious remainder dates of 1 and 2 in my report.
    If the remainder 2 runs, i want to display the pervious remainder date of 1 in my report.
    I have date column in the dunning letter history table as Dunning_Date.
    How can we achive this in sql?. I am getting struck over here, please give your advice to do it.
    Regards
    Ram

    I think your date format is in different format with the date format u stored in presentation variable so better check the date format of the case function u wrote it in you variable that will solve the problem.

  • 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

  • Date format interfering with interactive report

    My APEX version is 3.1.1.00.09.
    I'm using a method described elsewhere to change the global date format of my application. I have application items for a start and end date. I have two application processes, one for On Load: Before Header, the other for On Submit: After Page Submission - Before Computations and Validations. They both do:
    DBMS_SESSION.SET_NLS(param => 'NLS_DATE_FORMAT', value => '''fmMM/DD/fmYY''')
    Okay, all is well with that, my dates seem to stay the way I want them to. Since our upgrade I'm going through each section of my application and updating as necessary, and I particularly want to use the interactive reports. They work fine when the page is loaded, but if I change any options on the interactive report and submit it, I get an "ORA-01843: not a valid month" error. If I refresh the page, everything works as it should.
    What can I do to get around this, or do I have something wrong with my method that is causing this to happen?
    Chris

    Hi Chris,
    I tried to replicate this, but could not. Now granted, I tried this using the new "modern" method of controlling the default application date format via the new application Globalization attribute "Application Date Format". I set the Application Date Format to fmMM/DD/fmYY and my IR on EMP worked just fine.
    If you can replicate this on apex.oracle.com (using Application Date Format), I'd be happy to take a look at it.
    Joel

Maybe you are looking for

  • Using the BH-501 with PC and phone?

    The user's guide for my BH-501 headset specifies that you can connect the headset to a phone and a music player. What I want to do is to use my PC as the music player, while still being able to answer/make calls on the phone (an E51). The problem I r

  • Automatic Payment Program Master Data Validations

    Hi, We´re configuring a new payment method for our company code (payment method T - bank transfer). We are using program RFFOM100 to generate the file that has to be sent to the bank. We had to enhance this program because the format of the file that

  • NOKIA E71 "malbox' in use error message cannot sen...

    Hi, I have a Nokia E71 and cannot send emails from the gmail or pop 3 accounts set up on the device. I can recieve emails and I know the settings are correct for the incoming and outgoing servers. A google search has shown a number of people had this

  • Front Row/computer not hooked up to internet?

    Hello, When I go into Front row, and then into trailers, I'm warned that I am not hooked up to the internet,please check network settings. I'm using Safari and mail while doing this and network diagnostic checks out just fine. Any thoughts, Raff

  • Function module to change the address on the business partner in SAP-ISU.

    Can some one send me the function module to change the address of businees partner in SAP ISU.