on 12-11-2009 9:07 AM
Hi,
i am using drop down by key in my aplication and writeen the following code in wdinit method:
DATA : node_info TYPE REF TO if_wd_context_node_info.
node_info = wd_context->get_node_info( ).
node_info = node_info->get_child_node( 'SCARR_NODE' ).
DATA: element TYPE REF TO if_wd_context_element.
data : context_node type ref to if_wd_context_node.
context_node = wd_context->get_child_node( 'SCARR_NODE' ).
TYPES: BEGIN OF str_roles,
carrname TYPE scarr-carrname,
END OF str_roles.
DATA : itab TYPE TABLE OF str_roles,
wa_itab TYPE str_roles .
DATA : carrname TYPE scarr-carrname.
DATA : value1 TYPE wdy_key_value,
set TYPE wdy_key_value_table.
SELECT carrname FROM scarr INTO TABLE itab.
SORT itab.
DESCENDING BY carrname.
LOOP AT itab INTO wa_itab.
value1-key = sy-tabix.
value1-value = wa_itab-carrname.
APPEND value1 TO set.
INSERT value1 INTO TABLE set.
modify itab from wa_itab..
ENDLOOP.
node_info->set_attribute_value_set( name = 'CARRNAME' value_set = set
).
while running the application i am getting the following error :
The lead selection has not been set. FLIGHTDROPDOWN
Your help is appreciated .
Regards,
Pavani
What is the cardinality and selection property set for node : 'SCARR_NODE'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.