Skip to Content
Apr 22, 2010 at 09:09 AM

Cant' edit the fields of "specify Item values" for drop down list binding



  • Version 1:

I have a problem with the binding of a drop down list to a table. I found a lot threads arround this, but at one point it doesent work for me.

on a thread i found this instructions from otto:


1) in LCD menu - Tools - Options - Data binding - Show dynamic properties - should be TRUE

2) goto drop down Object - Binding - Specify Item values

3) click on the "Specify..." text

4) a dialog box appear with 3 lines


Item text: YOURFIELD

Item value: YOURFIELD

This should work for you. Good luck, Otto

but on step 4. i cant edit one of these fields. They are grey.

If I bind my dropdown listbox to one field of a table, it looks like this:

Items: myBoundedField

Item text: text

Item value: key

I cant bind the dropdown to a table line, only to a specific field.

The property in step 1 is set to true. My Adobe Lifecycle version is 8.0.

Is there another property I forgot? What I'm doing wrong?

Or is Version 2 the better one?

  • Version 2

In another thread I found another solution, how I fill the drop down list.

There I only have to bind the drop down list to a field. Thr rest happens on the web dynpro.

I implemented the wddonit method like this:

    DATA lo_nd_z_iaf_02_1 TYPE REF TO if_wd_context_node.
    DATA node_info TYPE REF TO if_wd_context_node_info.
    DATA: lt_dd_values type table of  WDR_CONTEXT_ATTR_VALUE.
    DATA: ls_dd_value type WDR_CONTEXT_ATTR_VALUE.
    DATA: lv_str type string.

*   navigate from <CONTEXT> to <Z_IAF_02_1> via lead selection
    lo_nd_z_iaf_02_1 = wd_context->get_child_node( name = wd_this->wdctx_z_iaf_02 ).

*   get node info
    CALL METHOD lo_nd_z_iaf_02_1->GET_NODE_INFO
        NODE_INFO = node_info
*   create value sets
    DO 25 TIMES.
       lv_str = sy-index.
       CONDENSE lv_str NO-GAPS.
       ls_dd_value-text = lv_str.
       ls_dd_value-value = lv_str.
       APPEND ls_dd_value to lt_dd_values.

*    Set Value_sets to node_info
        NAME      = 'MY_DD_FIELD'
        VALUE_SET = lt_dd_values

This works finde, but I'm also interested on the first way provided by otto.

Regards Florian