How can set the timestamp format in query component?

I met 2 problems when I am using timestampTZ on query component.
The first one, in the table, I have a field type is timestampTZ. And I have a query on this field. However, When I open the page, I found the date format is not what I want, can I change the format in the query component? Like from “mm/dd/yyyy” to “dd/mm/yyyy” in the search criteria. For the query component. I used bing variable. The bing variable I set to timestampTZ type.
Another problem is, as in the database, the time has date and time, but in the query component, it only has date, so if I added a end date field, it only show the records before the end date. I think the parameter take the time as 00:00:00. Is there any way to fix this?
Thanks a lot.

Thanks a lot. I tried, but still not work, I can see the date with time. But I tried to execute the query, it threw exception (with/without date value). Is that because the field in database is timestampTZ?
<RegistrationConfigurator><handleError> Server Exception during PPR, #1
java.lang.ArrayIndexOutOfBoundsException: 7
     at oracle.sql.TIMESTAMP.toTimestamp(TIMESTAMP.java:294)
     at oracle.sql.TIMESTAMP.timestampValue(TIMESTAMP.java:431)
     at oracle.jbo.domain.Timestamp.getData(Timestamp.java:433)
     at oracle.jbo.domain.Timestamp.getValue(Timestamp.java:421)
     at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:67)
     at org.apache.myfaces.trinidadinternal.convert.GenericConverterFactory.convert(GenericConverterFactory.java:287)
     at org.apache.myfaces.trinidadinternal.convert.DateTimeConverter.getAsString(DateTimeConverter.java:95)
     at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:158)
     at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:148)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
     at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1213)
     at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:103)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1932)
     at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:606)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
     at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:529)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:574)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
     at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:574)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
     at org.apache.myfaces.trinidad.component.UIXGroup.encodeChildren(UIXGroup.java:138)
     at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:57)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:410)
     at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
     at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:289)
     at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:442)
     at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:258)
     at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
     at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
...

