[11g] Date format when printing dashboard prompt
Hello,
i have a dashboard prompt with a between condition on a date format. When i display it on the dashboard, the format is perfect dd.mm.yyyy. But when i want to print the dashboard, the format is shown as yyyy-mm-dd. On the forum i found a hint about the localedefinitions.xml (Printer-friendly date format But there, the definition is ok
<property name="dateShortFormat">dd.MM.yyyy</property> // default short date format for locale
So, how can i change the format to dd.mm.yyyy when printing the dashboard. Any advice?
Thanks
Martin
Davison,
Its not possible using user settings. All you would need to do is copy the SAP SCRIPTForm program(You can keep the Print program as such) and set date mask as required in SAP script text editor using command
/: SET DATE MASK = 'MMMM DD, YYYY'
Now the date variable value written out on the screen would be
&DATE& -> JAN 01, 2010
You could revert to standard settings using command
/: SET DATE MASK = ' '
Regards
Narasimhan
Similar Messages
-
Date Dimension changes format when in dashboard prompt
Hi
I have created a report in OBIEE 10g wherein a dimension is DATE. It displays as MM-DD-YYYY. I also created a dashboard prompt using this dimension.
However, when I select a value from the prompt in the dashboard, it says that:
"A date value was expected (received "2007-01-05 00:00:00")"
I hope you can help me with this problem.Hi,
In the physical layer, go to the properties of the field(Your Date dimension column) and change it's type from Timestamp into Date. Hope this will solve your issue.
Thanks,
Balaa... -
Date format when printing Maintenance Order
Dear Colleagues
When I print a Work Order, I'm getting the date format as DD-MM-YYYY
I know that I can change this format in the User Parameters, however I need to modify a huge number of users.
Question 1) Is there a way to setup the date format independent of the user parameters?
Question 2) I'd like to have the date like this: JAN-01-2010. But I don't have this option in the User Parameters. Do you know how can I do it?
Thank you for your helpDavison,
Its not possible using user settings. All you would need to do is copy the SAP SCRIPTForm program(You can keep the Print program as such) and set date mask as required in SAP script text editor using command
/: SET DATE MASK = 'MMMM DD, YYYY'
Now the date variable value written out on the screen would be
&DATE& -> JAN 01, 2010
You could revert to standard settings using command
/: SET DATE MASK = ' '
Regards
Narasimhan -
Problem with date format when ask prompt web-intelligence
Bo XIR2 with 5 SP. Instaled on Windows 2003 with support Russian.
Inside BO every labels, buttons - use russian. But when invoke web-report and Prompt appear there is problem with date format.
Looks like korean format of date 'jj.nn.aaa H:mm:ss'. I see system settings of date in Win .. everything right
What i have to do?
Where i can change format date for bo?GK, try this...
decode(instr(packagename.functionname(param1 ,param2),'2400'), 0, to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" hh24mi'),'mm/dd/yyyy hh24mi'),'mm/dd/yyyy hh24mi'),
to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" "2400"')+1,'mm/dd/yyyy "0000"'),'mm/dd/yyyy "0000"'))-Marilyn -
Search report - error-no data found when printing to csv format
Hi all,
I have a search report,
I have 4 select list and two text field and two date field to search for the result.
I have even put the computation for the select list items in
on load - before header ie setting the items to default value.
Still when i try to print it in the csv format , and try to open the excel, it is saying "no data found" error
Please, Could any one give me a solution to solve this bug?
Note: Ordinary report is getting printted in the csv format.
Thanks in advance
bye
SrikaviHi Denes and Scott,
sorry, only when i select the values for all the 4 select list
csv is working. default values are not restored in the session.
How to restore the values in the session state after pressing the search button.
i have set the default values for the select list and the query is working fine
but when i see the session from the toolbar the default values are not present.
but when i see the debug from the toolbar the values are set properly.
@Denes
In your example the session is showing the values of the select list and check box
The same way i did, but in "session" values are not seen so again no data found is seen when printing csv .
Bye
Srikavi -
Need help with formating in a dashboard prompt
Hi
This should be an easy one. I'm creating some dashboard prompts and been looking on the Sample OBIEE and some prompts there. Well, what I would like to do is a prompt so simple as:
Prompt Label:
- alt1
- alt2
- alt3
- and so on ...
Have you seen what I've done? I want the Label of the prompt to be bold but the data inside, the alternatives should be normal.
What I do is that go to the Dashboard prompt, create it and so on and on the lower part of the Dashboard prompt edit pane "Display" I click on the pencil ... "Edit" ... go to "Format" and in there I choose "Style: Bold" ... the thing is that both Label and Alternatives turn Bold for me ...
What am I doing wrong?Hi,
If you are using 11g then keep the prompt in a section and you can add section title and you can format it accordingly. But keep the name in the label as a BLANK.
And if you are using 10g then by default the name in the label for the prompts becomes BOLD but the values would be normal.
Award points if found useful/helpful to you.
Regards
MuRam -
Hw can I generate XY graphs directly in a vector data format for printing ie pdf
A further question re. Printing of Graphs
There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
"Developer exchange forums have been moved" and a pointer to the new
site, unfort it was hard to find or guess the rest of the link.
So here is my angle on this problem;
So far I have tried;
Using property node: "App. Printing.Default Printer" to select the printer to use, then
Using Report Functions to print controls;
New Report, to generate a new report reference
Set Report Orientation
Set Report Margins
Set Report Font
Set Report Header Text
Set Report Font
Set Report Footer Text
loop for each page
Set Report Footer Text, With page number
Append Control Image to Report, several times
New Report Page
Until the end of the last page
Print Report
Dispose Report
Initially using existing XY-Graph controls from the front panel. These
are on a page of a Tab control to hide these controls while not in use
and allow them to be hidden while generating the printout.
Unfortunately when this page is hidden any graph scales set to
autoscale don't, (normally don't need to and would otherwise be a waste
of processor time), resulting in graph plots going off scale or
becoming a line along the axis.
An issue is that what is printed appears to be read from the screen, so resolution is much
lower than required for for printing, resulting in rather pixellated
printed versions. These prints will usually be emailed, so tried the
pdf995 "printer driver" but the resulting pdf file size is rather large.
Currently trying Plot-XY on a much larger picture so as to get
adequate resolution for printing, however suspect this will result in
much larger pdf files and probably cause other problems.
The preferred solution in this case will probably be to generate print
output, instead of based on raster images (ie jpg or png), but on a
vector format, maybe via postscript or directly in pdf format.
Similar graphs currently printed from Excel via pdf995
(or OpenOffice) result in files around 20 kb per page. these can be printed at any size
(at least upto 64 times) without becoming pixellated, so assume these
are vector based.
Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
page but resolution is poor and overcoming that may push file size up
to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
Cheers
DarrylHi Darryl,
I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
Please try incorporating this solution into your application and see if it reduces your file sizes.
Thanks and have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, Embedded Software
Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
Attachments:
print_XY Graph.vi 23 KB -
How to change date format of user input prompt in infoview.
Hi All,
Every report webi or deski having date field as prompt when viewed in view mode in infoview shows date format as M/d/yyyy h:mm:ss a.
Where this format is stored and how can we change it to dd/mm/yyyy.
Any ideas.
Regards,
GauravNot sure id this helps...
I was up against a similar issue of placing the user input dates, Starting & Ending, into one cell for a reference on each report header. After a few hours of diligence, I came up with a working model that finally worked:
u_StartDateAsTXT=FormatDate(ToDate(UserResponse("Enter Date/Time Shipped (Start):");"MM/dd/yyyy hh:mm:ss a");"MM/dd/yyyy")
and
u_EndDateAsTXT=FormatDate(ToDate(UserResponse("Enter Date/Time Shipped (END):");"MM/dd/yyyy hh:mm:ss a");"MM/dd/yyyy")
The report header has the following function:
=u_StartDateAsTXT + u201C u2013 u201C + u_EndDateAsTXT -
Date Format Problem In dashboard
Hi All:
I am using dashboard prompt for filteration of date on date. And I use between operator in dashboard prompt. I want default intialization in both field. I use initialization block in BI for intialization. In initialzation block it shows correct values like: 'dd-mm-yyyy'. But on report in dashboard Prompt. It shows also time and also in this "mm/d/yyyy". I also use the cast function in date column.
If any person know than kindly tell me to take actual format on report.
Thanks
HaroonChanging the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
For example in my DBFeatures.INI
[ DATA_SOURCE_FEATURE = ODBC_300 ]
DATE_FORMAT = 'dd-mm-yyyy' ;
TIME_FORMAT = 'hh:mi:ss' ;
DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
However, I haven't tried this sorry. -
Error in date format when I load a CSV file
I am using Oracle G10 XE and I am trying to load data into my database from comma separated files.
When I load the data from a CSV file which has the date with the following format "DD/MM/YYYY", I received the following error "ORA-01843: not a valid month".
I have the NSL_LANG set to AMERICAN. I have tried the following command: "ALTER SESSION SET NLS DATE FORMAT="DD/MM/YYYY" and this does nothing. When I try to run "SELECT SYSDATE "NOW" FROM DUAL;" I get the date in this format "10-NOV-06".
I will appreciate any help about migrating my data with date fields in format DD//MM/YYYY.
Sincerely,
PolonioSee Re: Get error in date when I load a CSV file
-
Prblm in Date format when exported to excel
Hi ,
I had a problem when using the Export To Excel option from Portal. The data is getting fine populated in Excel but it's in General No Specific Format. But I wanted the data to be in its original format even when exported to Excel. Like...
Country -
Date Goods Delivered
India----
01.01.2001
America----
05.12.2004
Singapore----
12.04.2003
Here the country should be of type TEXT FORMAT and Date Goods Delivered should be in DATE FORMAT(Here its visible as date but it's in General format)
I am facing problem with date, it is displayed(01.04.2006) as shown above but it's in general format. I wanted it to be in date format at excel.
I am in BW3.5 with portal version EP7.0
Please suggest the solution and I had even gone through previous forum questions related to this but couldn't get.....the solution.
points will be assigned...
Regards,
rudra.Hi,
My end users requirement is to get all data in Standard format. We can't ask to select the date column and change the format in excel as there are more date fields(columns ).
Using macro i had one problem,even though i am not sure..
i can't enable the macro to get enabled in page load of export to excel as it is to be done at users end...
If theres any possibilty of enabling....pls let me know
Thanks for your valuable suggestions...
Regards,
rudra. -
Score loses formating when printing to pdf in Logic Pro
Logic Pro 9.1.6 shows score ok in page view but when it prints to pdf the formatting goes weird with notes dropping off the stave. How do I fix this so I can print a score?
Michael: I have tested other programs ability to print to Acrobat and also tested ability for other programs to
export to Excel or Word. The only crash is when printing an Acrobat pdf from Morningstar Principia Pro I get a bad crash. The work around is to print to XPS and then convert the XPS file to Acrobat pdf. To get out of the crash which can't be fixed by Windows Task Manager shut down, is to open the printer file and tell the printer to delete the pending print job.
I'm using latest Version 9.3.4 Standard Acrobat; Win 7 Pro 64 bit, 10 g of RAM, HPE 390t standalone PC, no networking. -
Wrong date format when setting Smart Album
I've got my date format set to the standard UK settings, eg. DD/MM/YY, but in Aperture when I create a smart folder the date settings are in the US format of MM/DD/YY. Is there anyway I can fix this - I've got System Preferences correctly set to UK formats.
bilbo_baggins wrote:
I've got my date format set to the standard UK settings, eg. DD/MM/YY, but in Aperture when I create a smart folder the date settings are in the US format of MM/DD/YY. Is there anyway I can fix this - I've got System Preferences correctly set to UK formats.
There are folders and there are smart albums but I don't believe there are 'smart folders'.
If you could describe a bit of what you are doing to would be helpful in trying to answer your question. -
Wrong date format when creating a universe based on a MS Analysis cube
Hi,
When creating a universe based on a MS Analysis 2008 cube the date objects from the cube are created in the universe with CHAR format when it should be DATE format
I have tried to resolve the issue by modifying the date object in the universe with MDX but with little success.
I wonder if it is an error in the cube and that it actually should be possible to get the correct date format from the cube when creating the universe automatically in the universe design tool.
The date object is organised in a hierarchy.
Any ideas? - both to resolve the issue by using MDX in the universe object properties or in the cube.
The universe design tool is version 4.0 SP2 patch 5
/KimOh I knew I was missing something. Ok version 2.
I think in general this approach would work. I assumed you are starting from 1 and resetting to 1.
There should be error handling and so forth that is not here. Probably some details need to be tweaked.
So the key thing here AFAIK is to put the sequence reset in an autonomous procedure. Exactly how to do that may need to be modified.
PS this version has a bug. After the reset needs to change the increment of the sequence back to 1.
and I left that out. oops!
/* testtrigger */
/* previously:
create table mytable (
myprimary_key number(10) primary key,
column1 number(2)
create sequence mysequence
start with 1
increment by 1
maxvalue 99
nocache;
create table mylastdate (lastdate date);
insert into mylastdate(lastdate) values (trunc(sysdate));
create or replace procedure reset_mysequence (in_correction number) is
pragma autonomous_transaction;
begin
execute immediate 'alter sequence mysequence INCREMENT BY ' || in_correction || ' MINVALUE 1';
update mylastdate set lastdate = trunc(sysdate);
commit;
end;
show errors;
create or replace trigger mytrigger
before insert on mytable for each row
declare
tmpdate number(8) := null;
lastdate_used number(8) := null;
correction number := null;
lastseq number(2) := null;
begin
if INSERTING then
tmpdate := to_number(to_char(sysdate,'YYYYMMDD'));
select to_number(to_char(lastdate,'YYYYMMDD')) into lastdate_used
from mylastdate;
select mysequence.currval into lastseq from dual;
/* when this displays in the forum it shows lt gt as nothing on the screen
so this should be lastdate not equal to tmpdate */
if lastdate_used <> tmpdate and lastseq > 1 then
correction := -(lastseq - 1);
reset_mysequence(correction);
end if;
:new.myprimary_key := (tmpdate * 100) + mysequence.nextval;
end if;
end;
show errors;
Edited by: lake on Nov 30, 2010 10:39 AM
Edited by: lake on Nov 30, 2010 10:52 AM -
Wrong date format when import CSV files
When you import a CSV file that contains fields with German date formats, these fields are displayed incorrectly.
Example: Contents of the CSV file "01.01.14". After importing the corresponding cell in Numbers has the content "40178".
A reformat the cell to a date format is not possible.
How do I get the date in the new version of Numbers displayed correctly?It seems that there are more than a few problems related to import/export with non-US localizations.
I, personally, don't have a solution to your problem. I started to adjust my Language & Region settings to test your problem but it was several settings, I didn't get it right, and I didn't want to mess up my computer so I set everything back to US/English.
The only workarounds I can suggest are
Insert a new column into your table and in it put a formula that adds the number to the date 01.01.1904. Or,
Edit the CSV in TextEdit to Replace All "." with "/". This will work if "." is used for nothing else but these dates.
I recommend the second one if it will work for you. Hopefully Apple is addressing problems such as the one you are seeing.
Maybe you are looking for
-
I recently started hosting my site using Lion Server. It's my first experience administering a server, so I'm kind of new to this. I added a new server, my site's domain name, to the server list, alongside imac.local, my own computer. I then added We
-
ITunes trouble with Maverick update
Hello, I just installed Mavericks onto my MacBook Pro and my iTunes won't open. Any help?
-
Dear all This is one of the migration of all the quotations and contracts download and upload from SAP to SAP...we are using Std BAPI...what are the field should i consider... like old document number and header details like customer and item details
-
I currently have a Verizon/Casio GZ One Boulder and currently eligible for an upgrade. My brother in law gave me his Verizon/Casio Brigade phone which he only had for 4 months to try out. If I switch my number over to his Brigade phone will that b
-
Dear All, import Base64Encoder.*; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.net.*; import java.security.*; import com.sun.net.ssl