Skip to Content
avatar image
Former Member

Filtering on table

Hello,

I've been using the following Weblog in order to implement filtering on a table:

/people/subramanian.venkateswaran2/blog/2005/05/10/filtering-table-values-using-webdynpro

But I get always a RuntimeException long before the filtering methode is invoked!

Can anyone help me?

Thanks.

Cemal Salman

The exception is:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:835)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:722)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.initEvents(AbstractClient.java:131)

....

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:827)

... 23 more

Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot set pending user input 'LE_SAPA*' for invalid attribute path

at com.sap.tc.webdynpro.clientserver.data.DataContainer.setPendingUserInput(DataContainer.java:1230)

at com.sap.tc.webdynpro.clientserver.data.DataContainer.updateAttribute(DataContainer.java:458)

at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptbase.AbstractAdapter.updateAttribute(AbstractAdapter.java:503)

at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.TableAdapter$FilterField.onINPUTFIELDCHANGE(TableAdapter.java:3175)

at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.TableAdapter.onINPUTFIELDCHANGE(TableAdapter.java:8075)

... 28 more

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Aug 09, 2005 at 12:58 PM

    Hi,

    Just a very wild guess ! Are u r NDS and WAS server of the same versions ?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I implemented a library management tool which enables you to view the lsit of existing exemplars by a table and create or modify already existing exemplars.

      Now, the list of (book)exemplars are listed / shown by a table. There is a column 'exemplar_id' which is a internal unique id for an exemplar. They begins with e.g. 'LE_SAPA' which means that this exemplar can be borrowed and belongs to the category Common SAP books.

      The exception is thrown by all columns not only by the colum exemplar_id.

      Exemplar_Id is an attribute mappped to a table column.

      Cemal

  • avatar image
    Former Member
    Aug 09, 2005 at 01:41 PM

    Hi,

    Where you are writing the code provided in the weblog ?

    Regards, Anilkumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 09, 2005 at 02:13 PM

    Check if TableColumn.filterValue is bound to a valid context attribute.

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      All columns I want to filter are bounded to valid context attributes.

      I didn't bind all columns of the table to filter it. I only bound a subset of colums over which I to filter.

      Must I bind all columns?

      Cemal

  • avatar image
    Former Member
    Aug 10, 2005 at 05:28 AM

    Hi Cemal,

    I think you are not getting the data from the backend. Check if the table is populated without using filter. And you need to bind only the coulmn which you want to filter.

    Regards,

    Jaydeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2009 at 12:28 PM

    Hi,

    Somebody has a project example of table filter that works?

    I'm very beginner in Web Dynpro.

    I need your help!

    Thanks!

    Kleber

    Add comment
    10|10000 characters needed characters exceeded