Filter/sort approach

we develop intranet application, and on the server side we decided to use CMP entity beans as persistence layer. but we have now some problems how to impement sorting/filtering at client side. for expample you can see a list of cars on page in table with some columns user should have possibility to filter data by one ore more columns filter and also order data by one or more columns. and now i have doubt how to provide this functionality in CMP bean i can't write ejbFind method fort all combinations of criteria and ordering user requested how can this problem be solved reasonably?
to perform filterting and sorting on application level?
to use some proprietary solution? (jboss we use provides dynamic
queries)
or is there any other possibilities???
thanx for any help??
PXP Slovakia s.r.o.
Boris Brinza
IT Developer
Kukuricna 1, 831 03 Bratislava, Slovakia

Hi,
You can avoid multiple database calls by storing the results in a Collection and then use Collections.sort everytime the user wants to reorder the data.
As to where you would keep the collection, it would depend on your architecture. If you had a stateful session bean that was handling the user's requests, that would be a good place. Or you could keep it in the servlet session context (not a good idea if you have a huge collection).
Ta ta,
Jagan.

Similar Messages

  • Tableview Filter/Sort Always open a new window!

    Dear experts,
    I have came accross a weird problem. When user filter/sort function in a tableview, a new window always display automatically with the result. But the old page does not change accordingly. But when you use filter/sort function in the new window, it's fine.
    I think this may because my old window is a ModalDialog window. It was opened using "
    javascript:window.showModalDialog". When using filter/sort function, a real window rather than a dialogue appears with the correct result. But this is not what I wanted. I want to display the filter/sort result in the dialogue window, anything could solve this problem?
    Thanks in advance,
    Sinvaya

    The easiest way to open new windows in Finder, Safari and just about any other program in Mac OS X is to use the keyboard shortcut, 'Command' + 'n'

  • ADF Unable to filter / sort date column in table

    Hi,
    I am using JDeveloper 11.1.1.7.
    I have a read only table inside a panel collection. One of the columns in the table is a date field. I have filterable and sortable properties set to true for all columns. Filter and sort property works for all columns expect the date column. The filter and sort options is not even shown for the date field (shown below).
    <af:column headerText="#{bindings.ASRTCreateRequestVO1.hints.CreationDate.label}"
                                             id="c7" sortable="true" width="100"
                                             filterable="true">
                                    <af:outputText value="#{row.CreationDate}"
                                                   id="ot7">
                                      <af:convertDateTime pattern="#{bindings.ASRTCreateRequestVO1.hints.CreationDate.format}"/>
                                    </af:outputText>
                                  </af:column>
    Please let me know if I am missing anything here.
    Thanks,
    Ashwin

    Hi Ashwin,
    As mentioned by Timo, for me also the filtering is working as usual.
    But while browsing through the ADF UI Guide I came across with below note
    If you want to use a component other than an inputText component for your filter (for example, an inputDate component), then instead of setting filterVisible to true, you can add the needed component to the filter facet.
    To do so:
    1. In the Structure window, right-click the column to be filtered and choose Insert inside af:column > JSF Core > Filter facet.
    2. From the Component Palette, drag and drop a component into the facet.
    3. Set the value of the component to the corresponding attribute within the FilterableQueryDescriptor class created in Step 1(not above step but you can find it in pg:390). Note that the value must take into account the variable used for the row, for example:
    #{af:inputDate label="Select Date" id="name" value="row.filterCriteria.date"}.
    This is in the section: 12.5.1 How to Add Filtering to a Table(pg:390).
    I hope it helps.
    Regards,
    Peddi.

  • Schema filter sorting issue

    After connecting to EBS database I filtered "Other users" to see only 2 schemas.
    The schemas were sorted alphabetically on both sides, which made it easy to select the ones I needed.
    After that I tried to modify the filter and this time Available schemas ar not sorted (at least not by name). Displayed schemas ar still sorted.
    There is a workaround, however. Just keep pressing the schema name first letter to cycle through all schemas starting with that letter. Or type in full name to jump to it directly.
    Pressing [help] brings up error "Cannot find help content...". Which is understandable. :)
    Developer version v1215, Windows 2k.

    Another workaround is to use >> to shift all users back to Displayed and then << to shift all back to Available and then they will be alphabetic. That should not be the permanent solution - I did log a bug on this.
    -- Sharon

  • Filter / Sort by Bit Depth? (16 bit vs 8 bit)

    I am looking for a way to use the Filter panel to sort/filter results by bit depth (16 bit vs 8 bit images) - is there a way to do this Bridge CS4? I have looked in every part of the sorting mechnisms and can't find a way. Am I missing something?

    Unfortunately there is no such way in the filter panel, it might be a good
    feature request, maybe you can add that using the link at the main page on
    this forum.
    In the meantime there are 2 possible workarounds. Regarding the fact that a
    16 bit is twice the size of an 8 bit you might want to use the sort by size
    criterion in the Path Bar but when having different source files or layered
    files that might not always be sufficient.
    If you use the find command (cmd+F / or menu Edit-Find) you can select the
    find by bit depth option. Also select the option to equal and use either the
    number 8 or 16.
    I am looking for a way to use the Filter panel to sort/filter results by bit
    depth (16 bit vs 8 bit images) - is there a way to do this Bridge CS4? I have
    looked in every part of the sorting mechnisms and can't find a way. Am I
    missing something?

  • Filter sort criteria

    Hallo,
    in den Spalten des Bibliotheksfilter werden die Filterergebnisse aufsteigend sortiert nach dem Wert auf der rechten Seite
    z.B. Dateityp
    Dateityp
    JPEG
    12000
    PNG
    400
    RAW
    500
    TIFF
    600
    stattdessen möchte ich gerne eine sortierte, aufsteigende Darstellung wie folgt haben:
    Dateityp
    PNG
    400
    RAW
    500
    TIFF
    600
    JPEG
    12000
    Bei der sortiert wird nach der Anzahl der Werte.
    Ist das irgendwie möglich gegebenenfalls auch durch ein Plugin.
    Wäre für jeden Hinweis/Tipp dankbar.
    Anmerkung: Obiges Beispiel macht sicherlich keinen Sinn aber ich habe einen Anwendungsfall mit einem selbst geschriebenen Plugin das MD5 Hash-Codes erzeugt und da macht es durchaus Sinn in Verbindung mit der Suche nach Duplikaten!
    Gruß
    Christoph

    Sorry,
    I just realised this is a english forum!
    So again:
    I like to sort the filter row against the value and not the criteria.
    Please see above table e.g.
    Is this possible within a plugin?
    regards
    Christoph

  • How to Filter & Sort on Cached view object data?

    We are using JDeveloper 9.0.3.4 and implemeting a Struts/JSP application that query's via view object on one table. Is it possible to sort and order by on the view object's cached data? How does one do this?
    Thanks
    Natalie

    As for filtering rows, there are two ways:
    1. In the VO that's sorting data (in my article), you can add logic to skip unmatching rows in the following methods:
    protected boolean hasNextForCollection(Object qc)
    protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet resultSet)
    2. In the base VO (unsorted), you can apply a RowQualifier. For example,
    oracle.jbo.server.RowQualifier rowQual = new oracle.jbo.server.RowQualifier("EmpDeptNum = 20");
    myVO.setRowQualifier(rowQual);
    Thanks.
    Sung

  • Confusion in FILTER and SORT operations in the execution plan

    Hi
    I have been working on tuning of a sql query:
    SELECT SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), 0)),
           SUM(DECODE(CR_FLG, 'C', 1, 0)),
           SUM(DECODE(CR_FLG, 'R', NVL(TOT_AMT, 0), 0)),
           SUM(DECODE(CR_FLG, 'R', 1, 0)),
           SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), -1 * NVL(TOT_AMT, 0))),
           SUM(1)
         FROM TS_TEST
        WHERE SMY_DT BETWEEN TO_DATE(:1, 'DD-MM-YYYY') AND
           TO_DATE(:1, 'DD-MM-YYYY');Table TS_TEST is range partitioned on smy_dt and there is an index on smy_dt column. Explain plan of the query is:
    SQL> explain plan for  SELECT SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), 0)),
      2         SUM(DECODE(CR_FLG, 'C', 1, 0)),
      3         SUM(DECODE(CR_FLG, 'R', NVL(TOT_AMT, 0), 0)),
      4         SUM(DECODE(CR_FLG, 'R', 1, 0)),
      5         SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), -1 * NVL(TOT_AMT, 0))),
      6         SUM(1)
      7    FROM TS_TEST
      8   WHERE SMY_DT BETWEEN TO_DATE(:1, 'DD-MM-YYYY') AND
      9         TO_DATE(:1, 'DD-MM-YYYY');
    Explained.
    SQL> @E
    PLAN_TABLE_OUTPUT
    Plan hash value: 766961720
    | Id  | Operation                            | Name                | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                     |                     |     1 |    14 | 15614   (1)| 00:03:08 |       |       |
    |   1 |  SORT AGGREGATE                      |                     |     1 |    14 |            |             |       |       |
    |*  2 |   FILTER                             |                     |       |       |            |          |       |       |
    |   3 |    TABLE ACCESS BY GLOBAL INDEX ROWID| T_TEST             | 79772 |  1090K| 15614   (1)| 00:03:08 | ROWID | ROWID |
    |*  4 |     INDEX RANGE SCAN                 | I_SMY_DT         |   143K|       |   442   (1)| 00:00:06 |       |       |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE(:1,'DD-MM-YYYY')<=TO_DATE(:1,'DD-MM-YYYY'))
       4 - access("SMY_DT">=TO_DATE(:1,'DD-MM-YYYY') AND "SMY_DT"<=TO_DATE(:1,'DD-MM-YYYY'))
    17 rows selected.
    SQL>I am not able to understand the FILTER & SORT operations. As there is an index on SMY_DT column, so index range scan is fine. But why a FILTER (Step no 2) and SORT (Step no 1) operation after that ?
    Oracle version is 10.2.0.3 on AIX 5.3 64 bit.
    Any other information required please let me know.
    Regards,
    Amardeep Sidhu

    Sort aggregate tells you that there was performed an aggregate operation which returns one row, in opposite to sort order by or hash group by which indicates you have grouping, and there more than one row can be returned.
    SQL> SELECT SUM(comm) FROM emp;
    SUM(COMM)
          2200
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT AVG(comm) FROM emp;
    AVG(COMM)
           550
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT MIN(comm) FROM emp;
    MIN(COMM)
             0
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT deptno, SUM(comm) FROM emp GROUP BY deptno;
        DEPTNO  SUM(COMM)
            30       2200
            20
            10
    Plan wykonywania
    Plan hash value: 4067220884
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     3 |    15 |     4  (25)| 00:00:01 |
    |   1 |  HASH GROUP BY     |      |     3 |    15 |     4  (25)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    70 |     3   (0)| 00:00:01 |
    SQL>Edited by: Łukasz Mastalerz on Jan 14, 2009 11:41 AM

  • Table Sort/Filter does not include in-memory data

    JDeveloper 11.1.1.2.0
    I've been developing a custom shuttle component and an issue came up regarding sort/filter property of the leading af table prior to inserts.
    Just a quick setup:
    Left table's row/s gets shuttle (inserted) to right table by creating a viewobjectrow and inserting that to it's designated viewobject, executequery after that is called.
    The issue i've encountered is that once i've added that row (in-memory), when i try to sort or filter that table that has the new rows, it seems that it only sorts the original rows that was queried from the database. The same goes for the filter, it only filters those that were originally queried.
    So far, it only joins the sorting/filtering whenever i force commit it before filter/sort.
    I've also tried creating my own criteria and adding that in my query binding, didn't help though.
    I've also tried using vo.setQueryMode and use scan view... i'm not sure if i'm using it right but it would give me either wrong filters or crash my app.

    Hi John,
    I read a similar article using the querymodes and i've been playing with it to see how it affects my rows.
    My problem arises whenever i up/down sort of the af table. I tried overriding executeQueryForCollection in the viewobjectimpl and setting
    this.setQueryMode(QUERY_MODE_SCAN_DATABASE_TABLES |
    QUERY_MODE_SCAN_ENTITY_ROWS);
    but by the time i hit the sort on the table, it ends up not sorting anything at all.
    I did use the sorting upon insert and that sorts those in memory, but by the time i use the sort on the table component the results would show the inmemory rows first, and database rows sorting in the bottom.

  • Auto-filter in PDF-file?

    In my PDF file, I have tables with data. Is there an auto-filter function to use so that you can select data?

    A PDF is not a spreadsheet like an Excel file. Unless you create the table
    in LC Designer as a dynamic form element, it's not possible to filter,
    sort, or manipulate it in any way.

  • Filter Key problem in table without ALV

    HI,
    I have two tabs in my view. In Each tab I have a table which are binded to different nodes.
    Now i am applying FILTER for these two tables using Toolbar UI Element. I have created a ToolBar Toggle button inside this.
    In the action (DO_FILTER)of this button i am using the following code.
    IF table_1.
    in any case clear the table's filter strings
      l_node = wd_context->get_child_node( if_v_1=>wdctx_n_node1 ).
      l_node->invalidate( ).
    if the filter is off: show the whole shebang
      wd_this->table_method_hndl->apply_filter( ).
    ELSEIF table_2.
    in any case clear the table's filter strings
      l_node = wd_context->get_child_node( if_v_2=>wdctx_n_node2 ).
      l_node->invalidate( ).
    if the filter is off: show the whole shebang
      wd_this->table_method_hndl->apply_filter( ).
    ENDIF.
    In the modify view i am calling this action 'DO_FILTER' for applying my filter option. Now when i run my program the filter keys are working fine.
    I am having the problem for the belowing scenario.
    1. In tab1 i have 5 rows in table. I apply filter and getting 2 rows in table.
    2. Now i use select tab to go to tab2 and there i have 6 rows.
    3. Now again i go back to tab1. My problem comes here.
    Now it is only displaying 2 rows in table1. (The first two rows in the total no. of 5 rows). (Two rows because in filter only 2 rows where displayed.)
    Note: In the select tab when i debug i am able to notice that the internal table which is binding to table1 is having 5 rows and not 2 rows.
    My modify code has the following code.
        IF lv_a_sel_tab = 'TAB1'.
    Get reference of the table view element
          l_table ?= view->get_element( 'TABLE1' ).
    Get reference to the Filter & Sorting API
          wd_this->table_method_hndl ?= l_table->_method_handler.
    Set or cancel the table's filter action
          IF lv_a_checked = abap_true.
            l_table->set_on_filter( 'DO_FILTER' ).
          ELSE.
            l_table->set_on_filter( ' ' ).
        ENDIF.
       ELSEIF lv_a_sel_tab = 'TAB2'.
    Get reference of the table view element
          l_table ?= view->get_element( 'TABLE2').
    Get reference to the Filter & Sorting API
          wd_this->table_method_hndl ?= l_table->_method_handler.
    Set or cancel the table's filter action
          IF lv_a_checked = abap_true.
            l_table->set_on_filter( 'DO_FILTER' ).
          ELSE.
            l_table->set_on_filter( ' ' ).
          ENDIF.
        ENDIF.
    Please tell me how to make these deactivation rows active, so that all rows will be displayed when selecting the tab.
    Regards,
    Delphi.

    ommit

  • Content Items Sorting based on picklist property fails

    Content Server 6.0
    We have developed a custom presentation template to display a list of all the work items. While displaying the work items, I would like to sort them based on a property and then filter them based on another property. I have a template code similar to below:
    <pcs:foreach var="item" expr="filter(sort(sort(index.folder, 'item.pcs_id', true), 'item.application', true), '(filtered.workflow_status != "Completed")')">
    The content item has two properties: application - a picklist, and workflow_status - a picklist.
    The above code template does not return any results. However if I change the expression so that I am sorting by a text property, then it displays the results correctly.
    For e.g,
    <pcs:foreach var="item" expr="filter(sort(sort(index.folder, 'item.pcs_id', true), 'item.name', true), '(filtered.workflow_status != "Completed")')">
    (name is a text property of the content item).
    Is there another way of accesing a picklist property in sort function to retrieve the desired results? Can somebody point out what am I doing wrong?
    Thanks for your help in advance.
    Thanks
    Jignesh.

    Not currently. We're considering this for a future release.
    Regards,
    Jerry
    null

  • How to eliminate duplicate copies after doing a sort

    I did a filter/sort across 100's of folders then exported the results to a separate folder.
    I later noticed way too many duplicates in the new folder.
    Does Lightroom have a feature to automatically remove or eliminate duplicates when doing such a process??
    If not, any other ideas??

    Spaceman, you're basically correct that LR doesn't write your changes to the original file itself.  LR is a non-destructive editor, which is really a good thing. It means that if you screw up an edit, you can always go back and start over. Or if you decided to convert the image to B&W, and now want to go back and re-edit it in color, you can do that. There are, however, a couple of ways to do what you want.
    The easiest way is to use the Export dialog. This will create a copy of your image(s) with all the edits applied. Those copies can then be viewed in any image viewer program. You can export as jpeg or tiff files. Based on your question, I'm guessing you typically shoot and process jpeg files (since most image viewers won't display raw files), so LR will create new jpegs, with all your edits. You can give these files new names on export, or write them to a different folder. You can even automatically import the images into the LR catalog if you want. (I don't, as if I ever want to re-edit the images I'll start with the original file.)
    LR can also write the changes to what's called a "sidecar" file, that you can copy along with the original image file.  But I don't think very many apps know what to do with that file, either.

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • Filter inside Tble UI element

    Dear Experts,
    Im having two columns in my table and im using filter in my table, In onfilter event i written the code 
    wd_this->table_control->apply_filter( ).
    And  in the table column i enabled the isFiltered option and i also binded the filtervalue to a variable of type string.
    when i execute my program and give input in filter field the following error occurs,
    The following error text was processed in the system EBP : Access via 'NULL' object reference not possible.
    The error occurred on the application server kaar-server15_EBP_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: ONACTIONONFILTER of program /1BCWDY/6CS8GWLR56619XU3FP87==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/6CS8GWLR56619XU3FP87==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    please help me to sort out this problem
    Thanks & Regards
    Arun.P

    Hi,
    You must not have defined wd_this->table_control
    You need to do this in WDDOMODIFY and get table control in global variable as follows:
      CHECK first_time EQ abap_true.
    **Get table handler for table from view
      DATA: l_table TYPE REF TO cl_wd_table.
    * Get reference of the table view element
      l_table ?= view->get_element( 'TBL_MAIN' ).
    * Get reference to the Filter & Sorting API
      wd_this->table_control ?= l_table->_method_handler.
    Hope this helps!
    Thanks,
    Tejaswini
    Edited by: Tejaswini Chafekar on Aug 27, 2009 2:53 PM

Maybe you are looking for

  • Is there a virus with the iTunes 11 update?

    A friend mentioned to me that there is a virus with the new iTunes update 11.1. Has anyone heard of this?

  • Backward compatability with Flash player

    Hey Guys, I've been creating a site using as3 in flash CS4, however my client has a large customer base that inludes people in large companies that dont have the latest flash drivers installed on their computers and dont have the admistrative privali

  • Switching To Mac From Windows?

    First post here, so I'd firstly like to say Hello to everyone and wish them a happy new year Basically, I'm curious to know if any of you have switched to a MAC from a Windows based machine, and if you found the transition easy and "complete" in the

  • Employee percentage not getting defaulted in additional actions

    Hi all, My employement percentage & position is not getting defaulted in 0001 - while running additional actions. I need to manually key in the percentage and in case of any promotion i need to manually key in the changed position number.  Can somebo

  • Web Agent - MEDIAPUT ORA-3113

    Hi, I'm running an 8.1.6 db and using WebAgent on Redhat 6.1. I have a running application to upload files into blob columns that usually works well except that from time to time the following error message appears: "Oracle interMedia Web Agent An er