on 09-04-2013 5:03 PM
Hi,
I'm developing a table in a Web Dynpro ABAP.
One column has a DropDownByKey.
I want to have different value sets for the drop down per row for this column.
| Column 1 | Column 2
Row1 | (drop down with "Cost Center" and "Order") | .....
Row2 | (drop down with "Cost Center", "Order" and "Project") | .....
Which values are available in the drop down depends on the value in column 2.
I know that this is not possible by using the SET_ATTRIBUTE_VALUE_SET method.
How can I achieve this?
Regards,
Sven
Hi Sven,
You can use cell variants to accomplish this. Take a look at the document below which does something similar, presenting either a cost center, order or WBS input field depending on the object type selected in another column of the same row.
You could apply the same approach to present DROPDOWN_1 with values for cost center and order or present DROPDOWN_2 with values for cost center, order and project depending on the value entered in column 2.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do I have to use DropDownByIndex as cell editor instead of DropDownByKey?
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.