Similar Messages

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

  • Formatting Tips, how can obtain the right  format?

    how can obtain the right format of code,
    http://forum.java.sun.com/help.jspa?sec=formatting
    if is possible do a example.
    Thanks in advantage

    Wrap your code between [code] and [/code]
    [code]
    // Here goes my code
    [/code]
    looks like
    // Here goes my code.

  • How to set the width for a selectManyShuttle component

    Hi,
    I'm using selectManyShuttle component from Oracle ADF Core and some of the items in the showing list are long, therefore the width of selectManyShuttle expands the page. How to set the width property for selectManyShuttle component? After that does selectManyShuttle provide horizontal scrollbar as well?
    Thanks in advance,
    lapi
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Solution here:
    Re: ADF Faces Scrollable Panel or Scroll Bar inside a component
    Regards
    Grant

  • How to set the view format of the numbers in the tooltip.

    By default a graph will automatically format the axis view to be a scaled value.
    Example: 180321005 will show as 180 M on the axis label for the graph
    There is a way to set the scaling on the y-axis of a graph so that it will not be displayed as a scaled number.
    m_graph.getY1Axis().getViewFormat().setScaleFactor(BaseViewFormat.SCALEFACTOR_NONE);
    Now: Example: 180321005 will show as 180321005 on the axis label for the graph
    But is there a way to set the scaling factor for the pop up tooltip that appears when the user mouses over a point on the graph?
    Right now the tooltip view shows the y value as a scaled value; therefore, much of the number's percision is lost.
    Thanks,
    michelle

    Hello
    Did you find any soloution?

  • How canI change the date format from mm/dd/yyyy to dd/mm/yyyy in FirefoxOS?

    I have just received and am trying out things my new Alcatel Fire E with FirefoxOS 2.0.0.0 (just updated).
    It is usual in most operating systems to be able to customize the date and time settings (amongst other things). After a few fruitless hours fiddling with the phone and checking various forums, I've come to the conclusion that this is currently not possible on my phone with this version of FirefoxOS. Or have I simply missed something?
    Achim

    ''mohd.afzal97 [[#answer-710207|said]]''
    <blockquote>
    Can u please me the method of updating phone to 2.0
    </blockquote>
    Since I don't have the old version anymore, the following might not be 100% accurate. Note that my device is in English.
    Go to the Settings app and select "Device information". You can either choose "Check now" or select "System Updates" and then "Check for Updates". If there is an update available you'll be notified. What it won't tell you is which version the new one is, at least I did not recieve that information. I thoughT I was updating to 1.4.x, not 2.0.
    You should be given the choice to either update or not. You can ignore the update if you want (like if you don't have the time, or something.
    A couple of words of warning:
    1. Make a backup of any important data first.
    2. It takes quite some time to download all the update data and this might bust your limit depending on what your service provide allows. I avoided this by doing the update whilst connected to a WLAN (also known as WiFi) which has no data restriction. This can be set in "Check for Updates > Settings".
    Hope that helps.
    Achim

  • How Can set the General Modification in OBYC

    Hi, Experts.
        I have a question when configure the OBYC, who can explan the Valuation Modification and General Modification? And in our IMG the setting is
    General Modifiacation             Account          
    V00          21113000          Lability
    V01          11473000          Asset
    V02          21113020          Lability
    V03          21159000          Lability
    V04          11504000          Asset
    V05          11502000          Asset
    V06          11501000          Asset
    V07          11432099          Asset
    But when I do GR and it always post to the V00   21113000. I do not know Why?

    Hi
    During GR the system will look for the General Modifier in account assignment category then it will look for the entries in GBB to pick the GL account.
    IMG>MM>Purchasing>Account assignment>Maintain acc assignment cateogry>for example K - cost center is assigned with Acc modification VBR
    What account assignment category you are using in your PO?
    Hope it helps
    THanks/karthik

  • How can set the responsiblity name and operatingunit name at header level y

    Dear all
    Good Morning
    i have to set the respname and org name at header level
    i taken the item at page level userinfo it is coming the right side of the page i want to be set at header level only in left side top only...
    is there any item style for this requiremt
    Regards
    Sreekanth

    Dear Sumit
    I designed one custom page in top header level i want to put Operating unit name and responsiblity name i mean in which responsiblity user working in that page...
    i want to set these two properties
    in process request i wrote the code
    int orgid=pagecontext.orgid();
    String respname = pageContext.getResponsibilityName();
    i want to set these values to icorresponding items
    these items i want to create at the top level of the header
    which region which style.........
    in page level i taken userinfo item it is coming right side of the header
    i want to set these two items either left or right i want to set header level only
    Regards
    Sreekanth

  • How to Set The Initial Value of selectinputdate Component

    I set the the initial value by
    public void setSelectInputDate1(CoreSelectInputDate selectInputDate1) {
    this.selectInputDate1 = selectInputDate1;
    java.util.Date v_tarih = new java.util.Date();
    this.selectInputDate1.setValue(v_tarih);
    But when I change the value of selectinputdate and refresh the page it gives the warning
    2006-11-18 19:21:35.562 WARNING JBO-25009: 25.11.2006 19:17 oracle.jbo.domain.Date object cannot be created
    2006-11-18 19:21:35.562 WARNING java.lang.IllegalArgumentException.
    What is the reason?
    Thanks...

    Hi Turhan Tekin,
    this post may be helpful for you:
    Re: setting value of select input date adf component programmaticaly
    Regards,
    Luis R.

  • Jdev - How to set the default format for Attribute Name

    Hi, I am using Jdeveloper 10.1.2.0.0 (build 1811), is it possible to change the format of the attribute name generated such that it follows the name as created in the database?
    For example, if in the database the column name is 'some_column_name' , when you create an entity object, the automatically generated attribute name will become 'SomeColumnName'. Is it possible to make it such that the generated attribute name follow the database column name i,.e 'some_column_name'

    That means i still have to change the name for each attribute?
    Could it make it such that when the entity obejct is created, the name is already following as it is from the database? i.e some_column_name in the database will not become SomeColumnName in the entity object.

  • How to set the numeric format through the API

    Hi,
    I have an utility that imports limits from external resources and in that utility (C#) I would need to modify the numeric representation  so that what is defined as hexa in the external resource to be displayed as hexa after importing to TS as well.
    Can U help me out if this is possible with the API and if so, what is the right methods for it?
    Thanks in advance.

    Hi again,
    I didn't find straight solution yet, but I think it is good way around:
    http://digital.ni.com/public.nsf/allkb/1304B337E03E2E1A86257ACD004BAB06
    If you want hexadecimal representation you need to change "%b" to "%x". I'm still keep looking for a better solution...
    Best Regards

  • Database level setting for timestamp format

    Is there any way by which I could set the timestamp format for a database
    Something similar to timestamp sesion setting like
    alter session set nls_timestamp_format = 'YYYY-MM-DD HH24:MI:SS.FF1'

    You can define NLS parameters at the instance level in the parameters file. But any redefinition at the client side will overcome this.

  • How 2 Set the logic for report 2 run 1st of everymonth......

    Hi Experts,
    i ve developd a HR-ABAP report in that Some part of code will Mon-Fri, Excluding Public holidays and sat & sundays...( i.e no public holidays and no sat & sundays)
       and some part of should Run on 1st of everymonth.... but 2 parts of code should be in same report..
    How can set the logic to run the report respective times....
    Thanks in Advance....
    sudeer.

    you can code this but need some good expertise on fm's  , date handling techniques and subroutine call coding.
    1.
    to make the code run only on 1st of every month
    capture the rundate of ur prog .. take value of  sy-datum
    ex.. 01.xx.yyyy
    or date std will be yyyymmdd so check for dd = 01 ..
    so per logic first two chars show that its first of any month in any year ..
    if yes
    execute the logic for the first of every month ..
    endif.
    2.
    where the code needs to be run on mon-fri and not on public holidays / sun / sat ..
    first fetch the day based on date .. like mon or tue or wed .. except sat and sun..
    second check whether if m-t-w-th-fr if any of them is  a holiday or not
    u need to check the date in the calender list like tholi thoc and .. to check whether that is a holiday or not ..
    coming to sat and sundays .. u need to check the day for date using function modules and build the logic ...
    br,
    vijay..

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

  • PAL or NSTC, how can i tell what format the vid clip is?

    The 2nd abbreviation might be wrong...
    concerning vid clips
    How can you tell what format clips are in before iMovie tells you?
    I don't want to combine the formats and cannot figure a way to tell the difference before trying to burn the dvd

    At the top of the iMovie project window it will tell you by giving the name you gave to the project as well as 'DV NTSC, or DV NTSC Widescreen.
    Somewhat confusingly, when you set your choice of NTSC or PAL in iMovie's preferences when starting a new project (you can't switch later), these are only identified as 29.95 fps (which is NTSC) and 25 fps (which is PAL). Once you have set that, all iMovie projects you start will default to the same until you change it. You cannot combine the formats in the same project.
    As you are in the USA yours will probably default to NTSC which is the TV system you use there. In Europe we set it to PAL which is what we use here.
    A bit rudely, we also say that NTSC stands for 'Never The Same Colour Twice'!
    PAL used to stand for 'Prolongs Active Life', but that was actually the tag-line in a dog food commercial! But they are useful mnemonics to remember them by!

Maybe you are looking for

  • Dates Between Query :( with out TO_DATE.

    Greetings, I have a query whete in the where clause I compare a column b/w two dates. The Query looks like this, trunc(LAST_UPDATE_DATE) BETWEEN '22-FEB-03' AND '21-MAR-03'. This query doesn't fetch any records. Whereas when I use the query with a TO

  • Lsmw with multiple line

    Hi, I need to change/edit  payment transaction at vendor master data (FK02). The vendor already have 1st row with bank ctry, bank key, bank number, now i need to add another row but I am unable to do it. When we record via lsmw, the recording is okay

  • Install Oracle 9i(R2) on Windows 7

    Can I Install Oracle 9i (Release 2, Version 9.2.0.1) on Windows 7 platform by choosing by choosing the Windows XP compatibility mode on the Oracle 9i (R2) installer i.e. setup.exe file?

  • Service Identification and Design

    Hi Forum, I am interested in how you folks are doing service identification and design in real world. IBM has SOMA methodology where you can do top down design by identify your processes and identify services using domain decoposition. Does Oracle ha

  • NID Utility

    Following : How to Change the DBID, DBNAME Using NID Utility [ID 863800.1] I would like to change the name of the DB from PSDWH to DSDWH The note said: Make sure that you have DB_OLD specified in the tnsnames.ora and listener is started.     You can