on 03-10-2008 9:05 AM
Hi,
I am new to Webdynpro.ABAP...I want know how the cardinality affect the drop down UI element.
To be more specific..I am populating the drop down dynamically using code and I had set the cardinality for that drop down node 0 to n but its giving runtime error .
Hi,
If you have a dropdown, and you want to populate this one from within a 0..N cardinality node,
make sure to use a dropdown by index.
some more explanations about these topics can be found here:
[Context nodes|http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/787e40417c6d1de10000000a1550b0/frameset.htm]
[Dropdown by index|http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b0884118aa1709e10000000a155106/frameset.htm]
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Drop down by key, the cardinality should be 0..1. The reason is that drop down by key can comprise of only one value.
For tables & drop down by index, the cardinality should be 0..n, since a table can comprise of multiple rows.
For a more technical description, please go through the documentation. For now, change the cardinality of the context node to 0..1.
Hope this helps.
Regards
Wenonah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
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.