Screen display date format
ADDT does not change the display date format when I set it in th ADDT Control panel.
Control panel settings:
Database date format: yyyy-mm-dd
Screen date format: mm/dd/yyyy
Display output: yyyy-mm-dd
Is output does not change regardless of th esetting in control panel.
Please advise.
Simon
hello
ok here is another solution:
Go to the binding panel and select the Dynamic Text that retrieved from the recordset to display the date in your page.
- move your cruiser to the dead right end then you will found a bold down arrow beside the dynamic text click it you will found:
- dropdown menu >> click Developer toolbox >>> Date Formate
this will apply the settings you have made in the Control panel to this specified Dynamic data...
i did it and works very fine now...
Similar Messages
-
Change display Date format from 06.2011 to june 2011 in output of Query
Hi All,
Change display Date format from 06.2011 to june 2011 in output of Query Execution. i used time charcteristics 0calmonth in query, output display is coming 06.2011, i want to display output in june 2011 format, anyone tell me how to convert this Date format.Hi Nandish,
as tibollo said you just need to mark 0CALMONTH with text in RSD1.
Kindly note that you don't need to do data load for this object.
It will automatically derive by system.
Just change the Info object 0CALMONTH in RSD1, Go to Master Data/text column and check mark on with text.
Then activate it.
Regards,
Ashish -
To Display Date format YYYY/MM/DD in Report
Hi All,
I wrote start routine code for field Document Date(ZDOC_DATE) to display date format YYYY/MM/DD ,but it displaying as 20090212.But my requirement is the date format should display 2009/02/12.
Please find the below code which i have written,
data : v_month(2) type n,
v_year(4) type n,
v_day(2) type n,
v_Doc_Date(8) type c.
v_month = ITAB-DOC_DATE+4(2).
v_year = ITAB-DOC_DATE+0(4).
v_day = ITAB-DOC_DATE+6(2).
concatenate v_year v_month v_day into v_Doc_Date.
result value of the routine
RESULT = v_Doc_Date.
Can any one please suggest to display the date format as 2009/02/12.
Thanks in advance
karuna.Hi Rathy,
As per your suggestion i have changed the document date lenght 10 & changed code ,the issue has been resolved now..date format showing 2009/03/22.
data : v_month(2) type n,
v_year(4) type n,
v_day(2) type n,
v_Doc_Date(10) type c.
v_month = ITAB-DOC_DATE+4(2).
v_year = ITAB-DOC_DATE+0(4).
v_day = ITAB-DOC_DATE+6(2).
concatenate v_year '/' v_month '/' v_day into v_Doc_Date.
condense v_Doc_Date.
result value of the routine
RESULT = v_Doc_Date.
Thanks for your quick response.
Thanks to all.
karuna -
Hi all
The date column contains values such as 31-12-4712, 10-12-2012, (real date) etc.
In the output (tab delimitted format), I need to put Null for 31-12-4712 and display dates otherthan 31-12-4712 as actual values
Can I use decode to achieve the above or is there is a better method to achieve the above
Thanks in advance
regards
annaHi,
Oneway
with dat as(
select to_date('31-12-4712','DD-MM-RRRR') x from dual union all
select to_date('10-12-2012','DD-MM-RRRR') from dual)
select
case when x=to_date('31-12-4712','DD-MM-RRRR') then
null
else x
end x
from datTwinkle,
I think with decode it will change the return type to varchar.
Decode might not be the ideal way (but as always it depends :) )
with dat as(
select to_date('31-12-4712','DD-MM-RRRR') x from dual union all
select to_date('10-12-2012','DD-MM-RRRR') from dual)
select
case when decode(x, to_date('31-12-4712','DD-MM-RRRR'),null,x) >'00-00-00' then
to_char('GONE')
else
to_char(x,'DD_MON_YYYY')
end y
from datRegards,
Bhushan
Edited by: Buga added decode example -
Display Date format problem - 'dd/mm/yyyy'
Hi All,
I want to display the date in this format dd/mm/yyyy. Below is the code which i declared in the JSPX.
<af:selectInputDate value="#{bindings.poRequestedDateH.inputValue}" id="poRequestedDateH" required="true"
binding="#{backing_POMasterDetail.poRequestedDateH}"
validator="#{backing_POMasterDetail.assignedDateValidator}">
<af:validator binding="#{bindings.poRequestedDateH.validator}"/>
<af:convertDateTime pattern='dd/mm/yyyy'/>
</af:selectInputDate>
but when i select the date from the component its displaying like this .
For Example : "09/47/2008", if i reload the page again and selecting the date its displaying some junk values in month column.
Please anyone help me to fix the problem.
Thanks & Regards
Vimalan BalanHi Vimalan,
I just replied to the comment you posted on my blog:
"How To Specify a Second Date Pattern in ConvertDateTime"
http://blogs.oracle.com/Didier/2007/02/01#a213
Your pattern is incorrect.
In 'dd/mm/yyyy', 'mm' represents the minutes, not the months, represented by 'MM'.
You can check it with the following pattern: "dd/MM/yyyy HH:mm:ss" that will display the months and the minutes:
f.ex. "16/04/2008 16:47:08"
So just change your pattern to "dd/MM/yyyy" and it will work.
Please note that my blog was about adding a second pattern to convertDateTime.
If your aim is to use one (and only one) pattern "dd/MM/yyyy", I would specify it at the ADF Business Components level, in the "Control Hints" tab of the date attribute, in "Format".
Regards,
Didier. -
I've got a date that is being displayed as YYYY-MM-DD in spite of having set it to be displayed as MM/DD/YYYY in both the VO and EO. I've edited my formatinfo.xml file, and the format is there, but for some reason on this one date field (others are working fine) the changes aren't getting propogated to the JSP. I've changed the display label, and that change IS getting propogated out. I know this has to be simple...what am I missing?
Maybe you need to configure that "application"? Or if you actually have access to the source code, then just take a look in it.
Without any more details about the "application" we can't help you any much further.
Generally, when you want to convert a Date or Calendar object to a human readable String, the SimpleDateFormat [1] is been used.
[1] http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html -
Can Kin TwoM lock screen display date?
When I turn on my lock screen, it displays the time (for easy access) in the corner, but can it also display the date?
The only problem with this, is you have to wait for the larger time icon to minimize to the 'standard' dashboard icon. And in my opinion, this takes way too long..like 3 secs or so. It is really inconvenient, and 9 times out of 10 i find myself unlocking the phone to check the date. It really is a shame they don't have an option to by default show the dashboard on the unlock screen.
-
Dynamic data on Screen -Display data Based On the First Field
hello Helping Minds..
I have Two Fields In MODULEPOOL SCREEN.
1--- BUKRS
2--- BELNR ..... Both From BKPF table.
My requirement is When i select a CompanyCode ( BUKRS ) In d first field,all the DocumentNO ( BELNR ) related to that CompCOde Shd be displayed in the 2nd field,
For Ex-
If i choose BUKRS = 1000,
and Then clicked the Belnr field, All d DocumentNO for BUKRS 1000 will be populated in d Dropdown list..
BUKRS = 0001,
then BELNR = 0100000000 ,
0100000001 in d dopdown.
source code will be Appreciated...
Thnks in advance To D helping MindsProcess on value-request.
filed Bukrs module f4_bukrs.
field belnr module f4_belnr.
*module f4bukrs input.*_
if belnr is not initial.
select belnr bukrs from bkpf whre belnr = belnr.
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif. "" Hey both these Condition lead to same thing...den Whts d use??
Firstly Belnr will be always Intial. cos it will be populated after we select the BUKRS. , Here am confused?
if t_bkpf is not initial.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' " No idea Abt dis FUncn module, pls explain
endif.
end module.
module f4_belnr input.
if bukrs is not initial.
select belnr bukrs from bkpf where bukrs = bukrs.
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif.
if t_bkpf is not initial. "" What is t_bkpf and y its used
call fm to CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
endif.
end module. -
DYnamic Screen -Display data Based On the First Field
hello Helping Minds..
I have Two Fields In MODULEPOOL SCREEN.
1--- BUKRS
2--- BELNR ..... Both From BKPF table.
My requirement is When i select a CompanyCode ( BUKRS ) In d first field,all the DocumentNO ( BELNR ) related to that CompCOde Shd be displayed in the 2nd field,
For Ex- If i choose BUKRS = 1000,
and Then clicked the Belnr field, All d DocumentNO for BUKRS 1000 will be populated in d Dropdown list..
BUKRS = 1000,
then BELNR = 0100000000 ,
0100000001 in d dopdown.
<<don't cross post/Duplicate else thread will be locked or deleted>>
Thnks in advance To D helping Minds
Edited by: Vijay Babu Dudla on Apr 25, 2009 4:57 AMProcess on value-request.
filed Bukrs module f4_bukrs.
field belnr module f4_belnr.
*module f4bukrs input.*_
if belnr is not initial.
select belnr bukrs from bkpf whre belnr = belnr.
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif. "" Hey both these Condition lead to same thing...den Whts d use??
Firstly Belnr will be always Intial. cos it will be populated after we select the BUKRS. , Here am confused?
if t_bkpf is not initial.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' " No idea Abt dis FUncn module, pls explain
endif.
end module.
module f4_belnr input.
if bukrs is not initial.
select belnr bukrs from bkpf where bukrs = bukrs.
else.
select belnr bukrs from bkpf whre belnr = belnr.
endif.
if t_bkpf is not initial. "" What is t_bkpf and y its used
call fm to CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
endif.
end module. -
Hi Guru's
Does anyone know how can we set up date format in DataManager?
At present its MM/DD/YYYY..
Whenever we put any date in field we can put it in DD MM YYYY format but when we save it it comes as MM DD YYYY..
How can we change this ..Any clues??
Regards
Vikrant M Kelkar..Hi Simona,
When you say MDM supports format..Where does it support????? ..I think it supports only while importing ..
My requirement was I want to display date format in Datamanger in DD.MM.YYYY.
Even though you import date in DD.MM.YYYY format its still displays it in MM/DD/YYYY in dtatmanger..
What you are saying is during Import and not in ADta Manager..
Hope i have not confused!!
Regards
Vikrant M Kelkar.. -
Date format and Alignment Change in the Excel Output.
Hi Forum,
Greetings to You!!!
I was created one RTF format file. In this i have to display date format as (dd-mon-yyyy) in the excel output and also some data in the column have varchar2 and numbers. When i generate the output in html, pdf format using the xml file its coming fine.
When i generate the output in excel format then date format is changing to dd-mon-yy and who have data in number format is automatically going to rtight alignment.
But client need all the date output in the left alignment (dd-mon-yyyy) ..Please advice me ..
Thanks & Regards,
Nag.CHHi Helios,
Thanks for giving reply. We are using 11.5.10.2 Application . We are not using any ADI..I just run the xml file in my local system itself in excel format..Date format is coming dd-mon-yy.Not in Apps environment.
Thanks,
Nag -
Hi
A sample web dynpro application displays information regardding Flight information with the flight date.
This application is integrated in portal too.
However, there is a requirement that end user can adjust the date format as yyyy-mm-dd or dd-mm-yyyy or mm-dd-yyyy format.
I changed these options in Windows Regional settings to different values for the short date and long date formats. Unfortunately these changes do not reflect in the iView.
Is ther any setting at the iView when developing the portal content or any other way to allow the user to see the date in the format he likes ? if yes, what needs to be done ?
Thanks
PrasadHi Prasad,
Try to use the browser locale setting instead of Windows regional setting. You can get the browser locale
setting from the below code
Locale locale = request.getServletRequest().getLocale();
Then use this locale data pattern and display date formats according to user browser locale settings.
Hope this helps.
Siva -
Export data from an iView to Excel, get a login screen displayed in Excel
Hi
I'm trying to export data from a tableview to excel, I followed the instruction posted by Detlev Beutner, created a class extends AbstractPortalComponent, and overwrote the doOnNodeReady:
HttpServletResponse response = request.getServletResponse(true);
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "filename=\"text.xls\"");
I did write some test output in doContent:
aResponse.write("Filed11,Filed12,Field13");
aResponse.write("Field21,Field22,Field23");
I was hoping to see the excel to display the content "Field11 Field12...", but I got a portal login screen displayed in Excel.
Does anyone have the same experience and and idea on this?
Thanks
YutongSure, here is the sample code for method doOnNodeReady
protected void doOnNodeReady(IPortalComponentRequest request,
IEvent event)
//set http content type to excel format
HttpServletResponse response = request.getServletResponse(true);
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachement;filename=\"abc.xls\"");
java.io.PrintWriter out = response.getWriter();
// print out the header
out.print(headerSubject + "\t");
out.print(headerDueDate + "\t");
// then print out your data
out.close(); -
A conversion error occurred while the program -- display data on the screen
HI all,
Iam getting a dump error described below:
A conversion error occurred while the program was trying to
display data on the screen.
The ABAP output field and the screen field may not have the
same format.
Some field types require more characters on the screen than
in the ABAP program. For example, a date field on a screen needs
two characters more than it would in the program. When attempting to
display the date on the screen, an error will occur that triggers the
error message.
Screen name.............. " Ztable_MM_MRQ "
Screen number............ 0100
Screen field............. "WA_PO_ITEMS-MENGE"
Error text............... "FX015: Sign lost."
Further data:
Give us step by step procedure to rectify the same with T.codes
Thanks
Regards
SirajRaymond
please give details in se51 where i have to put a "V" to allow negative amounts
whether it is in Text or I/O templates
name type of screen element Text or I/O field
WA_PO_ITEMS-MENGE Text PO_quantity__
regards -
Where does one manage date formats for display and input
the user specification is that dates be displayed as YYYY-MON-DD. Is there a config or properties file which contains the date format for display? Is there a calendar drop-down that can be positioned next to a date input field for a question on a screen?
Thanks,
AllanHi Allan,
Curious why the rule project wasn't created with "English (Canada)" initially? If your project is English (UK) with the default configurations for that locale, then I assume your currency values are appearing in OWD with the GBP symbol (£) instead of a dollar sign ($)?
As for the impact of switching… I highly recommend getting confirmation from the OPA Dev team before doing it, but in the meantime, if you wanted to experiment on your own with a separate test rulebase (as opposed to whatever formal rulebase you're working on), here are my observations from an initial look… (FYI, I'm an experienced OPA rulie, but I'm non-technical and not in the Dev team, so best to check with them!)
I poked around the language parser files and saw that English (UK) has an English (UK) verb list, whereas English (Canada) uses the English (US) verb list. The vast majority of verbs are identical in all the variations of English, however, there are a couple which differ. So if you've used any verbs which have a different spelling between the 2 lists, there may be some attribute text to tweak, e.g.
- English (UK): the person travelled to Australia
- English (US): the person traveled to Australia
- English (UK): the person cancelled the reservation
- English (US): the person canceled the reservation
I saw some other different files between English (Canada) vs English (UK), but didn't notice anything in them which I'd expect to impact the rulebase.
As for how it might impact other components:
* screens file and the properties file – May be some tweaking depending on how you addressed the verb spelling issue above.
* regression test files – May be some tweaking depending on how you addressed the verb spelling issue above.
* messages.(locale).properties – The default messages.(locale).properties file appears to be based on the Language setting of the Project. I just tested this and OWD used a different messages.(locale).properties file when I changed the Project Language (OPM | File menu | Project Properties | Common Properties | General | Language).
* Siebel Connector – don't know what the impact would be.
OPA Dev team – Can you review what I've said here? And add any relevant further detail?
Cheers,
Jasmine
Maybe you are looking for
-
Songs showing up twice on my iPod
Hello everyone. I am an organization junkie, and just jumped to the iPod from Zune. I can say already, I like the iPod itself better, but iTunes is really p*ssing me off. I just did a sync to my computer, and then noticed some of the songs I synced h
-
InDesign cross-document Text Anchor Hyperlinks
I'm combining several InDesign files into one PDF, with several hundred text links across the different sections, as well as within each. The cross-document (section) Text Anchor Hyperlinks work fine in my workspace - but when I change the file locat
-
Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot
-
Transferring Files Causes Bridge CS3 to Crash
I am using Bridge CS3 as a means of cataloguing a lot of imagery. I have gotten to about 2600 images in one folder and every time I try to drag more into the folder Bridge crashes. Any ideas on how much info a folder can handle, or bridge in general.
-
poor wifi bar as m standing near to an router !!