Table date filter not working properly

Hi OTN,
I have noticed that table date filter not always working properly.
When I copy actual value from column outputText to column filter and hit Enter - I see an empty table.
http://imageshack.us/photo/my-images/818/filter.png/
I suspect the problem to lie among date formats.
But I tried to delete convertDateTime from outputText or add it under filter inputDate. Nothing helped.
<af:column sortProperty="Hisdate" sortable="true"
                                 headerText="#{bindings.InformationView1.hints.Hisdate.label}"
                                 id="c8" visible="false" filterable="true"
                                 width="83">
                        <af:outputText value="#{row.Hisdate}" id="ot5">
                          <af:convertDateTime pattern="#{bindings.InformationView1.hints.Hisdate.format}"/> // or without both lines
                        </af:outputText>
                        <f:facet name="filter">
                          <af:inputDate id="id15"
                                        value="#{vs.filterCriteria.Hisdate}"
                                        columns="8">
                            <af:convertDateTime pattern="#{bindings.InformationView1.hints.Hisdate.format}"/> // or without both lines
                          </af:inputDate>
                        </f:facet>
                      </af:column>Nothing special about the attribute. A database table field of type DATE. In database this (see picture) row has exactly "06.06.2006".
Could you please point me out where to start seeking?
Thanks.
JDev 11.1.1.4

Well, OK. I think I'd better have 2 attributes: truncated date for filter and full date with time for edit.
What is an attribute type for datetime?
select trunc(t.HISDATE) AS HISDATE -- date attribute type
    ,to_char(t.HISDATE, 'dd.mm.yyyy hh24:mi') AS HISDATETIME -- timestamp/date attribute type?Something like this?

