on 11-22-2007 9:34 AM
Hi All,
I'm new to webdynpro,can someone tell me how to have a drop down list for a field.
will be rewarded..
kavitha
hi kavitha...
you can use this link:
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4884180951809e10000000a155106/content.htm
you calso find examples in the component wdr_test_events and in the view
dropdownbyidx
dropdownbykey
--regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavitha,
Two types of drop down list are available
1. drop down by key
2. drop down by index
drop down by index
The values displayed by the value selector can be stored in the context, or they can
by related to the type to which the UI element is referring.
The UI element has to be bound to an attribute that is a child
of a context node of cardinality 0..n or 1..n. Before the view (containing the
value selector) can be rendered, the collection has to be populated. This means
all values to be displayed in the value selector are to be stored in the context as
attribute values of the collection elements. This kind of data binding is called
index binding.
drop down by key
its done by relating the value set to the type to which the UI element is referring. In this case,the UI element has to be bound to a context attribute, which is typed as follows:
The attribute is an ABAP Dictionary type, which is based on a domain
with fixed values. The short texts related to the fixed values are displayed
by the value selector.
The attribute is a Web Dynpro runtime type with fixed values. These fixed
values are displayed by the value selector.
The attribute's type is arbitrary. The value set is assigned dynamically by
changing the attribute's metadata at runtime.
This kind of data binding is called key binding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.