Skip to Content
author's profile photo Former Member
Former Member

Problems with populating Drop Down List (WD ABAP)

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

adobe-formreader-error 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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 06:30 PM

    Robin:

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

    Thank you,

    Fred.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.