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.
Similar Messages
-
Date format changes in the middle of a program execution
In my C code I have a series of select statements.
When I first get a session to the database I use the following command to set the date format
alter session set nls_date_format = 'MM/DD/YYYY HH24:MI:SS'
It works fine for a few queries. After a while during the program execution I see that the date format changes to 'DD-MON-YY' format. This results in a series of error in my code because I expect the date format to always be in the 'MM/DD/YYYY HH24:MI:SS' format.
Any idea why the date format should change all of a sudden in the middle of the program execution.I second the idea that you should always use TO_DATE and TO_CHAR if you want to reliably convert between dates and strings.
Without seeing your code, it is hard to say why your date format is changing, but the most likely reason is that you are changing users somewhere in the code. For example:
SQL> show user
USER is "OPS$ORACLE"
SQL> SELECT sysdate FROM dual;
SYSDATE
11-JUL-2003
SQL> ALTER SESSION SET nls_date_format='dd-Mon-yyyy hh24:mi:ss';
Session altered.
SQL> SELECT sysdate FROM dual;
SYSDATE
11-Jul-2003 10:15:12
SQL> connect jtest/test
Connected.
SQL> SELECT sysdate FROM dual;
SYSDATE
11-JUL-2003TTFN
John -
Persistent prompt date format changes when reopening report in Webi
Hi all
I have a PERISTENT prompt that asks for a date when you run the report. The format is "MM/dd/yyyy". I also have a variable that displays this value in the form:
=ToDate(UserResponse([Query 1];"Please enter date:");"MM/dd/yyyy")
When the report is run the prompt works and you select the date from the calendar and all works fine. You can refresh the report and keep the persistent date prompt value if you like. Great.
The problem comes when the report is saved and then reopened for modifying.
On my report I get #ERROR associated with the above variable. This is because the peristent value in the prompt has been "re-loaded" in the format "MM/dd/yyyy hh:mm:ss a".
The only way I have found to resolve this is to refresh the report and reselect a date which makes the persistent prompt kind of useless if you close the report.
Any suggestions on solving this would be appreciated.
Thanks
SharonSharon,
The problem comes when the report is saved and then reopened for modifying.
When opening the report in something other than modify, does the problem also occur? I too have noticed different behavior with persistent date prompts and whether running in modify or Infoview modes. Most deployments do not give their users the ability to run a public report in modify mode (though, possibly they could copy it to their own Favorites and run it in modify mode there). So perhaps this "problem" is by design and is resolved by running the report in the more common Infoview mode?
Thanks,
John -
Hi Guru,
We are running report in t-code:S_ALR_87012251, but last two onward we are not able to see the Expand and Collape tab option and Hierarchy option also, and the report format also got changed but the user want as per the previous format and which we can do the drill down.
And pl inform me how to get the report name .
Regards,
John Pal
double postTry putting
SRW.DO_SQL('alter session set NLS_NUMERIC_CHARACTERS='', ''');
in the Before Report Trigger.
The setting might be reused for the next report if Reports is set to reuse the database connection.
To avoid this, I guess you change it back to default in the After Report Trigger.
Hope this helps!
Morten -
Data format changing from database to datagridview
hi I am trying to display data from database sqlite to datagridview the data format changed automatically
the date in database is
2012-02-20 16:42:10.00 but on datagrid view it appears like 20/02/2012 16:42:10,
swOut.Write(",");
swOut.Write(dataGridView1.Columns[i].HeaderText);
swOut.WriteLine();
//write DataGridView rows to csv
for (int j = 0; j <= dataGridView1.Rows.Count - 1; j++)
if (j > 0)
swOut.WriteLine();
dr = dataGridView1.Rows[j];
for (int i = 0; i <= dataGridView1.Columns.Count - 1; i++)
if (i > 0)
swOut.Write(",");
value = dr.Cells[i].Value.ToString();
//replace comma's with spaces
value = value.Replace(',', ' ');
//replace embedded newlines with spaces
value = value.Replace(Environment.NewLine, " ");
swOut.Write(value);This forum is for Microsoft products, they have already and endless quantity of databases, many even freeware.
Try therefore for your question the forums for SQLite.
SQLite has very special own way of datatypes.
Success
Cor -
How to schedule the webi report based on data changes in the report data
Hello,
I want to schedule a webi report based on data change in a column in the report.
The scenario is something like below:
1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
Anybody done this before.
Thanks
GauravHi,
May be these links can help you:
http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
SEM-BCS: Load from data stream schedule
Attribute Change Run -
How to Change Date Format according to the Locale/Country of Portal User
Hi,
In a webdynpro applicaiton, how to chage the Date Format according to the Locale/Country of Portal User.
Consider for INDIA: mm/dd/yyyy
Consider for UK: yyyy/mm/dd
So when i select the date from the Date Picker[input ui element bound to date context variable], the date format should be displayed accroding the portal users country/locale.
Creating a simple type for every date format in the dictionary would not be the right solution.
Please help.
Thanks,
Regards,
Aditya MetukulHi Aditya,
Check out the following post in SDN and refer the
Bertram's reply on the same topic.
date format
Regards,
Shubham -
Date Format changes in Query Designer
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
BabuHi,
After logon to BW, goto SYSTEM at menu bar.select user profile --> select OWN DATA. You will get Windoe, in that goto default tab, there you change DATE FORMAT and save.
If it useful assign points.
Regards,
sri -
Is there a way to create a variable referenced to a prompt on the report side?
Post Author: Martensa
CA Forum: Desktop Intelligence Reporting
First I am querying current and prior year on the query builder by two prompts that are asking for the current and prior year. Then I am creating a variable on the report side that pulls the current year into one column and prior year into another column. (I.e. =(revenue) where (year = 2006)). Is it possible the have the year part of the formula to be referenced to a prompt? (I.e.=(revenue) where (prompt= 1))?
If anyone could give me an answer it would me much appreciated.
ThanksPost Author: [email protected]
CA Forum: Desktop Intelligence Reporting
Martensa,
Create a variable "Prior Year" =UserResponse("Revenue" , "Prior Year")
Create another variable "Current Year" =UserResponse("Revenue" , "Current Year")
This assumes that "Revenue" is the data provider name and your Prompts are "Prior Year" and "Current Year".
Regards, Jim -
How to track personal details changes in the report without using triggers on the database tables
Hi There,
I'm having a requirement to track the oracle HRMS Personal details changes in the report not using the triggers.
ex: if some changes the address of the person, then that changed values should be populated in the report.
Please find below query:
If any of the following columns data is updated, the new value should be populated in the report.
SELECT PAPF.PERSON_ID PAPF_PERSON_ID
, PAPF.EMPLOYEE_NUMBER EMPLOYEE_NUMBER
, PAPF.FIRST_NAME FIRST_NAME
, PAPF.LAST_NAME LAST_NAME
, TO_CHAR(PAPF.DATE_OF_BIRTH ,'DD-MON-YYYY') DATE_OF_BIRTH
, ADDR.ADDRESS_LINE1 ADDRESS_1
, ADDR.ADDRESS_LINE2 ADDRESS_2
, ADDR.ADDRESS_LINE3 ADDRESS_3
, ADDR.TOWN_OR_CITY TOWN
, ADDR.REGION_1 COUNTY
, ADDR.POSTAL_CODE POST_CODE
, ADDR.COUNTRY COUNTRY
, PAY.PAYROLL_NAME PAYROLL_NAME
, PLN_TYP.NAME PLAN_TYP
, PLN.NAME PRODUCT_NAME
, BOF.NAME COVERAGE
FROM PER_ALL_PEOPLE_F PAPF
, PER_ALL_ASSIGNMENTS_F PAF
, PER_ADDRESSES ADDR
, PAY_PAYROLLS_F PAY
, BEN_PRTT_ENRT_RSLT_F PEN
, BEN_PL_TYP_F PLN_TYP
, BEN_PL_F PLN
, BEN_OIPL_F BOIPF
, BEN_OPT_F BOF
WHERE 1 = 1
AND PAPF.PERSON_ID = PAF.PERSON_ID
AND TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND PAPF.EFFECTIVE_END_DATE
AND TRUNC(SYSDATE) BETWEEN PAF.EFFECTIVE_START_DATE AND PAF.EFFECTIVE_END_DATE
AND PAPF.PERSON_ID = ADDR.PERSON_ID
AND ADDR.PRIMARY_FLAG = 'Y'
AND ADDR.DATE_TO IS NULL
AND PAF.PAYROLL_ID = PAY.PAYROLL_ID(+)
AND PEN.PERSON_ID = PAPF.PERSON_ID
AND PEN.BUSINESS_GROUP_ID = PAPF.BUSINESS_GROUP_ID
AND TRUNC(SYSDATE) BETWEEN TRUNC(PEN.EFFECTIVE_START_DATE) AND TRUNC(PEN.EFFECTIVE_END_DATE)
AND PEN.PRTT_ENRT_RSLT_STAT_CD IS NULL
AND PEN.SSPNDD_FLAG = 'N'
AND ( PEN.ENRT_CVG_THRU_DT >= TRUNC(SYSDATE)
OR PEN.ENRT_OVRIDN_FLAG = 'Y')
AND EXISTS(SELECT PIL.PER_IN_LER_ID
FROM BEN_PER_IN_LER PIL
WHERE PIL.PER_IN_LER_ID = PEN.PER_IN_LER_ID
AND PIL.BUSINESS_GROUP_ID = PEN.BUSINESS_GROUP_ID
AND PIL.PER_IN_LER_STAT_CD NOT IN ('VOIDD','BCKDT'))
AND PEN.PL_TYP_ID = PLN_TYP.PL_TYP_ID
AND TRUNC(SYSDATE) BETWEEN PLN_TYP.EFFECTIVE_START_DATE AND PLN_TYP.EFFECTIVE_END_DATE
AND PLN_TYP.PL_TYP_ID = PLN.PL_TYP_ID
AND TRUNC(SYSDATE) BETWEEN PLN.EFFECTIVE_START_DATE AND PLN.EFFECTIVE_END_DATE
AND PLN.PL_ID = PEN.PL_ID
AND PEN.OIPL_ID = BOIPF.OIPL_ID(+)
AND TRUNC(SYSDATE) BETWEEN NVL(BOIPF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOIPF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
AND BOIPF.OPT_ID = BOF.OPT_ID(+)
AND TRUNC(SYSDATE) BETWEEN NVL(BOF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
AND (:P_SYSDATE) BETWEEN TRUNC(PEN.ENRT_CVG_STRT_DT) AND TRUNC(PEN.ENRT_CVG_THRU_DT)
AND (CASE WHEN :P_PAYROLL_ID IS NULL THEN 'Y' ELSE NVL((SELECT 'Y' FROM DUAL WHERE PAY.PAYROLL_ID = :P_PAYROLL_ID), 'N') END) = 'Y'
AND PAPF.LAST_UPDATE_DATE = (:P_SYSDATE) ;
--AND PAPF.LAST_UPDATE_DATE BETWEEN to_date(:P_SYSDATE) and (to_date(:p_sysdate) + INTERVAL '31' Day);
--AND (:P_SYSDATE) = PAPF.LAST_UPDATE_DATE ;
Thankscheck this -
Re: Best Event-Based notifications for Sox Complience? -
Date format changed (since SP8?)
Applied SP8 lately on a server. I guess since then the date format changed.
It is now April 18, 2011,
and it should be 18 April, 2011.
I am not sure if this is because applying SP8, but what is for sure that the date format is not what we used to.
Checked time zone. Regarding to `set time zone` it is proper (CET-1CEST).
Please advise.Hi Marcel,
Thanks for the fast reply. I will give it a try probably.
I am still wondering what could have changed the date format.
Originally Posted by Marcel_Cox
I^d be suprised if it is really SP8 that changed your date format on the server console.
In any case, the date format on the server console is controlled by the file lconfig.sys copied to the server's c:\nwserver directory at installation time.
The following TID tells you how you can replace this file.
Note that the TID refers to changing the code page. In your case, it is not the code page you want to change, but the country code which corresponds to the date format you want to display
10093487: Convert existing NetWare server to different Codepages. -
List of Number format and Date format according to the Locales
Hallo everyone.
I am searching for a list or document which includes the number and date formats according to the country locales. Where can I find sort of document?
Another question: Where can I find the all parameters of swing.properties file?"Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
Page 4-9, Adding Parameters and Lists of Values
Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01 -
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
-
I have microsoft word for for my Mac book pro. When I open saved letters /documents on word the date automactically changes to the current date. How do I stop this happening? Many Thanks
I suggest you post your qeustion on the Microsoft Mac forums as it's their software you're having issues with and that's where the MS experts hang out
http://answers.microsoft.com/en-us/mac -
Hi,
I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
Could you please advise on this.
Appreciate all and any help.
Thanks,
DivyaHi Divya,
Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support
Maybe you are looking for
-
Problem creating dynamic URI for importing xsl sub templates in rtf
Hi, We are using xsl based sub templates in RTF. My code in RTF to import sub template is <?import:http://localhost:7001/xmlpserver/Header.xsl?> <?call@inlines: CustomerReportHeader?><?end call?> This sub template import statement is used in lot of R
-
My brother and I both have IPODS (video) and both of us listen to extremely different types of music but everytime we connect to itunes we end up with each others music. is there anyway to set up 2 different accounts or something?
-
Hi Gurus, I am doing Homogenous system copy (ABAP/JAVA) in new hardware and have encounter the Follwoing error at "Create SAP stored Procedures" in SAPINST. System is on win2003 / MSSQL2005 with latest patch. Please advise the solution ERROR 20
-
How to add for wikipages the popup " are you sure you want to leave this page" on edit
Our users complain about hitting the backspace button in a wiki page, sometimes the I.E. goes back and loose their changes. I could get a jquery popup but I don't know how to know that the wiki page is in edit mode and not in view mode.Do you know ho
-
Unable to find Local Ejb home in websphere 6.0
Its really anoying as am unable to guess . I am invoking an EJB locally using code as below . The Ejb works fine while testing with UniversalTestClient However when i try to invoke it from my Client it gives jndi error. Am using RAD 6.0 IDE and WebSp