on 07-28-2010 9:30 AM
Hi All,
I have a "drop down by Key" component in the screen and it has got some values. I have created a node and an attribute under that node to bind with that component.
At runtime. even if i select a value which is there in the list, it givs me the following error:
"The Entered value is not On the list of valid values".
Can you please tell me where i am doing mistake?
Thanks & Regards,
Senthil.
Hi All,
Thanks for the reply.
The attribute type char only and this is how i am adding the contents:
lo_mon_nd = wd_context->get_child_node( 'MONTH_YEAR' ).
lo_mon_nd_info = lo_mon_nd->get_node_info( ).
LOOP AT wd_this->gt_month_year INTO ls_month_year.
CONDENSE ls_month_year-month_year.
ls_value_set-text = ls_month_year-month_year.
ls_value_set-value = ls_month_year-month_year.
APPEND ls_value_set TO lt_value_set.
ENDLOOP.
lo_mon_nd_info->set_attribute_value_set(
EXPORTING
name = 'MONTH_YEAR'
value_set = lt_value_set ).
I have tried by hard coding the values but facing the same issue.
Thanks & Regards,
Senthil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change the type of the attribute to character or string.
The data type which you have chosen has its own value range in the domain.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Can you please let us know how you are populating the dropdown. This is a strange error.
have nerevr came across this kind of error.
Thanks
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
see example from DEMO_UIEL_STD_SELECTION component
DEMO_UIEL_DROPDOWN_BY_KEY application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil,
How are you retrieving values to the drop down? From a Domain of the Attribute type or hard coding in a different method??
Regards,
-Wahid Hussain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.