Dropdown List Web dynpro Abap
I am new to adobe forms. I am having a problem with populating drop down list box on an adobe interactive form. I have gone through this forum and I have tried a number of different things but nothing seems to work.
When I run my web dynpro application the drop down looks like an input box. There is no down arrow icon on the side.
I check note 981638. It states it can't be implemented.
I am on CRM 2007 NW7 platform.
I created an interface with an importing value called it_dropdown. this is a table.
I created a form that uses this interface.
i placed a drop down list on the form layout. In the dynamic options i click list items. I get a popup.
In the bindings I bind to the table... $record.IT_DROPDOWN.DATA[*]
The text and value are bound to corresponding fields on the internal table.
I created a webdynpro
I created a view.
I poped an interactive form ui elemnt on the view.
I generated the context.
I checked the cardinality of the node for the internal table and it is 0..n
In my doinit method I have the following code.
data: lr_form_node type REF TO if_wd_context_node.
data: lr_dd type REF TO if_wd_context_node.
data: lt_dropdown type WDR_CONTEXT_ATTR_VALUE_LIST,
wa like line of lt_dropdown.
do 20 times.
wa-value = sy-index.
concatenate 'Test' wa-value into wa-text SEPARATED BY space.
insert wa into table lt_dropdown.
lr_form_node = wd_context->get_child_node( wd_this->wdctx_zfp_example_01 ).
lr_dd = lr_form_node->get_child_node( wd_this->wdctx_it_dropdown ).
lr_imp->bind_table( lt_dropdown ).
The adobe form displays but the drop down is not populated.
I have tried a normal drop down and webdynpro enumerated drop downs.
Can someone please point out what I am doing wrong.