on 07-25-2011 12:41 PM
Hi,
I am facing the following Problem.
When I am using the standard iterator method:
lr_result ?= me->typed_context->result->get_collection_wrapper( ).
lr_iterator = lr_result->get_iterator( ).
...
CALL METHOD lr_iterator->filter_by_property
EXPORTING
iv_attr_name = <lv_attr>
iv_value = <lv_value>
...
lv_size = lr_iterator->size( ).
I get Zero results instead of the correct results after applying the webui filter to the result context node iterator.
Why is the method working vor some columns correct fr others not?
There is also no namespace error which could take here effect.
Anybody a clue?
***
Why I am using this coding?
In WebUI I get a result list. the enduser would like to filter in the WebUI for some columns and get the number of all entries found back which met this search cirteria.
The filters are stored out of the do_handle_event method
but the context node is unfiltered
for that reason I would like to apply the WebUI frontend filters over the iterator functionality.
Hi,
I found out that if you are using runtime data in the table and fill columns right away you can use the WebUI Filter to filter the data here. but the iterator can takes the original result list entities without these runtime evaluated information.
for that reason filter_by_property method will not work!
does anybody know how i can get the actual WebUI shown result list? with all filters and so on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.