cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with populating Drop Down List (WD ABAP)

Former Member
0 Kudos

Hi,

I am trying to populate two Drop Down fields CARRID and CONNID (Type Table SPFLI) on an Adobe Interactive Form in a Web Dynpro ABAP Application.

In the WD Context I have a node "Flights" with those attributes.

In the WDDOINIT I populate the Context elements (just for test purposes with all entries of SPFLI).

[code]

DATA:

node_flights TYPE REF TO if_wd_context_node,

elem_flights TYPE REF TO if_wd_context_element,

stru_flights TYPE wd_this->element_flights,

it_flights TYPE TABLE OF spfli.

SELECT carrid connid FROM spfli INTO TABLE it_flights.

  • navigate from <CONTEXT> to <FLIGHTS> via lead selection

node_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).

node_flights->bind_table(

new_items = it_flights

set_initial_elements = ABAP_FALSE

).

[/code]

According to this

I bound the element values property of the Enumerated Drop Down List to [code]$record.sap-vhlist.CARRID.item[*][/code], whereas <i>Object Text</i> is "Text" and <i>Object Value</i> is "Key".

Unfortunately the DDLs on the Adobe Form are not populated with the values read from the table. I debugged the application and the values are written to the Context node.

Do you have any further hints?

Best regards,

Robin

Message was edited by:

Robin Wennemuth

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Robin:

Did you get this resolved? Would you please tell me how you got it done?

Thank you,

Fred.