on 05-30-2008 11:13 AM
Hi everybody
I need to display a drop down by key populated by R/3 data.
for this purpose I have a model correctly working in my component.
The view context is bound to the component controller context and so on... everything is ok on this side.
The model value node is structured like this:
context root->z_getflights->z_getflights_input->output->flights (this is still a node)
below this node there are two attributes: obj_id, description
I believed that I should simply bind the selected key property of the drop down to node flights, but I am evidently wrong, as it is grayed out in the binding editor.
Every example binds this property to a non-model value node, what is the right procedure for my scenario?
I am switching to WDP java from Visual Composer so maybe I am misusing some components, suggestions as to how achieve a similar behaviour in an easier way (i.e. with differents UI elements) are welcome as well.
thanks
points will be awarded
Vincenzo
Hi,
thanks indeed for the quick answers. I understand your suggestion but I in a later step I need to pass the value selected by the user back to a RFC, which will only accept the objid, and not the description.
Can I do this also with drop down by index? Would this require much conding?
I would like to use context binding and auto code generation as much as possible
Thanks
Vincenzo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use "Drop down by index" instead of "Drop down by key".
Bind the text property of this ui element with
context root->z_getflights->z_getflights_input->output->flights->description.
Best wishes
Idhaya R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use Drop down by index as you have a node and values are available under that.
Regards
Ayyapparaj
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 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.