Issue with Date prompt Format
Hi Guys,
help me..pls
i have created one date prompt with calendar input, the date format in that prompt is like '03/15/2013' but i need to show the date format like '2013-03-15' . when i try to convert the date format, the user input calendar popup is not enabling only text box is appearing to give date input.
can any one guide me any work around..pls
Hello,
Check this one : http://obiee10grevisited.blogspot.com/2012/02/customizing-obiee-calendar-display.html
Mark if helps.
Thanks,
SVS
Similar Messages
-
Hi All,
I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
I included the following formulas for start & end date prompts:
Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
Can you please help me resolve the issue.
Thanks,
KartikHi Nico,
I tried putting the format that you mentioned, I m getting an error message.
My prompts have the following formula :
Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
My column formula has the following syntax:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
Error Message:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
Can you please let me know if something needs to be changed.
Thanks,
Kartik -
Issue with Data Provider name in variable screen for BEx Analyzer
Hello all,
We got an issue with Data Provider name in Variable screen in BEx Analayzer.
We want to change the DataProvider name there to Description of the report instead of its Technical name.
Any inputs are appreciated.
Thanks
KumarYou have to create a workbook to do this.
Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
Pravender -
Issue with data dictionary -Table maintanance generator
Hi all,
I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
2)0012 could not be generated
3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
My main motto is to create the table maintainace generator and transport to the furthur systems .
Please help.
ThnX in advance,
Vishal..HI,
Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
Thanks,
Best regards,
Prashant -
Issue with Date Format for Presentation Variables
Hi,
I am using dashboard prompts to capture begin date and end date in presentation variables. The dates selected from calendar are in the format mm/dd/yyyy.
In Asnwers I need to get a count of days between begin and end dates. I am using the column formula as shown:
TIMESTAMPDIFF(SQL_TSI_DAY, DATE '@{pBeginDate}', DATE '@{pEndDate}')
When ever I run the report from dashboard I get the following error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 1/1/2005 does not match the specified format. (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE ''1/1/2005'', DATE ''1/2/2006'' FROM "Dates"')}
SQL Issued: SELECT "Transaction Dates"."Transaction Date", TIMESTAMPDIFF(SQL_TSI_DAY, DATE '1/1/2005', DATE '1/2/2006') FROM "Dates"
Can anyone help me to reolve this date format issue?
Thanks,
AravindHi,
see this below links
Issues with Prompts calender date
Regards
Naresh -
Issue with Date format - ABAP to XML
Dear Users,
We are currently facing an issue with the date formats in XML.
We have a system (.Net), which has a webservice that we are calling for information from SAP. We created a Proxy class in SAP from the WSDL file and have attempted to use the method that gets us required information based on the Timestamp passed from SAP. However, the timestamp that the INPUT structure uses has a data element XSDDATETIME_Z.
All we can send from SAP is a simple TIMESTAMP, but the .Net system doesn't accept it since it wants the timestamp in XML format i.e. <dd-mm-yyyy>T<hh:mm:ss>Z. SAP documentation says that the field should automatically do conversion from ABAP to XML format, but that doesn't happen. We don't want to build a string from Timestamp in the XML format and send it out since we might surely miss out on the different cases involved.
Can anyone please suggest a way for us to send the date out in the required XML format?
Many thanks!Hi Vijay,
Look at the below sample code and it works fine, i guess there is something wrong in your code or conversion, post the actual code if you are still not able figure it out with the below example.
DATA: l_xml_string TYPE string,
l_dat_time TYPE xsddatetime_z.
CALL FUNCTION 'CACS_DATE_GET_TIMESTAMP'
EXPORTING
I_DATE = sy-datum
I_TIME = sy-uzeit
IMPORTING
E_TIMESTAMP = l_dat_time
EXCEPTIONS
DATE_NOT_FILLED_BUT_TIME = 1
DATE_HAS_NO_VALID_FORMAT = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL TRANSFORMATION id
SOURCE root = l_dat_time
RESULT XML l_xml_string.
IF sy-subrc EQ 0.
write: l_xml_string.
ENDIF.
Regards,
Chen -
Issue with Date Format in line Graph X-AXIS
Hi all,
I have a line graph, with data in x-axis and integer values in y-axis.
I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
How to change this format.
Regards,
Krishna PrasadHi,
Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
select * from test
where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
cheers
VT
Edited by: VT on Oct 26, 2010 4:16 PM -
Getting an error - with date prompt
Hi,
I really need a help to resolve this issue -
I have created a date prompt As of date with presentation variable name CPG_CASH_DATE.
I have use this variable in different number columns - Amount Due Original , Amount Applied , Amount Due Remaining.
Inside the amount due original the function is CASE WHEN "Fact - CPG AR Payment Schedules"."Due Date" <=CAST(CAST(substring(('@{CPG_CASH_DATE}'),1,4)||'/'||substring(('@{CPG_CASH_DATE}'),6,2)||'/'||substring(('@{CPG_CASH_DATE}'),9,2)||' 00:00:00' AS CHAR) AS DATE) THEN ifnull("Fact - CPG AR Payment Schedules"."Amount Due Original",0) ELSE 0 END
Inside the amount applied the function is CASE WHEN "Fact - CPG AR Payment Schedules"."Due Date" <=CAST(CAST(substring(('@{CPG_CASH_DATE}'),1,4)||'/'||substring(('@{CPG_CASH_DATE}'),6,2)||'/'||substring(('@{CPG_CASH_DATE}'),9,2)||' 00:00:00' AS CHAR) AS DATE) THEN ifnull("Fact - CPG AR Payment Schedules"."Amount Applied",0) ELSE 0 END
Sometimes it is working -but now I am getting below error.
Oracle Error code: 1861, message: ORA-01861: message: ORA-01861: literal does not match format string
at OCI call OCIStmtExecute:
Please help me to resolve this issue.
PoojakPoojak,
This is a common error when attempting CAST to dates. I've resolved this in the past using Gerad's post here, http://gerardnico.com/wiki/dat/obiee/cast_as_date
I'm not sure why you are getting thie inconsistency when you say it was "sometimes" working and now it is not. Perhaps you've been in iterative develpment and changed a few things which broke something here.
Take a look at Gerad's notes that this will resolve your issue.
Please awards points if this helps or answers your question.
Cheers,
Christian
http://www.artofbi.com -
OBIEE date prompt format yyyy-mm-dd
Dear All,
We did migration from obi 10g to 11g (version 11.1.1.7.0) .
I have troubles with conversion of date prompt:
My date format is dd.MM.yyyy, but when I pass date prompt into sql it is in format YYYY-MM-DD.
How can I change that my date prompt will always stay in format dd.mm.yyyy?Hi,
There are couple of ways we can do the date format.
Please refer my blog.I have provided step by step implementation with screenshots.
http://satyaobieesolutions.blogspot.in/2013/06/dateformat-converting-using-evaluate.html
http://satyaobieesolutions.blogspot.in/2013/06/date-format-change.html
1. Using evaluate function we can modify the format.
ex:
USING EVALUATE
cast(Evaluate('to_char(%1,%2)',"Inventory"."Catalog"."dbo"."Dim_W_DAY_D_Inv_Unallocated_Run_Month"."CALENDAR_DATE",'YYYYMon') as varchar(10))
or,
cast(Evaluate('to_char(%1,%2)',<<COLUMN HERE>>,'YYYY-Mon') as varchar(10))
2. Open your report then click column properties then select Data format then select custom then here you can put which format you want.
Hope this help's
Thanks,
Satya Ranki Reddy -
Hi All,
I have a table(Revenues) and a view(locations) using which I have created a crosstab report
which has a date as a column in the table and rows contain Region and location and Summary column has the revenues.
Due to some issues I have again created another view which took data from both these (view and table) and I replaced the view in crystal report and build the cross tab.
Now I am unable to change the date time format ( Cross tab column) in the new view as it shows datatype as string.
I need to convert the date i.e this string in form ( yyyy/dd/mm hrs:minutes:sec ) to (mmm - yy)
How can i Acheive this.??
Thank you,
NaniHi
I have solved that Issue By making changes in the view.
But now I am struck with some thing else...
Here Is the Scenario.
Revenues Table has Three Colums ( Date, Revenue, Site _CODE) >>>> It has 650 rows
Locations VW has these columns ( Site_Code, site_DESC, Region,...................) It has 65 Rows.
For a cross tab I need Region and Site_Desc as Rows and Date as a Column And revenue as Summary column ( for month)
I was unable to retrieve all the Site Desc for a region in crystal reports ( Also tried outer joins in LInks tab)
So i have created a new view from both of the above which has ( date,Revenue, site_code,site_desc,Region) and updated it in the Data source location of crystal reports.
I am getting all the data from past 5 years (which has 65 rows in the crosstab)
But when I am trying to filter it to 2010 data It gives only 24rows of data ( I am loosing site desc in the regions.)
I need all the site Desc in table whether they have a revenue or not.
How can I do this.
I have tried applying the select expert but got no luck.
Your assistance will be appreciated.
Thank YOu. -
Invalid Year error when refreshing the report with date prompt
Hi All,
I am working on BO XI 3.1 with Informix database.
When refreshing the report without any date prompt the report is running fine,but when applying the date prompt it is giving the error message
"Invalid year in the date".
I have tried changing the value in the advance tab of the object property to 'yyyy-mm-dd hh:mm:ss'
But it also din't work for me.
Please suggest.
Thanks and Regards,
RishabhHi Experts,
Thanks for your suggestions.
Since changing the PRM file was not a fesiable solution for us.
We have manged to find a work around to solve this issue
We have created the filters at universe level with following formula for all the date objects which we ere using at report level as a prompt:
@Select(classname\objectname)=TO_DATE(@Prompt('Enter Date:','D',,mono,free,not_persistent), '%Y/%m/%d')
Although when we parse this formula it wil give an error message saying 'illigle operation',
still it will work when we use this at report level.
Thanks and Regards,
Rishabh -
Change Webi Date Prompt Format
Hi
In BEx, I've created a variable on a date object. Processing is manual/default. Single value. Optional. And ready for input.
In the Universe Designer, I have changed the "Where" code on the filter to be a date format with a free selection - as below.
<FILTER KEY="[!V000006]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Valid Date From','D',,mono,free)"/></CONDITION></FILTER>
When I refresh the document in Webi, when entering a date for the prompt, the format is M/d/yyyy.
I would like to change this to dd.MM.yyyy - as this is what the users are used to when running queries in web templates.
Where do I set the format for the Date prompt?
We are on BO XI3.1 and SAP BW 7.0 on a DB2 database.
Thanks in advance
Anton
Edited by: Anton Vogel on Jul 21, 2011 3:36 PMHi
It does. But this can be a hassle when having to choose a date quite far in the past. It is far more convenient to simply manually input a date. -
Issues with data usage Samsung S5
Over the past few months I have been paying outrageous bills due to one of my lines eating all my data when there is no one even touching the phone. I have 3 phones and a tablet on my plan and I am paying 288.00 a month and last month they charged me 15.00 for overage usages because it went over on the last day of the billing cycle. Once again that one line ate up all the data even though it's connected to our wifi or just sitting dormant. I am getting sick of paying these outrageous prices and am about to go somewhere else. I was tricked into the 10.00 a month tablet fee when I signed two phones up under the verizon edge plan. the sales clerk did not tell me I could not cancel the 10.00 a month fee because it would be under a year contract nor did I sign anything saying that, but when I went back in to change the 3rd line over to the Edge plan they told me it would be a $300 or so disconnect charge. So of course I am still paying 10.00 a month for no reason because I have wifi in my home and I only use the tablet in my home. so i need help with trying to figure out the data issues with just one of my lines. I do not have bluetooth on or location. I have went to the play store and uninstalled everything I could. I constantly close out of my applications and clear history etc.,,
So you thought they would just give you a free tablet at $10 a month and it didn't need to be in a contract like phones? I took the free tablet too but common sense told me it was locked into a contract, I didn't even ask as I just knew that would be the case but I didn't care. Mary
-
Performance issues with data warehouse loads
We have performance issues with our data warehouse load ETL process. I have run
analyze and dbms_stats and checked database environment. What other things can I do to optimize performance? I cannot use statspack since we are running Oracle 8i. Thanks
ScottHi,
you should analyze the db after you have loaded the tables.
Do you use sequences to generate PKs? Do you have a lot of indexex and/or triggers on the tables?
If yes:
make sure your sequence caches (alter sequence s cache 10000)
Drop all unneeded indexes while loading and disable trigger if possible.
How big is your Redo Log Buffer? When loading a large amount of data it may be an option to enlarge this buffer.
Do you have more then one DBWR Process? Writing parallel can speed up things when a checkpoint is needed.
Is it possible using a direct load? Or do you already direct load?
Dim -
Issue with Date showing Null in interactive report
I created an interactive report for a customer and was confused to see blanks or more specifically dashes where there should be dates in one of the fields. I knew this field should have data so I did some testing and this is what I have found:
The sql I am running is:
select
assigned_to_company,
last_resolved_date,
incident_id
from
rhpd0009_im_adherence_rpt2_vw
When I run the command in SQL workshop I get the following results with data in the last_resolved_date field:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissuesqlcommand.jpg]
I copied and pasted the SQL from SQL workshop and created a new interactive report and got the following results with no last_resolved_dates showing up:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissueinteractivereport.jpg]
For some reason the order is different, but the first one INC1117629 shows up in both of them and has a last_resolved_date in SQL workshop, but not in the interactive report. Any help would be appreciated.
Thank You
ScottVarad,
It seems to be related to the function we use to convert Remedy dates to Viewable dates. Remedy dates are stored as an integer that represents the absolute number of seconds from Jan 1, 1970 at 12:00 AM. We use a function that converts this number into a human readable date. I have tried encapsulating the result of the function in a TO_DATE and a TO_CHAR with the same results as before. There is something about the resulting data from the date convert function that Apex doesn't like. It would be interesting to isolate what exactly the issue is, but right now I'm just trying to find a work around.
Thank You
SCott
Maybe you are looking for
-
Creating an instance of a class from within another class
I am trying to create an instance of MCQ in the T class but I am getting this error: File: E:\JAVA PROGRAMS\assignment 1\T.java [line: 15] Error: cannot find symbol symbol : class MCQ location: class T here are the two classes: // class T import java
-
How to delete Windows 8.1 Recovery Partition
No, if I create a USB recovery pen on this system IT DOESN'T SHOW ME AN OPTION TO REMOVE THE ORIGINAL RECOVERY PARTITION. I had to go throgh EASEUS Partition Master to delete recovery and extend drive C and after that couldn't boot as usual. Had to u
-
Core dump related to atoi() of libC library?
Need a help! One of the processes is generating core dump ocassionally (running on Solaris 5.8 and Sun Workshop Compiler 5) with the following dbx stack trace. =>[1] libcwrite(0x0, 0x6, 0x0, 0xffffffff, 0x4e310, 0xfd6b5970), at 0xfd720034 [2] addsev(
-
Portal exception in Business Planning
Hi Friends, Facing issue after successfully configures Integration planning in Portal. Go to RSPLAN > Start Wizard> It says 404 Not Found SAP J2EE Engine/7.00 The requested resource does not exist. Details: Go to main page of this application
-
How to load .wrl model with its texture??
I can sucessfully add some .wrl models on the scene,but its texture cannot be shown(the path of its texture is correct)...i want to know why??