‎2007 Apr 11 1:44 PM
I have a parametrized code for a project inweb dynpro which uses drop down. The drop down works fine for one of the entity but is not working for the other. Please help.
‎2007 Apr 12 5:58 AM
Hi Kavitha,
Can you please provde the code for adding the information to the drop down. Depending on that i can give the solution for you. Otherwise pleas check the code in my scenarios so that you will get an idea
Be sure that the value you are passing for Key much be a character , otherwise it won;t work . May be in your case you are passing some values as characters and some as integers. So the values you passed as integers can't work correctly. If your problem won't solve then please give me your code so that i can suggest you the solution.
fill Dropdown Help for posting Key
bschl_key_item-key = '40'.
bschl_key_item-value = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/DEBIT_GL_ACCOUNT' ).
insert bschl_key_item into table lt_bschl_set.
bschl_key_item-key = '50'.
bschl_key_item-value = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/CREDIT_GL_ACCOUNT' ).
insert bschl_key_item into table lt_bschl_set.
bschl_key_item-key = '21'.
bschl_key_item-value = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/DEBITVENDOR' ).
insert bschl_key_item into table lt_bschl_set.
bschl_key_item-key = '31'.
bschl_key_item-value = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/CREDITVENDOR' ).
insert bschl_key_item into table lt_bschl_set.
lv_node_info = lv_node_it->get_node_info( ).
lv_node_info->set_attribute_value_set( name = 'BSCHL' value_set = lt_bschl_set ).
Warm Regards,
Vijay
‎2007 Apr 12 2:20 PM
can u tell me, is there any dump msg - when u try to access some of the drop down value??
Regards
Sathish