Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web Dynpro filter error - empty dropdown lists in filter fields

Former Member
0 Likes
417

When I put filter on a table field I get an empty dropdown list in the filter row of the table. The dropdown list should normally be populated with fixed value for this field (if the field has a fixed value list of course). How do I fix this?

Many thanks

2 REPLIES 2
Read only

Former Member
0 Likes
350

Hi,

create a node drop_down and pass a SUPPLY FUNCTION double click the supply function

the system will give default code and modify according to your requirement

data:

lt_attributes type standard table of if_first_view=>element_drop_down,

wa_attributes like line of lt_attributes.

  • lt_scarr type cl_wd_flight_model=>tt_scarr.

data : itab type table of sflight,

wa like line of itab.

select * from sflight into table itab.

sort itab by carrid.

*delete adjacent duplicates from itab comparing carrid.

loop at itab into wa.

move wa-carrid to wa_attributes-carrid.

append wa_attributes to lt_attributes.

endloop.

node->bind_elements( lt_attributes ).

for further info please go through the example WDR_TEST_EVENTS

Regards

Ramchander Rao.K

Edited by: ramchander krishnamraju on Dec 4, 2008 7:16 AM

Read only

0 Likes
350

This was not what I was asking, read the question again.