‎2008 Dec 03 4:50 PM
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
‎2008 Dec 04 6:15 AM
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
‎2008 Dec 04 9:50 AM