Date Format in Portal Report
Hi,
I have created a SQL Report with following select statement. Looks like portal has default format mask for date type as 'DD-MM-YY'.
If I put DD-MM-YYYY or DD-MM-RRRR in Format Mask field in Column Formatting screen, the reports generates 04-10-0002 . It should
be 04-10-2002.
select process_id, last_update_date
from obm
where process_id like (:process_id)
I tried to use the to_char function as following. But it errors ORA-06502:PL/SQL:numeric or value error. Even though it works fine in
my sqlplus session.
select process_id, to_char(last_update_date, 'DD-MM-YYYY')
from obm
where process_id like (:process_id)
Does anyone have any idea?
Thanks
Hi,
Which version of portal are you using? The error with to_char comes in 30984. This is a bug. The bug no is 2567445. A one-off has been issued. Please look in metalink for it. And for the date formatting in the column formatting section the formatting should work fine. Please check the data in your table.
Thanks,
Sharmila
Similar Messages
-
Is there a way to set a custom date format on a report column? I am trying to use a format mask and it doesn't appear to be working. Maybe someone can spot my mistake:
Query: Hours Worked = Clock_IN - Clock_OUT
Format mask for Clock In/Clock Out - DD-MON-YYYY HH24:MI (from list)
Format mask for Hours Worked column: HH:MI (hand typed)
actual display (Timecard ID is edit link):
Timecard Employee Vehicle Clock IN Clock OUT Hours Worked
6 20044 26045 30-JUN-2006 13:28 30-JUN-2006 13:31 +000000000 00:03:43.000000
28 20044 144 06-JUL-2006 10:11 06-JUL-2006 10:39 +000000000 00:28:43.000000
48 20044 144 07-JUL-2006 09:03 07-JUL-2006 16:30 +000000000 07:27:50.000000
108 20044 26045 18-JUL-2006 15:35
128 20044 144 19-JUL-2006 14:57 19-JUL-2006 15:02 +000000000 00:05:06.000000These programs also..
GFW_PROG_BAR : Bar chart example
GFW_PROG_PIE: Pie chart example -
Changing date format in bw report
Hi,
Could anybody pls Explain How can I change date format in bw report from 19-03-2008 to 19 mar 2008.Is there any setting we need to do. Else do i need to write some ABAP code to get desired format.
Regards,
SarathHi Sarath,
I could have the routine enabled and its wrk for my DATS obj ...
else pls go through the following code
Check this example of how to get this format..
TABLES: T247.
DATA: V_DATE TYPE SYDATUM.
DATA: V_STRING(20).
V_DATE = SY-DATUM.
SELECT SINGLE * FROM T247
WHERE SPRAS = SY-LANGU
AND MNR = V_DATE+4(2).
IF SY-SUBRC = 0.
CONCATENATE V_DATE+6(2) '-' T247-KTX '-' V_DATE(4)
INTO V_STRING.
WRITE: / V_STRING.
ENDIF.
or make use of the routine make use of the FM
CONVERSION_EXIT_IDATE_OUTPUT
hope it helps you out...
regards,
pradeep
Assign points if useful. -
Hi all,
Iam working in Portal 7.2 and I need to change the date format in portal. Is there any path in System Administration -> System Configuration any properties that i need to change the format.
Any help/advice/suggestions highly appreciated.
Thanks in advance.
MaggieHi,
The Date Format depends on the Browser Language and also the Language set to user in User Administration of Portal.
Check the threads below:
How to set default language for Portal?
Issue with Record Working Time.
Check the SAP Note : Note 947081 - Locales, languages, date and time formats in Web Dynpro
It will give you info of what has to be changed.
Hope this helps.
Cheers-
Pramod
Edited by: Pramod on Jan 12, 2011 8:17 AM -
Application Date Format in Interactive Reports
Hi,
What should we define in Number/Date Format in interactive reports column attributes such that it will use application level date format?
ThanksHi,
You do not need define anything , then it use application date format
Br,Jari -
HI guys
i got two obiee server running in our env . both are identical . on one server when ever we rite any report with date column in it it comes up with dd/mm/yyyy output on another server if we right any report all the date column comes with dd mon yyyy format .. i want both of them should show date like dd mon yyyy format .. i checked all the conf files are both are looking same still not able to figure out where should i change for this to work .
please let me know if you need more info from my end.
Regards,
DevHI Kishore
Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
1. nqsconfig date format
its same for both the two installations
DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
2. make sure that you didn't save date format in column properties from front-end
Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
3. Did you mention anything in connection pool settings to set date format.
no we havan't mention anything in connection pool
4. Make sure that you are connecting to same database, and date format set for date is same here and there
yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
" hw i can check this
finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
please let me know if you need more info
Regards,
Dev -
Date format in Discovere Reports
We have created a workbook with a parameter which is supposed to show up an LOV for a parameter in the MON-RR format. Now this LOV shows up
correctly in the Discoverer Desktop edition as MON-RR format, but when we view
the same in Discoverer Viewer it shows up as DD-MON-RRRR.
Earlier we had got a partial resolution on this issue (TAR 3891425.996), wherein by changing the ICX
profile value in Oracle Applications, we are able to set the date mask to MON-R
R.
But now the above profile applies to all the reports and all the dates show up as MON-RR, whereas we want to continue showing the date in DD-MON-RRRR forma
t in some of the reports.
How can this be achieved ?HI Kishore
Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
1. nqsconfig date format
its same for both the two installations
DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
2. make sure that you didn't save date format in column properties from front-end
Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
3. Did you mention anything in connection pool settings to set date format.
no we havan't mention anything in connection pool
4. Make sure that you are connecting to same database, and date format set for date is same here and there
yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
" hw i can check this
finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
please let me know if you need more info
Regards,
Dev -
Date formatting on updateable report
I have an updateable report with a date column. I would like the user to be able to use mm/dd/rrrr format.
Is this possible?
Thankswhen you use our tabular form wizard to generate a tabular form, you're somewhat limited in what you can do to the data that's being selected out of your table. it's currently set up that way because we do some optimistic locking stuff behind the scenes to maintain your data integrity for you. there might be other ways to deal with your specific request, but this approach seems easiest to me assuming that changing your db's default date format isn't an option:
put html db pl/sql processes on both your page rendering and page submission sections that set your nls_date_format for each of those db sessions. so both of your new html db processes would be of type "PL/SQL Anonymous Block". one would fire with a process point of "On Load - Before Header" and the other would fire "On Submit - Before Computations and Validations". both processes would look like...
begin
execute immediate 'alter session set nls_date_format = ''mm/dd/rrrr''';
end;
...and after those two changes, your tablular form should handle dates in the mm/dd/rrrr format you're looking for.
hope this helps,
raj -
Date format in Excel report output
Goodmorning All.
Am using XML publisher for some reports. The current report is in Excel. Everything is fine on this. I want to print the date parameter in 'MON-YY' format.
In the 'Text Form Field' option, I have used the type as 'Regular Text'. In the 'Add Help Text' using the formatting as follows: <?format-Date:P_TO_DATE1;MM/YYYY?>. This seems to send the date parameter '1-Jun-12' as 'Jun-12'. But when it opens in excel, Excel assigns the cell 'Custom' format and type as 'd-mmm-yy' instead of 'mmm-yy'. So the final output still comes in DD-MON-YY format.
I have tried changing the type to 'DATE' and date format to 'MMM-yy' in the 'Text Form Field' option. But still the excel custom format is overriding the final output.
Any suggestions?
Thanks
ZHi Alex,
I used the following code in the 'Form field help Text': <?xdoxslt:format_date(P_FROM_DATE1,'MMM-yy','yyyy-MM-dd', 'en-us', $_XDOTIMEZONE)?>
Then I wrote some letters immediately after that and ran the report. When I opened it in excel, Excel assigned format category as 'General' to the output cell. So the output now comes as desired format as 'Jan-12XYZ'.
So it seems, if there will be some additional characters after the dates, then excel does not auto reformat the XML output to the custom date category.
Now the big question; How to do it without the trailing characters i.e. 'XYZ' in the above output. If I remove them, then Excel will again try to custom format the date. I read soemwhere that blank space can be used to append but am not sure how it will be in the code.
By the way in the 'text Form Field Options' I am using type as 'Regular Text'.
Appreciate any help.
Thanks
Z -
Date Format in Webi Reports - Error
Hi ,
I am using a date dimension in my webI report, but the dimension value is not populating correctly, it shows some constant value for all fileds. I checked the format of the dimension in the universe. It is in perfect format as date.can anyone guide me on this.
Thanks
PraveenHi,
[0CALDAY].[LEVEL01]
Will normally be defined as a Date type object, so it is treated by WebI as a date.
When you use the object in a webI report, it will get the default date format based on the locale settings of the user.
If you are getting a german date format (dd.MM.yyyy is German), that must be your preferences.
Two ways to go about this:
1) change your preferences.
2) fix the date format of the cell by using the FormatNumber dialogue.
Go to the date/time part and select Custom.
Now you can type the format you want, i.e. MM/dd/yyyy
Hope this helps,
Marianne -
Hello everyone,
I need my report ro show dates with HH:MM:SS. But the report only shows dates as DD-MON-RR. I think I chose all the correct format masks in the report builder (DD-MON-RR HH24:MI:SS), and in the rtf tags.
Another point is that all the date fields in the report , if I look at the Property inspector, have Width 9, and I can not change it because the column type is Database-Scalar.
Any ideas?
Thank youHi Olga,
If the Date in the database is date (not datetime) means you cannot use a DD-MON-RR HH:MI:SS in your reports.
If you want to show date with time means, change the properties in Oracle Forms of that date field and assign datetime as datatype.
So that the value inserted to the field will become datetime. and automatically if you use this column in your report you will get date along with time.
Hope this clears...
Regards,
Soofi -
Changing date format in OBI Report
Hello experts,
This is might be an easy question to some of you... But I am stuck, basically I created a report with the following date format "01-20-2014"... Now our business users are asking if we could change it to "01-20-14" or 'dd-mm-yy' instead of 'dd-mm-yyyy'
Is this something I can change within the report or do I need to change it the rpd? Can I use a CAST function to do this? sample example will be helpful my formula is ("File Date"."File Date SQLDate")
Please help....click on properties of the date column and then click on date format -> select custom
custom date format: dd-mm-yy -
Hi all,
I have print one field in the report.
The field actually concatenation on string and Date
EX: Selected on 30.05.2007
I have declared this field has char (30).
This Date will be taking how ever the stored in the Data Base.
Can anybody give me suggestions?
Date should be How ever user has setting in his profile.
Thank you.before concatenation on string and Date
convert the date formate in to system formate then u concatenate.....
check for some function M.....
Regards
Anbu -
En-CA Language has incorrect Date Format in SSRS report
When I set the Language on a Report to "en-CA", then dates are formatted as dd/mm/yyyy.
This differs from the OS default format of yyyy-mm-dd for en-CA.
Is there any way to tweak the date format for a specific Language in SSRS?
Please don't say I need to add Format() calls to all of the dates in the reports... What I want to do is just give SSRS the correct date format for "en-CA" and let it do the work of formatting automatically.
[url=http://www.spritehand.com]www.spritehand.com[/url] | [url=http://www.andybeaulieu.com]www.andybeaulieu.com[/url]Hi Andy,
In Reporting Services, by default, formats for date are determined by the report server language at run time. The report server language is the language of the operating system on which the report server is installed. This language is determined by the regional
settings of the computer.
Generally, the report server language supports for all ten of the SQL Server languages. But the en-CA language is not supported by SQL Server. In this way, the report server uses the mostly closely matched language of the operating system as the language.
For example, the operating system is Canada English. Because Canada English and U.S. English are in the same language family, it chooses the SQL Server language resource that most closely matches Canada English (in this case U.S. English). So the date format
uses en-US format.
Reference:
http://msdn.microsoft.com/en-us/library/ms156493.aspx
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to change date format in alv report
hi ,
i wanna change date format which is in yyyy.mm.dd to mm/dd/yyyy in alv report.
plz advise.
thanks
sudheerHi sudheer,
There is no direst Fm fro that.
But u can follw the below way. it worked for me. kindly chk it.
[code]DATA: V_DATE_IN(10) TYPE C,
V_DATE_SAP TYPE SY-DATUM.
V_DATE_IN = '01.01.2005.'.
CONCATENATE V_DATE_IN+6(4) "<--for Year
V_DATE_IN+3(2) "<--for month
V_DATE_IN+0(2) "<--for Day
INTO V_DATE_SAP.
now V_DATE_SAP will have value like 20060101.
now use.
CONVERSION_EXIT_PDATE_OUTPUT Conversion Exit for Domain GBDAT: YYYYMMDD -> DD/MM/YYYY[/code]
regards
anver
<b><i>if hlped pls mark points</i></b>
Maybe you are looking for
-
Problem in parameter query.
Post Author: eaglesoft CA Forum: Data Connectivity and SQL I'm using Crystal reports xi. I have problem on parameter fields. field name-EmployeeCode, datatype-String.In report,I kept the following query in selection expert,(EmployeeTable.EmployeeC
-
New Mavericks MB Pro - Mountain Lion Backup
Six months ago, I took a Time Machine backup of my old, Mountain Lion Mac and then sold it to someone. I'm about to buy a new 13" MB Pro which will come with Mavericks installed already. I cannot find any tips or suggestions on whether or not I can r
-
When I play songs that contain special characters, an error occures: iTunes changes the symbol into something else! Example: Röyksopp - What Else Is There? (Trentemøller Remix) authomaticly becomes Rˆyksopp - What Else Is There? (Trentem¯ller Remix)
-
Hi Guys, I have Created a Business Object (Eg- Preview) . Can anybody help me out in creating a solution for providing more than one preview option to the end user in the Purchase order/Sales order Scenario. Like, while looking at the Purchase Order
-
Failed to find out the source table of query in the formated search
Dear All, I am trying to find out how to know the table that it is the source of a formatted search query. In the query manager --> formatted search --> select one of query --> double click to see the query. I see the query but I can't find out what