Similar Messages

  • Hello experts read table statement is not working properly

    Hello Experts.
    my code is like this.
    sort it_matnr by matnr.
    loop at itab_result.
    read table it_matnr with key matnr = itab_result-matnr  binary search.
    endloop.
    there are nearly 2000 records in it_matnr . The records which satisfy the above condition is there here in this internal table. But it is unable to read the record which matches the condition. One thing is that , there are more than one record with the same material. ie mblnr is different but material is the same. In it_matnr table i have only 1 field ie matnr ,so i need to compare only with the matnr.I also tried by sorting it_result by matnr but of no use. Then finally I used loop at where matnr = it_result-matnr , it is working fine. But due to performance reasons we should not use this. so please tell me what to do and correct the code.

    1. Make sure that the table IT_MATNR is not getting updated inside the loop. Because it will then destroy the sorting.
    2. Secondly, if there are multiple records in IT_MATNR for the same material then it will search for the first record encountered in binary algo. So it is advisable that you may provide further filter criteria if possible. check if ITAB_RESULT & IT_MATNR have any other matching field that can be put in filter criteria.
    3.Thirdly, check if your requirement can be achieved by STABLE SORT.
    <b>SORT <itab> ... STABLE BY <f1>[ASCENDING/DESCENDING].</b>
    It will allows you to perform a stable sort, that is, the relative sequence of lines that are unchanged by the sort is not changed. If you do not use the STABLE option, the sort sequence is not preserved. If you sort a table several times by the same key, the sequence of the table entries will change in each sort. However, a stable sort takes longer than an unstable sort.
    4. Lastly, you can use parallel cursor technique of multiple loops which is given below:
    LOOP AT itab_result.
      READ TABLE it_matnr
        WITH KEY matnr = itab_result-matnr
        BINARY SEARCH.
    Process record
      LOOP AT it_matnr FROM sy-tabix.
        IF it_matnr <> itab_result-matnr.
          EXIT.
        ENDIF.
    Process record based on yuor condition
      ENDLOOP.
    ENDLOOP.

  • Aspect ratio filter not working properly

    I am running LR3.5 on Mac OS 10.6.8 and recently discovered that the aspect ratio filter is not working when used on folders created a few years ago. Specifically, a great many images shot in landscape mode are included with the portrait mode filter instead of in the landscape mode filter. This is not happening with more recent folders. At least one of my camera bodies has been used for images in older and newer folders so I do not think it is the camera's fault. I should also add that the files are saved in the dng format.
    I do not know how long this has been going on, since I rarely use the aspect ratio filter. It is even possible that this happened when I converted my catalog from LR2 to LR3.   The integrity of the catalog is checked each time I back up, which is whenever I exit.  Does anyone have any ideas how to fix this?
    Thanks.
    Mark

    So the metadata is properly showing the images as landscape. Somewhere along the way LR got out of sync, perhaps moving images into a new catalog? As long as there are no portrait Crops on any of these files they should filter properly after resynching the DNG metadata. There have been other posts with this same issue and a bug report to Adobe. Not sure it has been actually fixed though:
    http://paulsumberg.com/2010/08/03/leave-it-to-me-to-discover-a-flaw-in-adobe-lightroom/
    http://paulsumberg.com/2010/08/14/bug-alert-adobe-lightroom-and-work-around/

  • 0GL_ACCOUNT Hirearchy Data Source not working properly

    Hi All,
        I am trying to upload hierarchies for 0GL_ACCOUNT using data source 0GL_ACCOUNT_T011_HIER. But its getting failed. In R3 the data source is working fine. When I m displaying data source in RSA1 it displays Version : Modified , Active Version : Does not exist. Is this normal?
    I am using transfer method IDOC. what may be the reasons behind the failure?
    Regards:
    Jitendra

    Hi  Jitendra,
    Did  you already try to activate DS again?  Please try it with rpeort RS_TRANSTRU_ACTIVATE_ALL, using  for 0GL_ACCOUNT _HIER and name of source system  as parameters.
    Hope this helps
    Joe.

  • AddFilter for an AND filter not working properly with my XML

    I am following the examples from the Multiple Filters Sample pages to build a page that will filter some data based upon grade levels.
    http://indianawea.org/resources/outreachtest.asp
    This page is calling the XML file located here:
    http://indianawea.org/datasets/resourcesXML.asp
    You will notice some weird things right away if you do a simple filter for K-3 Grade Levels. It will find some of the K-3 but not all of them. In addition, when I add another filter (7-8) it doesnt seem to be additive at all but doing an OR filter. The K3 and 7-8 together should only have two results (World Monitoring Day and Survival Guide).
    I wonder if it has to do with my XML file struture.The grade levels are stored in a comma delimited string in the database and I pull them out, put them in an array and then loop through the array, creating XML markers for them. This was patterned after the donut example on the Spry page. I am not sure I am doing that correctly because the tags have the same names.
    Any help on this is greatly appreciated. And yes, I am working on this on Easter afternoon!
    Jon

    Thanks for the response Gramps.
    http://indianawea.org/datasets/resourcesXML.asp
    That is my XML. I have added IDs to the keywordBreakout and gradeLevelBreakout
    Looking at this code by Adobe, my XML seems to be in form now with theirs.
    http://labs.adobe.com/technologies/spry/data/donuts.xml
    In that example they are using there filter to search all toppings if I see that correct, and they have multiple topping nodes with ids. I am trying the same thing. Even with the ID's I am not getting accurate filters.
    I have a data field in the database that contains the gradeLevels. It is called gradeLevels in the XML. I thought I would need to parse that out and put them in their own nodes, each grade level at a time, so that the filter can accurate find one when checked. Same for keywords. I could leave them in there comma demlinited list and do a contains instead of an = search with the SPRY filter but I feel that wouldnt be as accurate in case there are keywords that are close in names. I guess I am stumped as to what my next move might be. I'd love some more help gramps!
    Jon
    NOTE: Even trying this to the gradeLevel node not broken out yields poor results
    function ffK3(ds, row, index){ return (row.gradeLevel.match("K-3")) ? row : null; }. It is like it is ignoring certain nodes. The Water Source Book's gradeLevels don't come up in any filter.

  • Checkin filter not working properly in case of WebDAV

    Hi guys,
    I have written a custom checkin filter. This filter populates MetaData xStartDate of Date type.
    When I checkin content item through UCM admin portal, then filter work fine and set the xStartDate meta data value.
    Here is the code that is used to set meta data:
    binder.putLocal("xStartDate","9/23/10");
    But in case of WebDAV, content item is not checked in although Filter get executed successfully.
    Please help!!!

    This is an ackowledge bug in Flash Builder 4.7 : (
    https://bugbase.adobe.com/index.cfm?event=bug&id=3499140

  • Foreign Exchange - Posting date - updation - Not Working Properly

    Hi Friends,
    At the time of posting the Purchase invoice in Transaction Code MIRO, the system is picking the Exchange rates form the table based on our posting date in the Invoice screen.
    System is not updating the exchange rate, if we change the Posting date just before posting.
    Example:
    Transaction code MIRO
    Posting date 21.01.2010; Exchange rate picked by system - 46.67 (USD and INR) Maintained in Table - 21.01.2010 - Rs.46.67
    before posting we are changing the posting date from 21.01.2010 to 22.01.2010
    Posting date 22.01.2010; Exchange rate picked by system - 46.67 (USD and INR) maintained in Tabl - 22.01.2010 - Rs.46.99
    To bring the correct exchange rate into effect, We are coming out of the Transaction code and Re-entering the correct posting date.
    Is there is any solution to make the system pick the exchage rate whenever we change the posting date?
    Thanks in advance friends and collegues

    Thanks for Quick reply
    I have a separte Exchange rate in PO (purchase Order) and I have not activated the fixed Exchage rate in the Purchase Order
    If I have activated the Fixed Exchange rate in Purchase order - then the system will not accept other Exchange rates in Transaction Code MIRO (booking LIV)
    I have not activated the Fixed Exchange rate in Purchase order (Please have a look at the Purchase Order - A check box for maintaining the Fixed Exchange rate through out the P2P Cycle.
    If the fixed exchange rate is notactivated in PO, the system will pick the Posting Date in the Transaction Code MIRO (LIV) for calculating the Exchange rate.
    Now my query is why the system is not changing the Exchange rate automatically when I change the Posting date in Transaction Code MIRO. Please also let me know what should be done from our side so that whenever I change the posting date in Transaction Code MIRO, the system should pick the Exchange Rate according to the Posting Date in Transaction Code MIRO.
    Thanks for showing Interest
    Thak you and Kindest Rgeards
    Srikaanth

  • Date Function not working properly

    Dear Gurus,
    I have a plan app and the pertinent essbase cube, I need to retrieve the no. of days for the curr month/year combination.
    On version 11.1.1.3 I used something like : @TODATE("dd-mm-yyyy",@CONCATENATE("01-01-",@NAME(@ALIAS(@CURRMBR("year"))))) / 86400;
    and it worked fine.
    When I moved the formula on the 11.1.2 version I get an error " invalid argument in function @_TODATE".
    I know that essbase was never really good with dates.
    Any help I appreciate.
    yannis

    Hi Yannis,
    1. I see no reason for it not to work on 11.1.2, when it had run flawlessly on 11.1.1.3.
    2. Looking at the tech reference of @TODATE, nothing seems to have changed , there is only one difference.which is the latest data supported by the function in 11.1.2 is 12-31-2037,while its 01-01-2038 in version 11.1.1.3.
    3. Sounds silly, but try to validate the formula which was resulting in errors in 11.1.2 , on 11.1.1.3 once.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Table Data delete not working

    Hi,
    I m trying to simply delete all records in a Z table. I insert data into this table from another program. Until 1/2 hr ago both insertions and deletions were working fine. But now suddently the delete program is hanging on statement
    DELETE FROM SAPR3.ZMYTABLE.
    The table has no lock objects, nor m I explicitly locking the table in the insert program. Please help at the earliest, points will be given to right answer. Thank you for reading.

    Hi Srikrishna,
    Please try to use standard program RADCVBTC to delete all records from your custom program.
    OBJ_NAME = <custom table>
    OBJ_TYPE = 'TABL'
    FCT      = 'MDF'
    Hope this will help.
    Regards,
    Ferry Lianto

  • Oil Paint filter not working properly

    When I run it, it just turns the image a dark, almost black, grey. If I change the settings, it functions properly, but several actions I have that use it all fail and give me the dark grey. I'm using Photoshop CC 64bit.

    Macintosh or Windows? 
    Exact version of the OS and of Photoshop CC 64 bit?
    What type of image? 
    What bit depth and what color space?
    Can you show your action with all steps visible?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Junk mail filter not working properly

    About two weeks ago mail started marking lots of messages as "Junk". Even messages (reminders) I send myself are marked as junk. This is entirely new and I don´t have a clue of what triggered the change in behavior.
    I have turned off the junk mail filtering, but that is not my preferred solution.
    Any hints on what might be going on?

    I too have a problem with junk mail, but it is a little different. Every time I click junk mail for a mail message that is junk, nothing happens. What I mean by this is that the same emails from the same sources continue to come into my inbox without being filtered out. Is there some setting that I need to check to have mail filter out my junk?

  • Dense_Rank() over order by date fields not working properly

    Hi,
    i have a pl/sql statement which looks like this:
    WITH OrderedByDateTable     AS
         SELECT     gsp.*, DENSE_RANK () OVER (ORDER BY A_varChar_col1,
    decode(upper('COMPLIANCETICKSDATE'),'TASKNBR',TASK_NBR,
    'DESCRIPTION', DESCRIPTION,
    'PARTNBR', PART_NBR,
    'PARTSERIALNBR', PART_SERIAL_NBR,
    'SORTDATE', TO_DATE(MIN_EST_DUE_DATE),
    'COMPLIANCETICKSDATE', COMPLIANCE_DATE,
    TASK_NBR
    )DESC NULLS LAST,task_nbr,description,enrtask_id)     AS r_num
         FROM     GT_STATUS_PAGING gsp
    SELECT     *
    FROM     OrderedByDateTable     
    The result that i am expecting is that the dense_rank should order the compliance_date column in desc order and finally gives ranks to the rows.
    But i am getting the resultset in some order all the time, but it is neither ASC or DESC.
    But if for debugging purposes, lets say if i replace the COMPLIANCE_DATE column with DESCRIPTION column again it works perfectly fine giving me the descriptions in DESC order along with the ranks. But for both the date fields above it doesnt work.
    Can anyone please help me on how to solve this?

    user12270778 wrote:
    Hi,
    i have a pl/sql statement which looks like this:
    The result that i am expecting is that the dense_rank should order the compliance_date column in desc order and finally gives ranks to the rows.
    But i am getting the resultset in some order all the time, but it is neither ASC or DESC.
    Can anyone please help me on how to solve this?The problem is an implicit date conversion that takes place.
    Because the first parameters of your decode are strings, the COMPLIANCE_DATE column is also converted into a string. This string is then sorted alphanumerically. The default format mask is often DD-MON-RR. Therefore your date column would be sorted by day, then by the name of the month and so on.
    Fast solution would be to do an explicit conversion from date into strings that match the ordering.
    WITH  OrderedByDateTable     AS
            (     SELECT     gsp.*, DENSE_RANK () OVER (ORDER BY  A_varChar_col1,
                         decode(upper('COMPLIANCETICKSDATE'),
                                   'TASKNBR',TASK_NBR,
                                   'DESCRIPTION', DESCRIPTION,
                                   'PARTNBR', PART_NBR,
                                   'PARTSERIALNBR', PART_SERIAL_NBR,
                                   'SORTDATE', TO_DATE(MIN_EST_DUE_DATE),
                                   'COMPLIANCETICKSDATE', to_char(COMPLIANCE_DATE,'YYYYMMDD HH24:MI:SS'), /* this is the important bit */
                                   TASK_NBR
                                   ) DESC NULLS LAST,task_nbr,description,enrtask_id)     AS r_num
                        FROM     GT_STATUS_PAGING  gsp
    SELECT     *
    FROM     OrderedByDateTable     You should be careful, because the same problem also happens with your SORTDATE column MIN_EST_DUE_DATE.
    Edited by: Sven W. on Oct 25, 2012 6:53 PM

  • Date arithmatics not working properly

    if i m passing a varchar string and this string is in a default date format then
    it should be converted to dd-mon-rr
    SQL> select '12-jan-04'+3 from dual;
    select '12-jan-04'+3 from dual
    ERROR at line 1:
    ORA-01722: invalid number
    but instead of that if i m using to_date then its working...
    1* select to_Date('26-feb-04')+5 from dual
    SQL> /
    TO_DATE('
    02-MAR-04

    In the first statement, Oracle has no idea that the string happens to be convertable to a date using the session's NLS_DATE_FORMAT setting. Oracle doesn't try that conversion unless you do an explicit conversion.
    Justin

  • Flash Gradient Bevel Filter not working properly in a swc

    Hi,
    I have a swc that is used by a AS Flash Builder project. When I export the swc from Flash Pro, I can see the filter working correctly in the priview that Flash Pro pops open. But when the swc is loaded up via Flash Builder and the swc, the gradient bevel fiter shows the first color in the gradient as green, and it looks like it's missing the first half of the gradient. It's green with a straight change to the next color, no gradient. This is happening for all objects that use this filter in the swc.
    Any ideas?
    cheers.

    This is an ackowledge bug in Flash Builder 4.7 : (
    https://bugbase.adobe.com/index.cfm?event=bug&id=3499140

  • Mobile data key Not working properly

    I have owned both c3 and e4. In both maximum 3 to 4 only it is working. Afterthat I need to be restart my device. I think this will be solved in next updates.

     Which key are you referring to ? 

Maybe you are looking for

  • Network problem Ipad2

    I've got a problem with my network connection when i wake my ipad2 from "sleep mode". I need to "renew lease" to get it to work. Any one who got the same problem? I've also got an iphone 3gs on the same network, and it's not having any problem. Any s

  • No tweening, but still lagging

    Just when I think I've got a good understanding of Flash, I come across something that I never would have thought about before. I was always told that if I animate everything through actionscript, it will run much more smoothly than if I used tweenin

  • DBIF_RSQL_TABLE_UNKNOWN occured. P1=ABAP-gen

    Hi There Could anybody assist. We are busy doing a OS/DB migration and the following is info on our servers. Source system info: OS/ Windows 2008 R2 DB: Oracle 11.3 SAP: ECC6 EHP 7 non-unicode Kernel 740: patch 37 DBSL Patch 051 Tagert system: OS: Wi

  • Getting an error not a groupby expression

    Hi Here is my select statement, I want to select values from different tables before using Decode it is working fine when I included Decode I am getting an Error "Not a group by Expression". I have verified all the columns I have included in group by

  • CS4 Copy and paste to new Project

    When I copy  (or cut) and paste an audio clip to a new project timeline the sound is fine but after I save the project I see the video and the sound file but no sound. The sound file still plays in Soundbooth but not on the project timeline. I tried