I've got a problem of showing values in a Drop Down Box.
I've got 1 Dropdown box, 1 button and a text field. In the text field i'm wirting a carrid for example AC.
If i press the button in the Drop down box should show the name to the corresponding carrid for example Air Canada.
this is my code till yet. But i don't see what's missing.
Maybe anybody can help?
Data: context_node type ref to if_wd_context_node.
Data: it_carriers TYPE STANDARD TABLE OF scarr,
wa_carriers LIKE LINE OF it_carriers,
wa_carrid(3) TYPE c.
context_node = wd_context->get_child_node( 'DROPDOWN_CARRIERS' ).
context_node->get_attribute( exporting Name = 'CARRID' importing value = wa_carrid ).
select * from scarr
INTO wa_carriers
WHERE carrid = wa_carrid.
APPEND wa_carriers TO it_carriers.
ENDSELECT.
context_node = wd_context->get_child_node( name = 'CARRID').
context_node->BIND_TABLE( new_items = it_carriers ).