Skip to Content
0
Former Member
Apr 08, 2011 at 06:53 AM

Problem in drop down by key?

24 Views

Hi All,

i am using dropdown by key in table and i am filling like this..

DATA : node_info TYPE REF TO if_wd_context_node_info,

value TYPE wdy_key_value,

set TYPE wdy_key_value_table,

k2 type string value '1',

v2 type string value 'Box',

k3 type string value '2',

v3 type string value 'Loose'.

value-key = k2.

value-value = v2.

APPEND value to set.

value-key = k3.

value-value = v3.

APPEND value to set.

node_info = wd_context->get_node_info( ).

node_info = node_info->get_child_node( 'PACK_MAT' ).

node_info->set_attribute_value_set( name = 'PACK_MATERIAL'

value_set = set ).

and other fields table i am collecting from another table, i mean when i select that table record and click on button i am getting data into another table, i this table along this data i want to select drop down values. Values are coming into dropdown correctly.

When i select a value and select that record, that value(drop down value ) is vanished.?? looking strange.. any helps..

Thanks,

Venkat.